Home
last modified time | relevance | path

Searched refs:atomic_dec_and_test (Results 1 - 15 of 15) sorted by relevance

/third_party/libdrm/
H A 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
/third_party/libdrm/etnaviv/
H A 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()
H A Detnaviv_bo.c233 if (!atomic_dec_and_test(&bo->refcnt)) in etna_bo_del()
/third_party/libdrm/freedreno/
H A 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()
H A Dfreedreno_pipe.c82 if (!atomic_dec_and_test(&pipe->refcnt)) in fd_pipe_del()
H A Dfreedreno_ringbuffer.c76 if (!atomic_dec_and_test(&ring->refcnt)) in fd_ringbuffer_del()
H A Dfreedreno_bo.c234 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
H A Dobj_ref.h75 if (atomic_dec_and_test(&ref->refcount)) in objref_put()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h55 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) macro
/third_party/libdrm/amdgpu/
H A Damdgpu_internal.h170 return atomic_dec_and_test(dst); in update_references()
/third_party/libdrm/omap/
H A 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()
/third_party/libdrm/tegra/
H A Dtegra.c182 if (bo && atomic_dec_and_test(&bo->ref)) in drm_tegra_bo_unref()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_generic.c388 if (atomic_dec_and_test(&dev->opened)) in generic_dev_closed()
/third_party/libdrm/nouveau/
H A Dnouveau.c796 if (atomic_dec_and_test(&nouveau_bo(ref)->refcnt)) in nouveau_bo_ref()
/third_party/libdrm/intel/
H A 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()

Completed in 12 milliseconds