Searched refs:p_atomic_fetch_add (Results 1 – 3 of 3) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_atomic.h | 53 #define p_atomic_fetch_add(v, i) __atomic_fetch_add((v), (i), __ATOMIC_ACQ_REL) macro 69 #define p_atomic_fetch_add(v, i) __sync_fetch_and_add((v), (i)) macro 102 #define p_atomic_fetch_add(_v, _i) (*(_v) = *(_v) + (_i), *(_v) - (_i)) macro 166 ((void) p_atomic_fetch_add((_v), (_i))) 175 #define p_atomic_fetch_add(_v, _i) (\ macro 264 #define p_atomic_fetch_add(v, i) (__typeof(*v)) ( \ macro
|
D | simple_mtx.h | 129 c = p_atomic_fetch_add(&mtx->val, -1); in simple_mtx_unlock()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | u_atomic_test.cpp | 133 r = p_atomic_fetch_add(&v, -1); in TYPED_TEST()
|