Home
last modified time | relevance | path

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

12

/linux/arch/s390/include/asm/
A Dcmpxchg.h156 #define arch_cmpxchg(ptr, o, n) \ macro
166 #define arch_cmpxchg64 arch_cmpxchg
167 #define arch_cmpxchg_local arch_cmpxchg
168 #define arch_cmpxchg64_local arch_cmpxchg
/linux/include/asm-generic/
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) \
134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new)))
A Dcmpxchg.h112 #define arch_cmpxchg arch_cmpxchg_local macro
/linux/arch/ia64/include/asm/
A Dcmpxchg.h10 #define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) macro
13 #define arch_cmpxchg_local arch_cmpxchg
A Datomic.h210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new))
214 (arch_cmpxchg(&((v)->counter), old, new))
/linux/arch/mips/kernel/
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/
A Dcmpxchg.h56 #define arch_cmpxchg(ptr, o, n) \ macro
71 arch_cmpxchg((ptr), (o), (n)); \
A Datomic.h204 (arch_cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS()
209 (arch_cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS()
/linux/arch/sparc/include/asm/
A Datomic_64.h52 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS()
60 ((__typeof__((v)->counter))arch_cmpxchg(&((v)->counter), (o), (n)))
A Dcmpxchg_32.h58 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/riscv/include/asm/
A Dcmpxchg.h340 #define arch_cmpxchg(ptr, o, n) \ macro
354 arch_cmpxchg((ptr), (o), (n)); \
366 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/mips/include/asm/
A Dcmpxchg.h185 #define arch_cmpxchg(ptr, old, new) \ macro
220 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/parisc/include/asm/
A Datomic.h77 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n)))
223 ((__typeof__((v)->counter))arch_cmpxchg(&((v)->counter), (o), (n)))
/linux/include/linux/atomic/
A Datomic-arch-fallback.h35 #define arch_cmpxchg_acquire arch_cmpxchg
36 #define arch_cmpxchg_release arch_cmpxchg
37 #define arch_cmpxchg_relaxed arch_cmpxchg
42 __atomic_op_acquire(arch_cmpxchg, __VA_ARGS__)
47 __atomic_op_release(arch_cmpxchg, __VA_ARGS__)
50 #ifndef arch_cmpxchg
51 #define arch_cmpxchg(...) \ macro
52 __atomic_op_fence(arch_cmpxchg, __VA_ARGS__)
91 ___r = arch_cmpxchg((_ptr), ___o, (_new)); \
/linux/arch/x86/include/asm/
A Dcmpxchg_64.h13 arch_cmpxchg((ptr), (o), (n)); \
/linux/arch/sh/include/asm/
A Datomic.h34 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n)))
A Dcmpxchg.h66 #define arch_cmpxchg(ptr,o,n) \ macro
/linux/arch/arc/include/asm/
A Datomic.h27 arch_cmpxchg(&((v)->counter), (o), (n)); \
A Dcmpxchg.h60 #define arch_cmpxchg(ptr, old, new) \ macro
/linux/arch/hexagon/include/asm/
A Dcmpxchg.h54 #define arch_cmpxchg(ptr, old, new) \ macro
/linux/arch/arm/include/asm/
A Dsync_bitops.h24 #define arch_sync_cmpxchg arch_cmpxchg
/linux/arch/arm64/include/asm/
A Dsync_bitops.h25 #define arch_sync_cmpxchg arch_cmpxchg
A Dcmpxchg.h192 #define arch_cmpxchg(...) __cmpxchg_wrapper( _mb, __VA_ARGS__) macro
199 #define arch_cmpxchg64 arch_cmpxchg
/linux/arch/csky/include/asm/
A Dcmpxchg.h67 #define arch_cmpxchg(ptr, o, n) \ macro
/linux/arch/m68k/include/asm/
A Dcmpxchg.h121 #define arch_cmpxchg(ptr, o, n) \ macro

Completed in 32 milliseconds

12