Searched refs:__atomic_setup (Results 1 – 1 of 1) sorted by relevance
/arch/tile/lib/ |
D | atomic_32.c | 55 static inline int *__atomic_setup(volatile void *v) in __atomic_setup() function 64 return __atomic_xchg(v, __atomic_setup(v), n).val; in _atomic_xchg() 70 return __atomic_xchg_add(v, __atomic_setup(v), i).val; in _atomic_xchg_add() 81 return __atomic_xchg_add_unless(v, __atomic_setup(v), u, a).val; in _atomic_xchg_add_unless() 87 return __atomic_cmpxchg(v, __atomic_setup(v), o, n).val; in _atomic_cmpxchg() 93 return __atomic_or((int *)p, __atomic_setup(p), mask).val; in _atomic_or() 99 return __atomic_and((int *)p, __atomic_setup(p), mask).val; in _atomic_and() 105 return __atomic_andn((int *)p, __atomic_setup(p), mask).val; in _atomic_andn() 111 return __atomic_xor((int *)p, __atomic_setup(p), mask).val; in _atomic_xor() 118 return __atomic64_xchg(v, __atomic_setup(v), n); in _atomic64_xchg() [all …]
|