Home
last modified time | relevance | path

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

12

/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
59 #define p_atomic_dec_zero(v) (__sync_sub_and_fetch((v), 1) == 0) macro
89 #define p_atomic_dec_zero(_v) (p_atomic_dec_return(_v) == 0) macro
127 #define p_atomic_dec_zero(_v) \ macro
177 #define p_atomic_dec_zero(v) (\ macro
/external/mesa3d/src/etnaviv/drm/
Detnaviv_device.c101 if (!p_atomic_dec_zero(&dev->refcnt)) in etna_device_del_locked()
109 if (!p_atomic_dec_zero(&dev->refcnt)) in etna_device_del()
Detnaviv_bo.c266 if (!p_atomic_dec_zero(&bo->refcnt)) in etna_bo_del()
/external/mesa3d/src/mesa/main/
Dshaderobj.c73 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader()
212 if (p_atomic_dec_zero(&oldData->RefCount)) { in _mesa_reference_shader_program_data()
254 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader_program_()
Dglspirv.c42 if (old && p_atomic_dec_zero(&old->RefCount)) in _mesa_spirv_module_reference()
57 if (old && p_atomic_dec_zero(&old->RefCount)) { in _mesa_shader_spirv_data_reference()
Darrayobj.c362 deleteFlag = p_atomic_dec_zero(&oldObj->RefCount); in _mesa_reference_vao_()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h183 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
Damdgpu_bo.c413 if (p_atomic_dec_zero(&real->u.real.map_count)) { in amdgpu_bo_unmap()
/external/mesa3d/src/gallium/drivers/iris/
Diris_screen.h241 if (p_atomic_dec_zero(&screen->refcount)) in iris_pscreen_unref()
Diris_bufmgr.c895 if (p_atomic_dec_zero(&bo->refcount)) { in iris_bo_unreference()
1908 if (p_atomic_dec_zero(&bufmgr->refcount)) { in iris_bufmgr_unref()
/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.c325 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c331 if (!p_atomic_dec_zero(&bo->refcnt)) in lima_bo_unreference()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c961 if (p_atomic_dec_zero(&bo->refcount)) { in brw_bo_unreference()
1379 if (p_atomic_dec_zero(&bufmgr->refcount)) { in brw_bufmgr_unref()
/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/broadcom/vulkan/
Dv3dv_private.h1849 if (p_atomic_dec_zero(&variant->ref_cnt)) in v3dv_shader_variant_unref()
/external/mesa3d/src/intel/vulkan/
Danv_private.h2048 if (p_atomic_dec_zero(&layout->ref_cnt)) in anv_descriptor_set_layout_unref()
3401 if (p_atomic_dec_zero(&shader->ref_cnt)) in anv_shader_bin_unref()
Danv_queue.c2213 if (!p_atomic_dec_zero(&semaphore->refcount)) in anv_semaphore_unref()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c1923 if (p_atomic_dec_zero(&hud->refcount)) { in hud_destroy()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c1453 if (!p_atomic_dec_zero(&variant->ref_count)) in radv_shader_variant_destroy()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c3323 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()

12