Searched refs:p_atomic_dec_zero (Results 1 – 18 of 18) sorted by relevance
49 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function96 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function146 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function186 #define p_atomic_dec_zero(_v) ((boolean) --(*(_v))) macro208 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function280 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function323 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
89 if (p_atomic_dec_zero(&ptr->count)) { in pipe_reference_described()
97 b = p_atomic_dec_zero(&v); \100 b = p_atomic_dec_zero(&v); \103 b = p_atomic_dec_zero(&v); \
45 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0) macro58 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) macro87 #define p_atomic_dec_zero(_v) (p_atomic_dec_return(_v) == 0) macro124 #define p_atomic_dec_zero(_v) \ macro171 #define p_atomic_dec_zero(v) (\ macro
34 if (old && p_atomic_dec_zero(&old->RefCount)) in _mesa_spirv_module_reference()49 if (old && p_atomic_dec_zero(&old->RefCount)) { in _mesa_shader_spirv_data_reference()
73 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader()211 if (p_atomic_dec_zero(&oldData->RefCount)) { in _mesa_reference_shader_program_data()253 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader_program_()
162 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
343 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
260 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()
335 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_()
315 if (p_atomic_dec_zero(&fenced_buf->base.reference.count)) { in fenced_buffer_remove_locked()
575 if (!p_atomic_dec_zero(&variant->ref_count)) in radv_shader_variant_destroy()
668 if (p_atomic_dec_zero(&bo->refcount)) { in brw_bo_unreference()
1880 if (p_atomic_dec_zero(&hud->refcount)) { in hud_destroy()
2114 if (p_atomic_dec_zero(&shader->ref_cnt)) in anv_shader_bin_unref()
2844 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()