Home
last modified time | relevance | path

Searched refs:arch_cmpxchg (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dcmpxchg_64.h13 arch_cmpxchg((ptr), (o), (n)); \
Datomic.h196 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
Datomic64_64.h184 return arch_cmpxchg(&v->counter, old, new); in arch_atomic64_cmpxchg()
Dcmpxchg.h148 #define arch_cmpxchg(ptr, old, new) \ macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dsync_bitops.h25 #define arch_sync_cmpxchg arch_cmpxchg
Dcmpxchg.h192 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro
199 #define arch_cmpxchg64 arch_cmpxchg
Datomic.h161 arch_cmpxchg(&((v)->counter), (old), (new))
/kernel/linux/linux-5.10/include/linux/
Datomic-arch-fallback.h35 #define arch_cmpxchg_relaxed arch_cmpxchg
36 #define arch_cmpxchg_acquire arch_cmpxchg
37 #define arch_cmpxchg_release arch_cmpxchg
42 __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__)
47 __atomic_op_release(arch_cmpxchg, __VA_ARGS__)
50 #ifndef arch_cmpxchg
51 #define arch_cmpxchg(...) \ macro
52 __atomic_op_fence(arch_cmpxchg, __VA_ARGS__)
/kernel/linux/linux-5.10/include/asm-generic/
Datomic-instrumented.h1680 #if !defined(arch_cmpxchg_relaxed) || defined(arch_cmpxchg)
1685 arch_cmpxchg(__ai_ptr, __VA_ARGS__); \