Searched refs:atomic_add_unless (Results 1 – 2 of 2) sorted by relevance
108 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() function
1395 if (atomic_add_unless(&bo_gem->refcount, -1, 1)) { in drm_intel_gem_bo_unreference()3291 if (atomic_add_unless(&bufmgr_gem->refcount, -1, 1)) { in drm_intel_bufmgr_gem_unref()