/openbmc/linux/include/asm-generic/ |
H A D | cmpxchg.h | 100 #ifndef arch_xchg 101 #define arch_xchg generic_xchg macro
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 143 #define arch_xchg(ptr, x) \ macro 152 arch_xchg((ptr), (x)); \ 158 arch_xchg((ptr), (x)); \
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | atomic.h | 75 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new)) in ATOMIC_OPS() 115 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new))
|
H A D | cmpxchg.h | 75 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \ macro
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | cmpxchg.h | 7 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | cmpxchg.h | 48 #define arch_xchg(ptr,x) \ macro
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | cmpxchg_32.h | 28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… macro
|
H A D | cmpxchg_64.h | 55 #define arch_xchg(ptr,x) \ macro
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | cmpxchg.h | 122 #define arch_xchg(ptr, val) \ macro
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 45 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 47 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | cmpxchg.h | 78 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… macro
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-arch-fallback.h | 11 #if defined(arch_xchg) 12 #define raw_xchg arch_xchg 15 __atomic_op_fence(arch_xchg, __VA_ARGS__) 25 __atomic_op_acquire(arch_xchg, __VA_ARGS__) 26 #elif defined(arch_xchg) 27 #define raw_xchg_acquire arch_xchg 37 __atomic_op_release(arch_xchg, __VA_ARGS__) 38 #elif defined(arch_xchg) 39 #define raw_xchg_release arch_xchg 47 #elif defined(arch_xchg) [all …]
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 164 #define arch_xchg(ptr, with) \ macro
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 132 #define arch_xchg arch_xchg_relaxed macro
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 85 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 172 #define arch_xchg(ptr,x) \ macro
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | atomic.h | 121 return arch_xchg(&v->counter, new); in arch_atomic_xchg()
|
H A D | atomic64_64.h | 115 return arch_xchg(&v->counter, new); in arch_atomic64_xchg()
|
H A D | cmpxchg.h | 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") macro
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 92 #define arch_xchg(ptr, x) \ macro
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 103 #define arch_xchg(...) __xchg_wrapper( _mb, __VA_ARGS__) macro
|