Home
last modified time | relevance | path

Searched refs:arch_xchg (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/include/asm-generic/
H A Dcmpxchg.h100 #ifndef arch_xchg
101 #define arch_xchg generic_xchg macro
/openbmc/linux/arch/riscv/include/asm/
H A Dcmpxchg.h143 #define arch_xchg(ptr, x) \ macro
152 arch_xchg((ptr), (x)); \
158 arch_xchg((ptr), (x)); \
/openbmc/linux/arch/s390/include/asm/
H A Datomic.h75 #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 Dcmpxchg.h75 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \ macro
/openbmc/linux/arch/ia64/include/asm/
H A Dcmpxchg.h7 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/sh/include/asm/
H A Dcmpxchg.h48 #define arch_xchg(ptr,x) \ macro
/openbmc/linux/arch/sparc/include/asm/
H A Dcmpxchg_32.h28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… macro
H A Dcmpxchg_64.h55 #define arch_xchg(ptr,x) \ macro
/openbmc/linux/arch/arc/include/asm/
H A Dcmpxchg.h122 #define arch_xchg(ptr, val) \ macro
/openbmc/linux/arch/alpha/include/asm/
H A Dcmpxchg.h45 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/parisc/include/asm/
H A Dcmpxchg.h47 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/m68k/include/asm/
H A Dcmpxchg.h78 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… macro
/openbmc/linux/include/linux/atomic/
H A Datomic-arch-fallback.h11 #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 Dcmpxchg.h164 #define arch_xchg(ptr, with) \ macro
/openbmc/linux/arch/arm/include/asm/
H A Dcmpxchg.h132 #define arch_xchg arch_xchg_relaxed macro
/openbmc/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h85 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/xtensa/include/asm/
H A Dcmpxchg.h172 #define arch_xchg(ptr,x) \ macro
/openbmc/linux/arch/x86/include/asm/
H A Datomic.h121 return arch_xchg(&v->counter, new); in arch_atomic_xchg()
H A Datomic64_64.h115 return arch_xchg(&v->counter, new); in arch_atomic64_xchg()
H A Dcmpxchg.h78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") macro
/openbmc/linux/arch/mips/include/asm/
H A Dcmpxchg.h92 #define arch_xchg(ptr, x) \ macro
/openbmc/linux/arch/arm64/include/asm/
H A Dcmpxchg.h103 #define arch_xchg(...) __xchg_wrapper( _mb, __VA_ARGS__) macro