Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86atomic.h52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) macro
73 # define atomic_cmpxchg(x, oldv, newv) AO_compare_and_swap_full(&(x)->atomic, oldv, newv) macro
97 # define atomic_cmpxchg(x, oldv, newv) atomic_cas_uint (&(x)->atomic, oldv, newv) macro
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A 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
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Datomic.h34 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/futex/include/
H A Datomic.h36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Datomic.h68 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/tools/include/asm-generic/
H A Datomic-gcc.h67 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/arch/h8300/include/asm/
H A Datomic.h70 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/arch/hexagon/include/asm/
H A Datomic.h64 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/arch/xtensa/include/asm/
H A Datomic.h260 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Datomic_64.h52 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() macro
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A Dcmpxchg.h78 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) macro
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Datomic.h194 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
H A Datomic-instrumented.h652 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
657 #define atomic_cmpxchg atomic_cmpxchg macro
/OK3568_Linux_fs/kernel/arch/sparc/lib/
H A Datomic32.c83 int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/arch/parisc/include/asm/
H A Datomic.h77 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A Datomic.h204 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Datomic.h210 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Datomic.h308 #define atomic_cmpxchg atomic_cmpxchg in ATOMIC_OPS() macro
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Datomic.h200 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Datomic.h185 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/OK3568_Linux_fs/kernel/include/linux/
H A Datomic-fallback.h987 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function
995 #define atomic_cmpxchg atomic_cmpxchg macro