Searched refs:atomic_add_unless (Results 1 – 4 of 4) sorted by relevance
/external/libdrm/ |
D | xf86atomic.h | 105 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() function
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 103 atomic_add_unless(int *v, int add, int unless) in atomic_add_unless() function 953 if (atomic_add_unless(&bo->refcount, -1, 1)) { in brw_bo_unreference()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 105 atomic_add_unless(int *v, int add, int unless) in atomic_add_unless() function 887 if (atomic_add_unless(&bo->refcount, -1, 1)) { in iris_bo_unreference()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1385 if (atomic_add_unless(&bo_gem->refcount, -1, 1)) { in drm_intel_gem_bo_unreference() 3380 if (atomic_add_unless(&bufmgr_gem->refcount, -1, 1)) { in drm_intel_bufmgr_gem_unref()
|