Home
last modified time | relevance | path

Searched refs:arch_atomic64_cmpxchg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Datomic64_32.h64 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 Datomic64_64.h101 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 Datomic64-arcv2.h141 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 Datomic.h117 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 Datomic64.h71 #define arch_atomic64_cmpxchg generic_atomic64_cmpxchg macro
/openbmc/linux/include/linux/atomic/
H A Datomic-arch-fallback.h4115 #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()