Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/
Datomic.h194 static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
198 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
/linux-6.1.9/arch/csky/include/asm/
Datomic.h215 int arch_atomic_cmpxchg(atomic_t *v, int o, int n) \
228 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
/linux-6.1.9/arch/s390/include/asm/
Datomic.h77 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in ATOMIC_OPS()
81 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
/linux-6.1.9/arch/m68k/include/asm/
Datomic.h163 #define arch_atomic_cmpxchg(v, o, n) ((int)arch_cmpxchg(&((v)->counter), (o), (n))) macro
168 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
/linux-6.1.9/arch/sh/include/asm/
Datomic.h34 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
/linux-6.1.9/arch/arc/include/asm/
Datomic.h25 #define arch_atomic_cmpxchg(v, o, n) \ macro
/linux-6.1.9/arch/sparc/lib/
Datomic32.c83 int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
96 EXPORT_SYMBOL(arch_atomic_cmpxchg);
/linux-6.1.9/arch/sparc/include/asm/
Datomic_32.h26 int arch_atomic_cmpxchg(atomic_t *, int, int);
Datomic_64.h52 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/linux-6.1.9/arch/arm64/include/asm/
Datomic.h160 #define arch_atomic_cmpxchg(v, old, new) \ macro
220 #define arch_atomic64_cmpxchg arch_atomic_cmpxchg
/linux-6.1.9/arch/hexagon/include/asm/
Datomic.h64 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
/linux-6.1.9/arch/openrisc/include/asm/
Datomic.h134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
/linux-6.1.9/include/linux/atomic/
Datomic-arch-fallback.h1021 #define arch_atomic_cmpxchg_acquire arch_atomic_cmpxchg
1022 #define arch_atomic_cmpxchg_release arch_atomic_cmpxchg
1023 #define arch_atomic_cmpxchg_relaxed arch_atomic_cmpxchg
1047 #ifndef arch_atomic_cmpxchg
1049 arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
1057 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
1074 r = arch_atomic_cmpxchg(v, o, new); in arch_atomic_try_cmpxchg()
Datomic-long.h907 return arch_atomic_cmpxchg(v, old, new); in arch_atomic_long_cmpxchg()
Datomic-instrumented.h504 return arch_atomic_cmpxchg(v, old, new); in atomic_cmpxchg()
/linux-6.1.9/include/asm-generic/
Datomic.h134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
/linux-6.1.9/arch/riscv/include/asm/
Datomic.h308 #define arch_atomic_cmpxchg arch_atomic_cmpxchg in ATOMIC_OPS() macro
/linux-6.1.9/arch/xtensa/include/asm/
Datomic.h260 #define arch_atomic_cmpxchg(v, o, n) ((int)arch_cmpxchg(&((v)->counter), (o), (n))) macro
/linux-6.1.9/arch/parisc/include/asm/
Datomic.h77 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
/linux-6.1.9/arch/alpha/include/asm/
Datomic.h208 #define arch_atomic_cmpxchg(v, old, new) \ in ATOMIC_OPS() macro
/linux-6.1.9/arch/ia64/include/asm/
Datomic.h210 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), old, new)) macro
/linux-6.1.9/arch/loongarch/include/asm/
Datomic.h184 #define arch_atomic_cmpxchg(v, o, n) (arch_cmpxchg(&((v)->counter), (o), (n))) macro
/linux-6.1.9/arch/powerpc/include/asm/
Datomic.h121 #define arch_atomic_cmpxchg(v, o, n) \ macro
/linux-6.1.9/arch/arm/include/asm/
Datomic.h200 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c418 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) { in nmi_ipi_lock_start()
428 while (arch_atomic_cmpxchg(&__nmi_ipi_lock, 0, 1) == 1) in nmi_ipi_lock()