cmpxchg 56 arch/alpha/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 92 arch/arc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) ({ \ cmpxchg 67 arch/csky/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 54 arch/hexagon/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ cmpxchg 130 arch/ia64/include/uapi/asm/cmpxchg.h #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) cmpxchg 121 arch/m68k/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 189 arch/mips/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ cmpxchg 135 arch/openrisc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 79 arch/parisc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 481 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 340 arch/riscv/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 15 arch/s390/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ cmpxchg 66 arch/sh/include/asm/cmpxchg.h #define cmpxchg(ptr,o,n) \ cmpxchg 58 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg(ptr, o, n) \ cmpxchg 171 arch/sparc/include/asm/cmpxchg_64.h #define cmpxchg(ptr,o,n) \ cmpxchg 83 arch/xtensa/include/asm/cmpxchg.h #define cmpxchg(ptr,o,n) \ cmpxchg 1680 include/asm-generic/atomic-instrumented.h #define cmpxchg(ptr, ...) \ cmpxchg 106 include/asm-generic/cmpxchg.h #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) cmpxchg 49 include/linux/atomic-fallback.h #define cmpxchg(...) \ cmpxchg 86 tools/arch/x86/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ cmpxchg 64 tools/include/asm-generic/atomic-gcc.h #define cmpxchg(ptr, oldval, newval) \ cmpxchg 253 tools/testing/selftests/powerpc/benchmarks/context_switch.c static unsigned long cmpxchg(unsigned long *p, unsigned long expected,