/openbmc/linux/arch/s390/include/asm/ |
H A D | cmpxchg.h | 179 #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
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | cmpxchg.h | 10 #define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro 13 #define arch_cmpxchg_local arch_cmpxchg
|
/openbmc/linux/include/asm-generic/ |
H A D | atomic.h | 25 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) \
|
H A D | cmpxchg.h | 112 #define arch_cmpxchg arch_cmpxchg_local macro
|
/openbmc/linux/arch/mips/kernel/ |
H A D | cmpxchg.c | 44 load32 = arch_cmpxchg(ptr32, old32, new32); in __xchg_small() 100 load32 = arch_cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 56 #define arch_cmpxchg(ptr, o, n) \ macro 71 arch_cmpxchg((ptr), (o), (n)); \
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 192 #define arch_cmpxchg(ptr, old, new) \ macro 211 arch_cmpxchg((ptr), (o), (n)); \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 184 #define arch_cmpxchg(ptr, old, new) \ macro 219 arch_cmpxchg((ptr), (o), (n)); \
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | sync_bitops.h | 25 #define arch_sync_cmpxchg arch_cmpxchg
|
H A D | cmpxchg.h | 188 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro 195 #define arch_cmpxchg64 arch_cmpxchg
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 54 #define arch_cmpxchg(ptr, old, new) \ macro
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | cmpxchg.h | 66 #define arch_cmpxchg(ptr,o,n) \ macro
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 340 #define arch_cmpxchg(ptr, o, n) \ macro 354 arch_cmpxchg((ptr), (o), (n)); \
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | cmpxchg_32.h | 58 #define arch_cmpxchg(ptr, o, n) \ macro
|
H A D | cmpxchg_64.h | 171 #define arch_cmpxchg(ptr,o,n) \ macro
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | cmpxchg.h | 60 #define arch_cmpxchg(ptr, old, new) \ macro
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-arch-fallback.h | 54 #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 …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | cmpxchg.h | 120 #define arch_cmpxchg(ptr, o, n) \ macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 8 arch_cmpxchg((ptr), (o), (n)); \
|
H A D | atomic.h | 109 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 81 #define arch_cmpxchg(ptr, o, n) \ macro
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 146 #define arch_cmpxchg(ptr, o, n) \ macro
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 135 #define arch_cmpxchg(ptr, o, n) \ macro
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 83 #define arch_cmpxchg(ptr,o,n) \ macro
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 699 #define arch_cmpxchg(ptr, o, n) \ macro 737 arch_cmpxchg((ptr), (o), (n)); \
|