Searched refs:atomic_add_unless (Results 1 – 4 of 4) sorted by relevance
/external/libdrm/ |
D | xf86atomic.h | 104 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless() function
|
/external/u-boot/include/asm-generic/ |
D | atomic-long.h | 249 return (long)atomic_add_unless(v, a, u); in atomic_long_add_unless()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 92 atomic_add_unless(int *v, int add, int unless) in atomic_add_unless() function 660 if (atomic_add_unless(&bo->refcount, -1, 1)) { in brw_bo_unreference()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1411 if (atomic_add_unless(&bo_gem->refcount, -1, 1)) { in drm_intel_gem_bo_unreference() 3445 if (atomic_add_unless(&bufmgr_gem->refcount, -1, 1)) { in drm_intel_bufmgr_gem_unref()
|