| /linux/arch/s390/include/asm/ |
| H A D | cmpxchg.h | 96 #define arch_cmpxchg(ptr, o, n) \ macro 104 #define arch_cmpxchg64 arch_cmpxchg 105 #define arch_cmpxchg_local arch_cmpxchg 106 #define arch_cmpxchg64_local arch_cmpxchg 121 __prev = arch_cmpxchg((ptr), (__old), (__new)); \ 162 __prev = arch_cmpxchg((ptr), (__old), (__new)); \
|
| H A D | atomic.h | 113 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg() 193 return arch_cmpxchg(&v->counter, old, new); in arch_atomic64_cmpxchg()
|
| /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
|
| /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()
|
| /linux/arch/alpha/include/asm/ |
| H A D | cmpxchg.h | 265 #define arch_cmpxchg(ptr, o, n) \ macro 280 arch_cmpxchg((ptr), (o), (n)); \
|
| /linux/arch/mips/include/asm/ |
| H A D | cmpxchg.h | 184 #define arch_cmpxchg(ptr, old, new) \ macro 219 arch_cmpxchg((ptr), (o), (n)); \
|
| /linux/arch/loongarch/include/asm/ |
| H A D | cmpxchg.h | 219 #define arch_cmpxchg(ptr, old, new) \ macro 238 arch_cmpxchg((ptr), (o), (n)); \
|
| /linux/arch/arm64/include/asm/ |
| H A D | sync_bitops.h | 25 #define arch_sync_cmpxchg arch_cmpxchg
|
| H A D | cmpxchg.h | 190 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro 197 #define arch_cmpxchg64 arch_cmpxchg
|
| /linux/arch/hexagon/include/asm/ |
| H A D | cmpxchg.h | 54 #define arch_cmpxchg(ptr, old, new) \ macro
|
| /linux/arch/sh/include/asm/ |
| H A D | cmpxchg.h | 69 #define arch_cmpxchg(ptr,o,n) \ macro
|
| /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...] |
| /linux/arch/sparc/include/asm/ |
| H A D | cmpxchg_32.h | 56 #define arch_cmpxchg(ptr, o, n) \ macro
|
| H A D | cmpxchg_64.h | 171 #define arch_cmpxchg(ptr,o,n) \ macro
|
| /linux/arch/arc/include/asm/ |
| H A D | cmpxchg.h | 64 #define arch_cmpxchg(ptr, old, new) \ macro
|
| /linux/arch/m68k/include/asm/ |
| H A D | cmpxchg.h | 115 #define arch_cmpxchg(ptr, o, n) \ macro
|
| /linux/arch/riscv/include/asm/ |
| H A D | cmpxchg.h | 282 #define arch_cmpxchg(ptr, o, n) \ macro 294 arch_cmpxchg((ptr), (o), (n)); \
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg_64.h | 8 arch_cmpxchg((ptr), (o), (n)); \
|
| H A D | atomic.h | 101 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
|
| /linux/arch/parisc/include/asm/ |
| H A D | cmpxchg.h | 79 #define arch_cmpxchg(ptr, o, n) \ macro
|
| /linux/arch/openrisc/include/asm/ |
| H A D | cmpxchg.h | 135 #define arch_cmpxchg(ptr, o, n) \ macro
|
| /linux/arch/csky/include/asm/ |
| H A D | cmpxchg.h | 156 #define arch_cmpxchg(ptr, o, n) \ macro
|
| /linux/arch/xtensa/include/asm/ |
| H A D | cmpxchg.h | 85 #define arch_cmpxchg(ptr,o,n) \ macro
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cmpxchg.h | 699 #define arch_cmpxchg(ptr, o, n) \ macro 737 arch_cmpxchg((ptr), (o), (n)); \
|