Lines Matching refs:atomic_cmpxchg
182 #define atomic_cmpxchg_relaxed atomic_cmpxchg
183 #define atomic_cmpxchg_acquire atomic_cmpxchg
184 #define atomic_cmpxchg_release atomic_cmpxchg
190 __atomic_op_acquire(atomic_cmpxchg, __VA_ARGS__)
195 __atomic_op_release(atomic_cmpxchg, __VA_ARGS__)
198 #ifndef atomic_cmpxchg
199 #define atomic_cmpxchg(...) \ macro
200 __atomic_op_fence(atomic_cmpxchg, __VA_ARGS__)
490 val = atomic_cmpxchg(v, c, c + 1); in atomic_inc_not_zero_hint()
505 v1 = atomic_cmpxchg(p, v, v + 1); in atomic_inc_unless_negative()
518 v1 = atomic_cmpxchg(p, v, v - 1); in atomic_dec_unless_positive()
542 old = atomic_cmpxchg((v), c, dec); in atomic_dec_if_positive()