Home
last modified time | relevance | path

Searched refs:arch_cmpxchg (Results 1 – 25 of 27) sorted by relevance

12

/linux/arch/s390/include/asm/
H A Dcmpxchg.h96 #define arch_cmpxchg(ptr, o, n) \ macro
104 #define arch_cmpxchg64 arch_cmpxchg
105 #define arch_cmpxchg_local arch_cmpxchg
106 #define arch_cmpxchg64_local arch_cmpxchg
121 __prev = arch_cmpxchg((ptr), (__old), (__new)); \
162 __prev = arch_cmpxchg((ptr), (__old), (__new)); \
H A Datomic.h113 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
193 return arch_cmpxchg(&v->counter, old, new); in arch_atomic64_cmpxchg()
/linux/include/asm-generic/
H A Datomic.h25 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
35 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
47 while ((old = arch_cmpxchg(&v->counter, c, c c_op i)) != c) \
H A Dcmpxchg.h112 #define arch_cmpxchg arch_cmpxchg_local macro
/linux/arch/mips/kernel/
H A Dcmpxchg.c44 load32 = arch_cmpxchg(ptr32, old32, new32); in __xchg_small()
100 load32 = arch_cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
/linux/arch/alpha/include/asm/
H A Dcmpxchg.h265 #define arch_cmpxchg(ptr, o, n) \ macro
280 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/mips/include/asm/
H A Dcmpxchg.h184 #define arch_cmpxchg(ptr, old, new) \ macro
219 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h219 #define arch_cmpxchg(ptr, old, new) \ macro
238 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/arm64/include/asm/
H A Dsync_bitops.h25 #define arch_sync_cmpxchg arch_cmpxchg
H A Dcmpxchg.h190 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro
197 #define arch_cmpxchg64 arch_cmpxchg
/linux/arch/hexagon/include/asm/
H A Dcmpxchg.h54 #define arch_cmpxchg(ptr, old, new) \ macro
/linux/arch/sh/include/asm/
H A Dcmpxchg.h69 #define arch_cmpxchg(ptr,o,n) \ macro
/linux/include/linux/atomic/
H A Datomic-arch-fallback.h54 #if defined(arch_cmpxchg)
55 #define raw_cmpxchg arch_cmpxchg
58 __atomic_op_fence(arch_cmpxchg, __VA_ARGS__)
68 __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__)
69 #elif defined(arch_cmpxchg)
70 #define raw_cmpxchg_acquire arch_cmpxchg
80 __atomic_op_release(arch_cmpxchg, __VA_ARGS__)
81 #elif defined(arch_cmpxchg)
82 #define raw_cmpxchg_release arch_cmpxchg
90 #elif defined(arch_cmpxchg)
[all...]
/linux/arch/sparc/include/asm/
H A Dcmpxchg_32.h56 #define arch_cmpxchg(ptr, o, n) \ macro
H A Dcmpxchg_64.h171 #define arch_cmpxchg(ptr,o,n) \ macro
/linux/arch/arc/include/asm/
H A Dcmpxchg.h64 #define arch_cmpxchg(ptr, old, new) \ macro
/linux/arch/m68k/include/asm/
H A Dcmpxchg.h115 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h282 #define arch_cmpxchg(ptr, o, n) \ macro
294 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/x86/include/asm/
H A Dcmpxchg_64.h8 arch_cmpxchg((ptr), (o), (n)); \
H A Datomic.h101 return arch_cmpxchg(&v->counter, old, new); in arch_atomic_cmpxchg()
/linux/arch/parisc/include/asm/
H A Dcmpxchg.h79 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/openrisc/include/asm/
H A Dcmpxchg.h135 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/csky/include/asm/
H A Dcmpxchg.h156 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/xtensa/include/asm/
H A Dcmpxchg.h85 #define arch_cmpxchg(ptr,o,n) \ macro
/linux/arch/powerpc/include/asm/
H A Dcmpxchg.h699 #define arch_cmpxchg(ptr, o, n) \ macro
737 arch_cmpxchg((ptr), (o), (n)); \

12