Home
last modified time | relevance | path

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

/external/libdrm/
Dxf86atomic.h49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0) macro
71 # define atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) macro
93 # 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.c241 if (!atomic_dec_and_test(&bo->refcnt)) in etna_bo_del()
/external/libdrm/freedreno/
Dfreedreno_device.c122 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked()
129 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
Dfreedreno_bo.c214 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
/external/u-boot/arch/powerpc/include/asm/
Datomic.h91 #define atomic_dec_and_test(v) (atomic_dec_return((v)) == 0) macro
/external/u-boot/arch/arm/include/asm/
Dprocessor.h118 if (atomic_dec_and_test(&(p)->thread.refcount)) \
Datomic.h76 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test() function
/external/libdrm/omap/
Domap_drm.c122 if (!atomic_dec_and_test(&dev->refcnt)) in omap_device_del()
356 if (!atomic_dec_and_test(&bo->refcnt)) in omap_bo_del()
/external/libdrm/amdgpu/
Damdgpu_internal.h168 return atomic_dec_and_test(dst); in update_references()
/external/u-boot/include/asm-generic/
Datomic-long.h200 return atomic_dec_and_test(v); in atomic_long_dec_and_test()
/external/libdrm/tegra/
Dtegra.c230 if (bo && atomic_dec_and_test(&bo->ref)) in drm_tegra_bo_unref()
/external/u-boot/drivers/net/fsl-mc/dpio/
Dqbman_portal.c330 if (!atomic_dec_and_test(&s->vdq.busy)) { in qbman_swp_pull()
/external/libdrm/intel/
Dintel_bufmgr_gem.c1401 if (atomic_dec_and_test(&bo_gem->refcount)) in drm_intel_gem_bo_unreference_locked_timed()
1420 if (atomic_dec_and_test(&bo_gem->refcount)) { in drm_intel_gem_bo_unreference()
3448 if (atomic_dec_and_test(&bufmgr_gem->refcount)) { in drm_intel_bufmgr_gem_unref()
/external/libdrm/nouveau/
Dnouveau.c783 if (atomic_dec_and_test(&nouveau_bo(ref)->refcnt)) in nouveau_bo_ref()