Lines Matching refs:__atomic_setup
107 static inline int *__atomic_setup(volatile void *v) in __atomic_setup() function
116 return __atomic_xchg(&v->counter, __atomic_setup(v), n).val; in _atomic_xchg()
122 return __atomic_xchg_add(&v->counter, __atomic_setup(v), i).val; in _atomic_xchg_add()
133 return __atomic_xchg_add_unless(&v->counter, __atomic_setup(v), u, a) in _atomic_xchg_add_unless()
140 return __atomic_cmpxchg(&v->counter, __atomic_setup(v), o, n).val; in _atomic_cmpxchg()
146 return __atomic_or((int *)p, __atomic_setup(p), mask).val; in _atomic_or()
152 return __atomic_andn((int *)p, __atomic_setup(p), mask).val; in _atomic_andn()
158 return __atomic_xor((int *)p, __atomic_setup(p), mask).val; in _atomic_xor()
165 return __atomic64_xchg(&v->counter, __atomic_setup(v), n); in _atomic64_xchg()
171 return __atomic64_xchg_add(&v->counter, __atomic_setup(v), i); in _atomic64_xchg_add()
182 return __atomic64_xchg_add_unless(&v->counter, __atomic_setup(v), in _atomic64_xchg_add_unless()
189 return __atomic64_cmpxchg(&v->counter, __atomic_setup(v), o, n); in _atomic64_cmpxchg()