/linux/arch/s390/include/asm/ |
A D | cmpxchg.h | 156 #define arch_cmpxchg(ptr, o, n) \ macro 166 #define arch_cmpxchg64 arch_cmpxchg 167 #define arch_cmpxchg_local arch_cmpxchg 168 #define arch_cmpxchg64_local arch_cmpxchg
|
/linux/include/asm-generic/ |
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) \ 134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new)))
|
A D | cmpxchg.h | 112 #define arch_cmpxchg arch_cmpxchg_local macro
|
/linux/arch/ia64/include/asm/ |
A D | cmpxchg.h | 10 #define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro 13 #define arch_cmpxchg_local arch_cmpxchg
|
A D | atomic.h | 210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new)) 214 (arch_cmpxchg(&((v)->counter), old, new))
|
/linux/arch/mips/kernel/ |
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/ |
A D | cmpxchg.h | 56 #define arch_cmpxchg(ptr, o, n) \ macro 71 arch_cmpxchg((ptr), (o), (n)); \
|
A D | atomic.h | 204 (arch_cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() 209 (arch_cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS()
|
/linux/arch/sparc/include/asm/ |
A D | atomic_64.h | 52 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() 60 ((__typeof__((v)->counter))arch_cmpxchg(&((v)->counter), (o), (n)))
|
A D | cmpxchg_32.h | 58 #define arch_cmpxchg(ptr, o, n) \ macro
|
/linux/arch/riscv/include/asm/ |
A D | cmpxchg.h | 340 #define arch_cmpxchg(ptr, o, n) \ macro 354 arch_cmpxchg((ptr), (o), (n)); \ 366 arch_cmpxchg((ptr), (o), (n)); \
|
/linux/arch/mips/include/asm/ |
A D | cmpxchg.h | 185 #define arch_cmpxchg(ptr, old, new) \ macro 220 arch_cmpxchg((ptr), (o), (n)); \
|
/linux/arch/parisc/include/asm/ |
A D | atomic.h | 77 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) 223 ((__typeof__((v)->counter))arch_cmpxchg(&((v)->counter), (o), (n)))
|
/linux/include/linux/atomic/ |
A D | atomic-arch-fallback.h | 35 #define arch_cmpxchg_acquire arch_cmpxchg 36 #define arch_cmpxchg_release arch_cmpxchg 37 #define arch_cmpxchg_relaxed 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__) 91 ___r = arch_cmpxchg((_ptr), ___o, (_new)); \
|
/linux/arch/x86/include/asm/ |
A D | cmpxchg_64.h | 13 arch_cmpxchg((ptr), (o), (n)); \
|
/linux/arch/sh/include/asm/ |
A D | atomic.h | 34 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n)))
|
A D | cmpxchg.h | 66 #define arch_cmpxchg(ptr,o,n) \ macro
|
/linux/arch/arc/include/asm/ |
A D | atomic.h | 27 arch_cmpxchg(&((v)->counter), (o), (n)); \
|
A D | cmpxchg.h | 60 #define arch_cmpxchg(ptr, old, new) \ macro
|
/linux/arch/hexagon/include/asm/ |
A D | cmpxchg.h | 54 #define arch_cmpxchg(ptr, old, new) \ macro
|
/linux/arch/arm/include/asm/ |
A D | sync_bitops.h | 24 #define arch_sync_cmpxchg arch_cmpxchg
|
/linux/arch/arm64/include/asm/ |
A D | sync_bitops.h | 25 #define arch_sync_cmpxchg arch_cmpxchg
|
A D | cmpxchg.h | 192 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro 199 #define arch_cmpxchg64 arch_cmpxchg
|
/linux/arch/csky/include/asm/ |
A D | cmpxchg.h | 67 #define arch_cmpxchg(ptr, o, n) \ macro
|
/linux/arch/m68k/include/asm/ |
A D | cmpxchg.h | 121 #define arch_cmpxchg(ptr, o, n) \ macro
|