Home
last modified time | relevance | path

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

/external/virglrenderer/src/gallium/auxiliary/util/
Du_atomic.h49 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
96 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
146 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
186 #define p_atomic_dec_zero(_v) ((boolean) --(*(_v))) macro
208 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
280 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
323 p_atomic_dec_zero(int32_t *v) in p_atomic_dec_zero() function
Du_inlines.h89 if (p_atomic_dec_zero(&ptr->count)) { in pipe_reference_described()
/external/mesa3d/src/util/
Du_atomic_test.c97 b = p_atomic_dec_zero(&v); \
100 b = p_atomic_dec_zero(&v); \
103 b = p_atomic_dec_zero(&v); \
Du_atomic.h45 #define p_atomic_dec_zero(v) (__atomic_sub_fetch((v), 1, __ATOMIC_ACQ_REL) == 0) macro
58 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) macro
87 #define p_atomic_dec_zero(_v) (p_atomic_dec_return(_v) == 0) macro
124 #define p_atomic_dec_zero(_v) \ macro
171 #define p_atomic_dec_zero(v) (\ macro
/external/mesa3d/src/mesa/main/
Dglspirv.c34 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()
Dshaderobj.c73 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_()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h162 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
Damdgpu_bo.c343 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_fence.c260 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/mesa/program/
Dprogram.c335 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_()
/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/amd/vulkan/
Dradv_shader.c575 if (!p_atomic_dec_zero(&variant->ref_count)) in radv_shader_variant_destroy()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c668 if (p_atomic_dec_zero(&bo->refcount)) { in brw_bo_unreference()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c1880 if (p_atomic_dec_zero(&hud->refcount)) { in hud_destroy()
/external/mesa3d/src/intel/vulkan/
Danv_private.h2114 if (p_atomic_dec_zero(&shader->ref_cnt)) in anv_shader_bin_unref()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c2844 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()