/linux-6.1.9/arch/x86/include/asm/ |
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-6.1.9/arch/csky/include/asm/ |
D | atomic.h | 215 int arch_atomic_cmpxchg(atomic_t *v, int o, int n) \ 228 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
|
/linux-6.1.9/arch/s390/include/asm/ |
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-6.1.9/arch/m68k/include/asm/ |
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-6.1.9/arch/sh/include/asm/ |
D | atomic.h | 34 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-6.1.9/arch/arc/include/asm/ |
D | atomic.h | 25 #define arch_atomic_cmpxchg(v, o, n) \ macro
|
/linux-6.1.9/arch/sparc/lib/ |
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-6.1.9/arch/sparc/include/asm/ |
D | atomic_32.h | 26 int arch_atomic_cmpxchg(atomic_t *, int, int);
|
D | atomic_64.h | 52 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | atomic.h | 160 #define arch_atomic_cmpxchg(v, old, new) \ macro 220 #define arch_atomic64_cmpxchg arch_atomic_cmpxchg
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | atomic.h | 64 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
|
/linux-6.1.9/arch/openrisc/include/asm/ |
D | atomic.h | 134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
|
/linux-6.1.9/include/linux/atomic/ |
D | atomic-arch-fallback.h | 1021 #define arch_atomic_cmpxchg_acquire arch_atomic_cmpxchg 1022 #define arch_atomic_cmpxchg_release arch_atomic_cmpxchg 1023 #define arch_atomic_cmpxchg_relaxed arch_atomic_cmpxchg 1047 #ifndef arch_atomic_cmpxchg 1049 arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function 1057 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro 1074 r = arch_atomic_cmpxchg(v, o, new); in arch_atomic_try_cmpxchg()
|
D | atomic-long.h | 907 return arch_atomic_cmpxchg(v, old, new); in arch_atomic_long_cmpxchg()
|
D | atomic-instrumented.h | 504 return arch_atomic_cmpxchg(v, old, new); in atomic_cmpxchg()
|
/linux-6.1.9/include/asm-generic/ |
D | atomic.h | 134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | atomic.h | 308 #define arch_atomic_cmpxchg arch_atomic_cmpxchg in ATOMIC_OPS() macro
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | atomic.h | 260 #define arch_atomic_cmpxchg(v, o, n) ((int)arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | atomic.h | 77 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | atomic.h | 208 #define arch_atomic_cmpxchg(v, old, new) \ in ATOMIC_OPS() macro
|
/linux-6.1.9/arch/ia64/include/asm/ |
D | atomic.h | 210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new)) macro
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | atomic.h | 184 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | atomic.h | 121 #define arch_atomic_cmpxchg(v, o, n) \ macro
|
/linux-6.1.9/arch/arm/include/asm/ |
D | atomic.h | 200 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | smp.c | 418 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) { in nmi_ipi_lock_start() 428 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) in nmi_ipi_lock()
|