Searched refs:atomic_add_unless (Results 1 – 2 of 2) sorted by relevance
99 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() function
1253 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()