Home
last modified time | relevance | path

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

12

/linux/include/asm-generic/
A Dcmpxchg.h100 #ifndef arch_xchg
101 #define arch_xchg generic_xchg macro
A Datomic.h133 #define arch_atomic_xchg(ptr, v) (arch_xchg(&(ptr)->counter, (v)))
/linux/arch/sparc/include/asm/
A Datomic_64.h56 return arch_xchg(&v->counter, new); in ATOMIC_OPS()
61 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new))
A Dcmpxchg_32.h28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));}) macro
/linux/arch/riscv/include/asm/
A Dcmpxchg.h143 #define arch_xchg(ptr, x) \ macro
152 arch_xchg((ptr), (x)); \
158 arch_xchg((ptr), (x)); \
/linux/arch/s390/include/asm/
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))
A Dcmpxchg.h75 #define arch_xchg(ptr, x) \ macro
/linux/arch/parisc/include/asm/
A Datomic.h78 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new))
224 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new))
A Dcmpxchg.h47 #define arch_xchg(ptr, x) \ macro
/linux/arch/ia64/include/asm/
A Dcmpxchg.h7 #define arch_xchg(ptr, x) \ macro
A Datomic.h211 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new))
215 #define arch_atomic64_xchg(v, new) (arch_xchg(&((v)->counter), new))
/linux/arch/sh/include/asm/
A Datomic.h33 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new))
A Dcmpxchg.h48 #define arch_xchg(ptr,x) \ macro
/linux/arch/alpha/include/asm/
A Datomic.h206 (arch_xchg(&((v)->counter), new)) in ATOMIC_OPS()
211 (arch_xchg(&((v)->counter), new)) in ATOMIC_OPS()
A Dcmpxchg.h45 #define arch_xchg(ptr, x) \ macro
/linux/arch/arc/include/asm/
A Datomic.h39 arch_xchg(&((v)->counter), (n)); \
A Dcmpxchg.h122 #define arch_xchg(ptr, val) \ macro
/linux/arch/hexagon/include/asm/
A Dcmpxchg.h45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ macro
A Datomic.h44 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), (new)))
/linux/include/linux/atomic/
A Datomic-arch-fallback.h12 #define arch_xchg_acquire arch_xchg
13 #define arch_xchg_release arch_xchg
14 #define arch_xchg_relaxed arch_xchg
19 __atomic_op_acquire(arch_xchg, __VA_ARGS__)
24 __atomic_op_release(arch_xchg, __VA_ARGS__)
27 #ifndef arch_xchg
28 #define arch_xchg(...) \ macro
29 __atomic_op_fence(arch_xchg, __VA_ARGS__)
/linux/arch/m68k/include/asm/
A Dcmpxchg.h79 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));}) macro
/linux/arch/openrisc/include/asm/
A Datomic.h133 #define arch_atomic_xchg(ptr, v) (arch_xchg(&(ptr)->counter, (v)))
A Dcmpxchg.h164 #define arch_xchg(ptr, with) \ macro
/linux/arch/powerpc/include/asm/
A Datomic.h194 (arch_xchg(&((v)->counter), new))
514 (arch_xchg(&((v)->counter), new))
/linux/arch/arm/include/asm/
A Dcmpxchg.h131 #define arch_xchg arch_xchg_relaxed macro

Completed in 21 milliseconds

12