Lines Matching refs:exceptions
110 uint32_t exceptions; in tee_mm_get_pool_stats() local
117 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_get_pool_stats()
125 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_get_pool_stats()
147 uint32_t exceptions; in tee_mm_alloc() local
157 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_alloc()
219 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc()
222 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc()
254 uint32_t exceptions; in tee_mm_alloc2() local
268 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_alloc2()
295 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc2()
298 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_alloc2()
306 uint32_t exceptions; in tee_mm_free() local
311 exceptions = cpu_spin_lock_xsave(&p->pool->lock); in tee_mm_free()
322 cpu_spin_unlock_xrestore(&p->pool->lock, exceptions); in tee_mm_free()
344 uint32_t exceptions; in tee_mm_is_empty() local
349 exceptions = cpu_spin_lock_xsave(&pool->lock); in tee_mm_is_empty()
351 cpu_spin_unlock_xrestore(&pool->lock, exceptions); in tee_mm_is_empty()
369 uint32_t exceptions; in tee_mm_find() local
374 exceptions = cpu_spin_lock_xsave(&((tee_mm_pool_t *)pool)->lock); in tee_mm_find()
382 exceptions); in tee_mm_find()
387 cpu_spin_unlock_xrestore(&((tee_mm_pool_t *)pool)->lock, exceptions); in tee_mm_find()