Searched refs:arch_xchg (Results 1 - 22 of 22) sorted by relevance

/linux-master/arch/hexagon/include/asm/
H A Dcmpxchg.h45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \ macro
/linux-master/include/asm-generic/
H A Dcmpxchg.h100 #ifndef arch_xchg
101 #define arch_xchg generic_xchg macro
/linux-master/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-master/arch/sh/include/asm/
H A Dcmpxchg.h48 #define arch_xchg(ptr,x) \ macro
/linux-master/arch/s390/include/asm/
H A Datomic.h75 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new))
115 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new))
H A Dcmpxchg.h75 #define arch_xchg(ptr, x) \ macro
/linux-master/arch/alpha/include/asm/
H A Dcmpxchg.h45 #define arch_xchg(ptr, x) \ macro
/linux-master/arch/arc/include/asm/
H A Dcmpxchg.h122 #define arch_xchg(ptr, val) \ macro
/linux-master/arch/riscv/include/asm/
H A Dcmpxchg.h142 #define arch_xchg(ptr, x) \ macro
151 arch_xchg((ptr), (x)); \
157 arch_xchg((ptr), (x)); \
/linux-master/arch/openrisc/include/asm/
H A Dcmpxchg.h164 #define arch_xchg(ptr, with) \ macro
/linux-master/arch/m68k/include/asm/
H A Dcmpxchg.h78 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));}) macro
/linux-master/arch/parisc/include/asm/
H A Dcmpxchg.h47 #define arch_xchg(ptr, x) \ macro
/linux-master/arch/xtensa/include/asm/
H A Dcmpxchg.h172 #define arch_xchg(ptr,x) \ macro
/linux-master/arch/x86/include/asm/
H A Datomic.h121 return arch_xchg(&v->counter, new);
H A Datomic64_64.h115 return arch_xchg(&v->counter, new);
H A Dcmpxchg.h78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") macro
/linux-master/arch/loongarch/include/asm/
H A Dcmpxchg.h85 #define arch_xchg(ptr, x) \ macro
/linux-master/arch/arm/include/asm/
H A Dcmpxchg.h132 #define arch_xchg arch_xchg_relaxed macro
/linux-master/arch/mips/include/asm/
H A Dcmpxchg.h92 #define arch_xchg(ptr, x) \ macro
/linux-master/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-master/arch/arm64/include/asm/
H A Dcmpxchg.h103 #define arch_xchg(...) __xchg_wrapper( _mb, __VA_ARGS__) macro

Completed in 180 milliseconds