Home
last modified time | relevance | path

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

/arch/sh/include/asm/
Datomic.h34 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/arch/h8300/include/asm/
Datomic.h70 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/arch/m68k/include/asm/
Datomic.h163 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
168 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/arch/hexagon/include/asm/
Datomic.h64 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/arch/xtensa/include/asm/
Datomic.h260 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/arch/sparc/include/asm/
Datomic_64.h52 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/arch/arc/include/asm/
Dcmpxchg.h78 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/arch/sparc/lib/
Datomic32.c83 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/arch/parisc/include/asm/
Datomic.h77 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/arch/alpha/include/asm/
Datomic.h204 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/arch/ia64/include/asm/
Datomic.h210 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/arch/riscv/include/asm/
Datomic.h308 #define atomic_cmpxchg atomic_cmpxchg in ATOMIC_OPS() macro
/arch/arm/include/asm/
Datomic.h200 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/arch/powerpc/include/asm/
Datomic.h185 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro