Home
last modified time | relevance | path

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

/linux-3.3/arch/m68k/include/asm/
Datomic.h105 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
138 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/sh/include/asm/
Datomic.h38 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/sparc/lib/
Datomic32.c43 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/hexagon/include/asm/
Datomic.h63 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/arm/include/asm/
Datomic.h113 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() function
184 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/xtensa/include/asm/
Datomic.h224 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/avr32/include/asm/
Datomic.h169 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/h8300/include/asm/
Datomic.h92 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/include/asm-generic/
Datomic.h136 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
/linux-3.3/arch/m32r/include/asm/
Datomic.h238 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/cris/include/asm/
Datomic.h126 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/x86/include/asm/
Datomic.h209 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/tile/include/asm/
Datomic_32.h52 static inline int atomic_cmpxchg(atomic_t *v, int o, int n) in atomic_cmpxchg() function
Datomic_64.h34 static inline int atomic_cmpxchg(atomic_t *v, int o, int n) in atomic_cmpxchg() function
/linux-3.3/arch/sparc/include/asm/
Datomic_64.h70 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/mn10300/include/asm/
Datomic.h118 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
/linux-3.3/arch/frv/include/asm/
Datomic.h239 #define atomic_cmpxchg(v, old, new) (cmpxchg(&(v)->counter, old, new)) macro
/linux-3.3/arch/alpha/include/asm/
Datomic.h175 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/linux-3.3/arch/ia64/include/asm/
Datomic.h86 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/linux-3.3/arch/powerpc/include/asm/
Datomic.h180 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/mips/include/asm/
Datomic.h302 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.3/arch/s390/include/asm/
Datomic.h86 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/linux-3.3/arch/parisc/include/asm/
Datomic.h196 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro