/linux/arch/x86/include/asm/ |
A D | atomic.h | 194 static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function 198 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
|
/linux/arch/s390/include/asm/ |
A D | atomic.h | 77 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in ATOMIC_OPS() 81 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
|
/linux/arch/m68k/include/asm/ |
A D | atomic.h | 163 #define arch_atomic_cmpxchg(v, o, n) ((int)arch_cmpxchg(&((v)->counter), (o), (n))) macro 168 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
|
/linux/arch/sparc/lib/ |
A D | atomic32.c | 83 int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function 96 EXPORT_SYMBOL(arch_atomic_cmpxchg);
|
/linux/arch/sh/include/asm/ |
A D | atomic.h | 34 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux/arch/arm64/include/asm/ |
A D | atomic.h | 160 #define arch_atomic_cmpxchg(v, old, new) \ macro 220 #define arch_atomic64_cmpxchg arch_atomic_cmpxchg
|
/linux/arch/arc/include/asm/ |
A D | atomic.h | 25 #define arch_atomic_cmpxchg(v, o, n) \ macro
|
/linux/include/linux/atomic/ |
A D | atomic-arch-fallback.h | 937 #define arch_atomic_cmpxchg_acquire arch_atomic_cmpxchg 938 #define arch_atomic_cmpxchg_release arch_atomic_cmpxchg 939 #define arch_atomic_cmpxchg_relaxed arch_atomic_cmpxchg 963 #ifndef arch_atomic_cmpxchg 965 arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function 973 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro 990 r = arch_atomic_cmpxchg(v, o, new); in arch_atomic_try_cmpxchg()
|
A D | atomic-long.h | 907 return arch_atomic_cmpxchg(v, old, new); in arch_atomic_long_cmpxchg()
|
A D | atomic-instrumented.h | 476 return arch_atomic_cmpxchg(v, old, new); in atomic_cmpxchg()
|
/linux/arch/sparc/include/asm/ |
A D | atomic_32.h | 26 int arch_atomic_cmpxchg(atomic_t *, int, int);
|
A D | atomic_64.h | 52 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
|
/linux/arch/hexagon/include/asm/ |
A D | atomic.h | 64 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
|
/linux/arch/openrisc/include/asm/ |
A D | atomic.h | 134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
|
/linux/arch/riscv/include/asm/ |
A D | atomic.h | 308 #define arch_atomic_cmpxchg arch_atomic_cmpxchg in ATOMIC_OPS() macro
|
/linux/include/asm-generic/ |
A D | atomic.h | 134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
|
/linux/arch/xtensa/include/asm/ |
A D | atomic.h | 260 #define arch_atomic_cmpxchg(v, o, n) ((int)arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux/arch/parisc/include/asm/ |
A D | atomic.h | 77 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux/arch/alpha/include/asm/ |
A D | atomic.h | 208 #define arch_atomic_cmpxchg(v, old, new) \ in ATOMIC_OPS() macro
|
/linux/arch/ia64/include/asm/ |
A D | atomic.h | 210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new)) macro
|
/linux/arch/powerpc/include/asm/ |
A D | atomic.h | 186 #define arch_atomic_cmpxchg(v, o, n) \ macro
|
/linux/arch/arm/include/asm/ |
A D | atomic.h | 200 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
|