Home
last modified time | relevance | path

Searched defs:atomic_cmpxchg (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/arch/sh/include/asm/
Datomic.h36 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/m68k/include/asm/
Datomic.h165 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
170 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/tools/testing/selftests/futex/include/
Datomic.h36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() function
/Linux-v5.4/tools/arch/x86/include/asm/
Datomic.h68 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/tools/include/asm-generic/
Datomic-gcc.h67 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg() function
/Linux-v5.4/arch/h8300/include/asm/
Datomic.h72 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/arch/hexagon/include/asm/
Datomic.h66 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/arch/xtensa/include/asm/
Datomic.h258 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/sparc/include/asm/
Datomic_64.h53 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/Linux-v5.4/include/asm-generic/
Datomic.h196 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
Datomic-instrumented.h651 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
656 #define atomic_cmpxchg atomic_cmpxchg macro
/Linux-v5.4/arch/arc/include/asm/
Dcmpxchg.h104 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/sparc/lib/
Datomic32.c83 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/arch/parisc/include/asm/
Datomic.h77 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/alpha/include/asm/
Datomic.h205 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/Linux-v5.4/arch/mips/include/asm/
Datomic.h230 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/arch/riscv/include/asm/
Datomic.h310 #define atomic_cmpxchg atomic_cmpxchg in ATOMIC_OPS() macro
/Linux-v5.4/arch/ia64/include/asm/
Datomic.h211 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/Linux-v5.4/arch/arm/include/asm/
Datomic.h202 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/Linux-v5.4/arch/powerpc/include/asm/
Datomic.h195 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/Linux-v5.4/include/linux/
Datomic-fallback.h893 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
901 #define atomic_cmpxchg atomic_cmpxchg macro