Home
last modified time | relevance | path

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

/linux/include/asm-generic/
H A Dcmpxchg.h100 #ifndef arch_xchg
101 #define arch_xchg generic_xchg macro
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h110 #define arch_xchg(ptr, x) \ macro
116 arch_xchg((ptr), (x)); \
122 arch_xchg((ptr), (x)); \
/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \ macro
/linux/arch/s390/include/asm/
H A Datomic.h107 return arch_xchg(&v->counter, new); in ATOMIC_OPS()
187 return arch_xchg(&v->counter, new); in arch_atomic64_xchg()
H A Dcmpxchg.h232 #define arch_xchg(ptr, x) \ macro
/linux/arch/sh/include/asm/
H A Dcmpxchg.h49 #define arch_xchg(ptr,x) \ macro
/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...]
/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
/linux/arch/arc/include/asm/
H A Dcmpxchg.h124 #define arch_xchg(ptr, val) \ macro
/linux/arch/m68k/include/asm/
H A Dcmpxchg.h73 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… macro
/linux/arch/x86/include/asm/
H A Dposted_intr.h87 pir_vals[i] = arch_xchg(&pir[i], 0); in pi_harvest_pir()
H A Datomic.h113 return arch_xchg(&v->counter, new); in arch_atomic_xchg()
H A Datomic64_64.h107 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
/linux/arch/parisc/include/asm/
H A Dcmpxchg.h47 #define arch_xchg(ptr, x) \ macro
/linux/arch/openrisc/include/asm/
H A Dcmpxchg.h164 #define arch_xchg(ptr, with) \ macro
/linux/arch/arm/include/asm/
H A Dcmpxchg.h133 #define arch_xchg arch_xchg_relaxed macro
/linux/arch/xtensa/include/asm/
H A Dcmpxchg.h174 #define arch_xchg(ptr,x) \ macro
/linux/arch/alpha/include/asm/
H A Dcmpxchg.h254 #define arch_xchg(ptr, x) \ macro
/linux/arch/mips/include/asm/
H A Dcmpxchg.h92 #define arch_xchg(ptr, x) \ macro
/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h112 #define arch_xchg(ptr, x) \ macro
/linux/arch/arm64/include/asm/
H A Dcmpxchg.h104 #define arch_xchg(...) __xchg_wrapper( _mb, __VA_ARGS__) macro