Searched refs:__atomic_setup (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/arch/tile/lib/ |
D | atomic_32.c | 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() [all …]
|