Home
last modified time | relevance | path

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

/external/libdrm/
Dxf86atomic.h52 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) macro
73 # define atomic_dec_and_test(x) (AO_fetch_and_sub1_full(&(x)->atomic) == 1) macro
88 # define atomic_dec_and_test(x) (atomic_dec_uint_nv(&(x)->atomic) == 1) macro
/external/libdrm/freedreno/
Dfreedreno_device.c150 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked()
157 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
Dfreedreno_bo.c285 if (!atomic_dec_and_test(&bo->refcnt)) in fd_bo_del()
/external/libdrm/omap/
Domap_drm.c126 if (!atomic_dec_and_test(&dev->refcnt)) in omap_device_del()
359 if (!atomic_dec_and_test(&bo->refcnt)) in omap_bo_del()
/external/libdrm/tegra/
Dtegra.c242 if (bo && atomic_dec_and_test(&bo->ref)) in drm_tegra_bo_unref()
/external/libdrm/nouveau/
Dnouveau.c522 if (atomic_dec_and_test(&nouveau_bo(ref)->refcnt)) in nouveau_bo_ref()
/external/libdrm/intel/
Dintel_bufmgr_gem.c1243 if (atomic_dec_and_test(&bo_gem->refcount)) in drm_intel_gem_bo_unreference_locked_timed()
1262 if (atomic_dec_and_test(&bo_gem->refcount)) { in drm_intel_gem_bo_unreference()
3365 if (atomic_dec_and_test(&bufmgr_gem->refcount)) { in drm_intel_bufmgr_gem_unref()