Home
last modified time | relevance | path

Searched refs:atomic_dec_and_test (Results 1 – 16 of 16) sorted by relevance

/external/libdrm/
Dxf86atomic.h49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0) macro
72 # define atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) macro
94 # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 0) macro
/external/libdrm/etnaviv/
Detnaviv_device.c96 if (!atomic_dec_and_test(&dev->refcnt)) in etna_device_del_locked()
104 if (!atomic_dec_and_test(&dev->refcnt)) in etna_device_del()
Detnaviv_bo.c233 if (!atomic_dec_and_test(&bo->refcnt)) in etna_bo_del()
/external/libdrm/freedreno/
Dfreedreno_device.c123 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked()
130 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
Dfreedreno_pipe.c82 if (!atomic_dec_and_test(&pipe->refcnt)) in fd_pipe_del()
Dfreedreno_ringbuffer.c76 if (!atomic_dec_and_test(&ring->refcnt)) in fd_ringbuffer_del()
Dfreedreno_bo.c234 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_device.c124 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked()
131 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
Dfreedreno_pipe.c80 if (!atomic_dec_and_test(&pipe->refcnt)) in fd_pipe_del()
Dfreedreno_priv.h53 #define atomic_dec_and_test(x) (__sync_add_and_fetch (x, -1) == 0) macro
Dfreedreno_bo.c254 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
/external/libdrm/amdgpu/
Damdgpu_internal.h170 return atomic_dec_and_test(dst); in update_references()
/external/libdrm/omap/
Domap_drm.c122 if (!atomic_dec_and_test(&dev->refcnt)) in omap_device_del()
353 if (!atomic_dec_and_test(&bo->refcnt)) in omap_bo_del()
/external/libdrm/tegra/
Dtegra.c171 if (bo && atomic_dec_and_test(&bo->ref)) in drm_tegra_bo_unref()
/external/libdrm/intel/
Dintel_bufmgr_gem.c1375 if (atomic_dec_and_test(&bo_gem->refcount)) in drm_intel_gem_bo_unreference_locked_timed()
1394 if (atomic_dec_and_test(&bo_gem->refcount)) { in drm_intel_gem_bo_unreference()
3383 if (atomic_dec_and_test(&bufmgr_gem->refcount)) { in drm_intel_bufmgr_gem_unref()
/external/libdrm/nouveau/
Dnouveau.c796 if (atomic_dec_and_test(&nouveau_bo(ref)->refcnt)) in nouveau_bo_ref()