xchg               45 arch/alpha/include/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg              154 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with)			\
xchg              167 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with)  _xchg(ptr, with)
xchg              201 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with) ({				\
xchg              131 arch/arm/include/asm/cmpxchg.h #define xchg xchg_relaxed
xchg               44 arch/c6x/include/asm/cmpxchg.h #define xchg(ptr, x) \
xchg               36 arch/csky/include/asm/cmpxchg.h #define xchg(ptr, x)	(__xchg((x), (ptr), sizeof(*(ptr))))
xchg                7 arch/h8300/include/asm/cmpxchg.h #define xchg(ptr, x) \
xchg               45 arch/hexagon/include/asm/cmpxchg.h #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
xchg               56 arch/ia64/include/uapi/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg               79 arch/m68k/include/asm/cmpxchg.h #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
xchg               37 arch/microblaze/include/asm/cmpxchg.h #define xchg(ptr, x) \
xchg              102 arch/mips/include/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg              164 arch/openrisc/include/asm/cmpxchg.h #define xchg(ptr, with) 						\
xchg               47 arch/parisc/include/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg              143 arch/riscv/include/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg               26 arch/s390/include/asm/cmpxchg.h #define xchg(ptr, x)							\
xchg               48 arch/sh/include/asm/cmpxchg.h #define xchg(ptr,x)	\
xchg               28 arch/sparc/include/asm/cmpxchg_32.h #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
xchg               55 arch/sparc/include/asm/cmpxchg_64.h #define xchg(ptr,x)							\
xchg               41 arch/unicore32/include/asm/cmpxchg.h #define xchg(ptr, x) \
xchg              171 arch/xtensa/include/asm/cmpxchg.h #define xchg(ptr,x) \
xchg             1644 include/asm-generic/atomic-instrumented.h #define xchg(ptr, ...)						\
xchg               83 include/asm-generic/cmpxchg.h #define xchg(ptr, x) ({							\
xchg               26 include/linux/atomic-fallback.h #define xchg(...) \
xchg              263 tools/testing/selftests/powerpc/benchmarks/context_switch.c static unsigned long xchg(unsigned long *p, unsigned long val)