Home
last modified time | relevance | path

Searched refs:arch_try_cmpxchg (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/include/linux/atomic/
Datomic-arch-fallback.h183 #if defined(arch_try_cmpxchg)
184 #define raw_try_cmpxchg arch_try_cmpxchg
187 __atomic_op_fence(arch_try_cmpxchg, __VA_ARGS__)
203 __atomic_op_acquire(arch_try_cmpxchg, __VA_ARGS__)
204 #elif defined(arch_try_cmpxchg)
205 #define raw_try_cmpxchg_acquire arch_try_cmpxchg
221 __atomic_op_release(arch_try_cmpxchg, __VA_ARGS__)
222 #elif defined(arch_try_cmpxchg)
223 #define raw_try_cmpxchg_release arch_try_cmpxchg
237 #elif defined(arch_try_cmpxchg)
[all …]
/Linux-v6.6/arch/x86/include/asm/
Dcmpxchg_64.h20 arch_try_cmpxchg((ptr), (po), (n)); \
Datomic.h115 return arch_try_cmpxchg(&v->counter, old, new); in arch_atomic_try_cmpxchg()
Datomic64_64.h109 return arch_try_cmpxchg(&v->counter, old, new); in arch_atomic64_try_cmpxchg()
Dcmpxchg.h227 #define arch_try_cmpxchg(ptr, pold, new) \ macro