Lines Matching refs:exceptions
91 uint32_t exceptions; in tee_mm_get_pool_stats() local
98 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_get_pool_stats()
106 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_get_pool_stats()
129 uint32_t exceptions = 0; in tee_mm_alloc_flags() local
142 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_alloc_flags()
204 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc_flags()
207 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc_flags()
239 uint32_t exceptions; in tee_mm_alloc2() local
254 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_alloc2()
281 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc2()
284 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc2()
292 uint32_t exceptions; in tee_mm_free() local
297 exceptions = cpu_spin_lock_xsave(&p->pool->lock); in tee_mm_free()
308 cpu_spin_unlock_xrestore(&p->pool->lock, exceptions); in tee_mm_free()
330 uint32_t exceptions; in tee_mm_is_empty() local
335 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_is_empty()
337 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_is_empty()
346 uint32_t exceptions; in tee_mm_find() local
351 exceptions = cpu_spin_lock_xsave(&((tee_mm_pool_t *)pool)->lock); in tee_mm_find()
359 exceptions); in tee_mm_find()
364 cpu_spin_unlock_xrestore(&((tee_mm_pool_t *)pool)->lock, exceptions); in tee_mm_find()