Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/s390/include/asm/
Dcmpxchg.h179 #define arch_cmpxchg(ptr, o, n) \ macro
189 #define arch_cmpxchg64 arch_cmpxchg
190 #define arch_cmpxchg_local arch_cmpxchg
191 #define arch_cmpxchg64_local arch_cmpxchg
/Linux-v6.6/arch/ia64/include/asm/
Dcmpxchg.h10 #define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro
13 #define arch_cmpxchg_local arch_cmpxchg
/Linux-v6.6/include/asm-generic/
Datomic.h25 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
35 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
47 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
Dcmpxchg.h112 #define arch_cmpxchg arch_cmpxchg_local macro
/Linux-v6.6/arch/mips/kernel/
Dcmpxchg.c44 load32 = arch_cmpxchg(ptr32, old32, new32); in __xchg_small()
100 load32 = arch_cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
/Linux-v6.6/arch/alpha/include/asm/
Dcmpxchg.h56 #define arch_cmpxchg(ptr, o, n) \ macro
71 arch_cmpxchg((ptr), (o), (n)); \
/Linux-v6.6/arch/loongarch/include/asm/
Dcmpxchg.h192 #define arch_cmpxchg(ptr, old, new) \ macro
211 arch_cmpxchg((ptr), (o), (n)); \
/Linux-v6.6/arch/mips/include/asm/
Dcmpxchg.h184 #define arch_cmpxchg(ptr, old, new) \ macro
219 arch_cmpxchg((ptr), (o), (n)); \
/Linux-v6.6/arch/hexagon/include/asm/
Dcmpxchg.h54 #define arch_cmpxchg(ptr, old, new) \ macro
/Linux-v6.6/arch/arm64/include/asm/
Dsync_bitops.h25 #define arch_sync_cmpxchg arch_cmpxchg
Dcmpxchg.h188 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro
195 #define arch_cmpxchg64 arch_cmpxchg
/Linux-v6.6/arch/sh/include/asm/
Dcmpxchg.h66 #define arch_cmpxchg(ptr,o,n) \ macro
/Linux-v6.6/arch/sparc/include/asm/
Dcmpxchg_32.h58 #define arch_cmpxchg(ptr, o, n) \ macro
Dcmpxchg_64.h171 #define arch_cmpxchg(ptr,o,n) \ macro
/Linux-v6.6/arch/riscv/include/asm/
Dcmpxchg.h340 #define arch_cmpxchg(ptr, o, n) \ macro
354 arch_cmpxchg((ptr), (o), (n)); \
/Linux-v6.6/arch/arc/include/asm/
Dcmpxchg.h60 #define arch_cmpxchg(ptr, old, new) \ macro
/Linux-v6.6/include/linux/atomic/
Datomic-arch-fallback.h54 #if defined(arch_cmpxchg)
55 #define raw_cmpxchg arch_cmpxchg
58 __atomic_op_fence(arch_cmpxchg, __VA_ARGS__)
68 __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__)
69 #elif defined(arch_cmpxchg)
70 #define raw_cmpxchg_acquire arch_cmpxchg
80 __atomic_op_release(arch_cmpxchg, __VA_ARGS__)
81 #elif defined(arch_cmpxchg)
82 #define raw_cmpxchg_release arch_cmpxchg
90 #elif defined(arch_cmpxchg)
[all …]
/Linux-v6.6/arch/parisc/include/asm/
Dcmpxchg.h81 #define arch_cmpxchg(ptr, o, n) \ macro
/Linux-v6.6/arch/m68k/include/asm/
Dcmpxchg.h120 #define arch_cmpxchg(ptr, o, n) \ macro
/Linux-v6.6/arch/x86/include/asm/
Dcmpxchg_64.h8 arch_cmpxchg((ptr), (o), (n)); \
Datomic.h109 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
Datomic64_64.h103 return arch_cmpxchg(&v->counter, old, new); in arch_atomic64_cmpxchg()
/Linux-v6.6/arch/openrisc/include/asm/
Dcmpxchg.h135 #define arch_cmpxchg(ptr, o, n) \ macro
/Linux-v6.6/arch/csky/include/asm/
Dcmpxchg.h146 #define arch_cmpxchg(ptr, o, n) \ macro
/Linux-v6.6/arch/xtensa/include/asm/
Dcmpxchg.h83 #define arch_cmpxchg(ptr,o,n) \ macro

12