Searched refs:p_atomic_dec_zero (Results 1 – 10 of 10) sorted by relevance
44 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0) macro55 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) macro84 #define p_atomic_dec_zero(_v) (p_atomic_dec_return(_v) == 0) macro121 #define p_atomic_dec_zero(_v) \ macro168 #define p_atomic_dec_zero(v) (\ macro
97 b = p_atomic_dec_zero(&v); \100 b = p_atomic_dec_zero(&v); \103 b = p_atomic_dec_zero(&v); \
72 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader()209 if (p_atomic_dec_zero(&oldData->RefCount)) { in _mesa_reference_shader_program_data()245 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader_program_()
143 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
328 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
227 if (p_atomic_dec_zero(&vfence->refcount)) { in vmw_fence_reference()
278 if (p_atomic_dec_zero(&fenced_buf->base.reference.count)) { in fenced_buffer_remove_locked()
89 if (p_atomic_dec_zero(&ptr->count)) { in pipe_reference_described()
315 if (p_atomic_dec_zero(&fenced_buf->base.reference.count)) { in fenced_buffer_remove_locked()
2533 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()