Searched refs:arch_atomic64_cmpxchg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/x86/include/asm/ |
H A D | atomic64_32.h | 64 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in arch_atomic64_cmpxchg() function 68 #define arch_atomic64_cmpxchg arch_atomic64_cmpxchg macro 200 while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c) in arch_atomic64_and() 208 while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c) in arch_atomic64_fetch_and() 219 while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c) in arch_atomic64_or() 227 while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c) in arch_atomic64_fetch_or() 238 while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c) in arch_atomic64_xor() 246 while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c) in arch_atomic64_fetch_xor() 257 while ((old = arch_atomic64_cmpxchg(v, c, c + i)) != c) in arch_atomic64_fetch_add()
|
H A D | atomic64_64.h | 101 static __always_inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg() function 105 #define arch_atomic64_cmpxchg arch_atomic64_cmpxchg macro
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | atomic64-arcv2.h | 141 arch_atomic64_cmpxchg(atomic64_t *ptr, s64 expected, s64 new) in ATOMIC64_OPS() 162 #define arch_atomic64_cmpxchg arch_atomic64_cmpxchg macro
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | atomic.h | 117 static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) in arch_atomic64_cmpxchg() function 121 #define arch_atomic64_cmpxchg arch_atomic64_cmpxchg macro
|
/openbmc/linux/include/asm-generic/ |
H A D | atomic64.h | 71 #define arch_atomic64_cmpxchg generic_atomic64_cmpxchg macro
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-arch-fallback.h | 4115 #if defined(arch_atomic64_cmpxchg) in raw_atomic64_cmpxchg() 4116 return arch_atomic64_cmpxchg(v, old, new); in raw_atomic64_cmpxchg() 4149 #elif defined(arch_atomic64_cmpxchg) in raw_atomic64_cmpxchg_acquire() 4150 return arch_atomic64_cmpxchg(v, old, new); in raw_atomic64_cmpxchg_acquire() 4176 #elif defined(arch_atomic64_cmpxchg) in raw_atomic64_cmpxchg_release() 4177 return arch_atomic64_cmpxchg(v, old, new); in raw_atomic64_cmpxchg_release() 4200 #elif defined(arch_atomic64_cmpxchg) in raw_atomic64_cmpxchg_relaxed() 4201 return arch_atomic64_cmpxchg(v, old, new); in raw_atomic64_cmpxchg_relaxed()
|