Searched refs:arch_atomic_xchg (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/arch/sparc/include/asm/ |
D | atomic_32.h | 39 int arch_atomic_xchg(atomic_t *, int); 40 #define arch_atomic_xchg arch_atomic_xchg macro
|
/Linux-v6.6/arch/x86/include/asm/ |
D | atomic.h | 119 static __always_inline int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg() function 123 #define arch_atomic_xchg arch_atomic_xchg macro
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | atomic.h | 186 static inline int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg() function 197 #define arch_atomic_xchg arch_atomic_xchg macro
|
/Linux-v6.6/arch/sparc/lib/ |
D | atomic32.c | 70 int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg() function 81 EXPORT_SYMBOL(arch_atomic_xchg);
|
/Linux-v6.6/arch/s390/include/asm/ |
D | atomic.h | 75 #define arch_atomic_xchg(v, new) (arch_xchg(&((v)->counter), new)) in ATOMIC_OPS() macro
|
/Linux-v6.6/include/linux/atomic/ |
D | atomic-arch-fallback.h | 1899 #if defined(arch_atomic_xchg) in raw_atomic_xchg() 1900 return arch_atomic_xchg(v, new); in raw_atomic_xchg() 1932 #elif defined(arch_atomic_xchg) in raw_atomic_xchg_acquire() 1933 return arch_atomic_xchg(v, new); in raw_atomic_xchg_acquire() 1958 #elif defined(arch_atomic_xchg) in raw_atomic_xchg_release() 1959 return arch_atomic_xchg(v, new); in raw_atomic_xchg_release() 1981 #elif defined(arch_atomic_xchg) in raw_atomic_xchg_relaxed() 1982 return arch_atomic_xchg(v, new); in raw_atomic_xchg_relaxed()
|