Home
last modified time | relevance | path

Searched refs:arch_atomic64_try_cmpxchg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Datomic64_64.h107 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg() function
111 #define arch_atomic64_try_cmpxchg arch_atomic64_try_cmpxchg macro
132 } while (!arch_atomic64_try_cmpxchg(v, &val, val & i)); in arch_atomic64_fetch_and()
150 } while (!arch_atomic64_try_cmpxchg(v, &val, val | i)); in arch_atomic64_fetch_or()
168 } while (!arch_atomic64_try_cmpxchg(v, &val, val ^ i)); in arch_atomic64_fetch_xor()
/openbmc/linux/include/linux/atomic/
H A Datomic-arch-fallback.h4223 #if defined(arch_atomic64_try_cmpxchg) in raw_atomic64_try_cmpxchg()
4224 return arch_atomic64_try_cmpxchg(v, old, new); in raw_atomic64_try_cmpxchg()
4262 #elif defined(arch_atomic64_try_cmpxchg) in raw_atomic64_try_cmpxchg_acquire()
4263 return arch_atomic64_try_cmpxchg(v, old, new); in raw_atomic64_try_cmpxchg_acquire()
4294 #elif defined(arch_atomic64_try_cmpxchg) in raw_atomic64_try_cmpxchg_release()
4295 return arch_atomic64_try_cmpxchg(v, old, new); in raw_atomic64_try_cmpxchg_release()
4323 #elif defined(arch_atomic64_try_cmpxchg) in raw_atomic64_try_cmpxchg_relaxed()
4324 return arch_atomic64_try_cmpxchg(v, old, new); in raw_atomic64_try_cmpxchg_relaxed()