Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m68k/include/asm/
Datomic.h124 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
129 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/tools/testing/selftests/futex/include/
Datomic.h40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() function
/linux-4.4.14/arch/arc/include/asm/
Dcmpxchg.h81 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/metag/include/asm/
Datomic_lock1.h79 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/arch/sh/include/asm/
Datomic.h39 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/mn10300/include/asm/
Datomic.h132 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
/linux-4.4.14/arch/hexagon/include/asm/
Datomic.h78 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/arch/xtensa/include/asm/
Datomic.h230 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/linux-4.4.14/arch/tile/include/asm/
Datomic.h137 static inline int atomic_cmpxchg(atomic_t *v, int o, int n) in atomic_cmpxchg() function
/linux-4.4.14/arch/h8300/include/asm/
Datomic.h66 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/arch/m32r/include/asm/
Datomic.h219 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/x86/include/asm/
Datomic.h175 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/include/asm-generic/
Datomic.h177 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
/linux-4.4.14/arch/sparc/lib/
Datomic32.c77 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/arch/avr32/include/asm/
Datomic.h182 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/sparc/include/asm/
Datomic_64.h76 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/linux-4.4.14/arch/frv/include/asm/
Datomic.h164 #define atomic_cmpxchg(v, old, new) (cmpxchg(&(v)->counter, old, new)) macro
/linux-4.4.14/arch/alpha/include/asm/
Datomic.h134 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/linux-4.4.14/arch/parisc/include/asm/
Datomic.h74 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/ia64/include/asm/
Datomic.h134 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/linux-4.4.14/arch/mips/include/asm/
Datomic.h215 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/powerpc/include/asm/
Datomic.h158 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.4.14/arch/arm64/include/asm/
Datomic.h90 #define atomic_cmpxchg(v, old, new) cmpxchg(&((v)->counter), (old), (new)) macro
/linux-4.4.14/arch/arm/include/asm/
Datomic.h162 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-4.4.14/include/linux/
Datomic.h199 #define atomic_cmpxchg(...) \ macro