Home
last modified time | relevance | path

Searched refs:atomic_add_unless (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/
Dxf86atomic.h99 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() function
/external/libdrm/intel/
Dintel_bufmgr_gem.c1253 if (atomic_add_unless(&bo_gem->refcount, -1, 1)) { in drm_intel_gem_bo_unreference()
3362 if (atomic_add_unless(&bufmgr_gem->refcount, -1, 1)) { in drm_intel_bufmgr_gem_unref()