atomic_cmpxchg 205 arch/alpha/include/asm/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) atomic_cmpxchg 104 arch/arc/include/asm/cmpxchg.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 202 arch/arm/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 66 arch/hexagon/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 211 arch/ia64/include/asm/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) atomic_cmpxchg 165 arch/m68k/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 170 arch/m68k/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 230 arch/mips/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 77 arch/parisc/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 195 arch/powerpc/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 310 arch/riscv/include/asm/atomic.h #define atomic_cmpxchg atomic_cmpxchg atomic_cmpxchg 80 arch/s390/include/asm/atomic.h static inline int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 36 arch/sh/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 53 arch/sparc/include/asm/atomic_64.h #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 83 arch/sparc/lib/atomic32.c int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 258 arch/xtensa/include/asm/atomic.h #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) atomic_cmpxchg 651 include/asm-generic/atomic-instrumented.h atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 656 include/asm-generic/atomic-instrumented.h #define atomic_cmpxchg atomic_cmpxchg atomic_cmpxchg 196 include/asm-generic/atomic.h #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) atomic_cmpxchg 893 include/linux/atomic-fallback.h atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 901 include/linux/atomic-fallback.h #define atomic_cmpxchg atomic_cmpxchg atomic_cmpxchg 68 tools/arch/x86/include/asm/atomic.h static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) atomic_cmpxchg 67 tools/include/asm-generic/atomic-gcc.h static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) atomic_cmpxchg 36 tools/testing/selftests/futex/include/atomic.h atomic_cmpxchg(atomic_t *addr, int oldval, int newval)