Home
last modified time | relevance | path

Searched refs:p_atomic_dec_zero (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/util/
Du_atomic.h44 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0) macro
55 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) macro
84 #define p_atomic_dec_zero(_v) (p_atomic_dec_return(_v) == 0) macro
121 #define p_atomic_dec_zero(_v) \ macro
168 #define p_atomic_dec_zero(v) (\ macro
Du_atomic_test.c97 b = p_atomic_dec_zero(&v); \
100 b = p_atomic_dec_zero(&v); \
103 b = p_atomic_dec_zero(&v); \
/external/mesa3d/src/mesa/main/
Dshaderobj.c72 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_()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h143 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
Damdgpu_bo.c328 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_fence.c227 if (p_atomic_dec_zero(&vfence->refcount)) { in vmw_fence_reference()
Dpb_buffer_simple_fenced.c278 if (p_atomic_dec_zero(&fenced_buf->base.reference.count)) { in fenced_buffer_remove_locked()
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h89 if (p_atomic_dec_zero(&ptr->count)) { in pipe_reference_described()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer_fenced.c315 if (p_atomic_dec_zero(&fenced_buf->base.reference.count)) { in fenced_buffer_remove_locked()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c2533 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()