Home
last modified time | relevance | path

Searched refs:arch_atomic_cmpxchg (Results 1 – 4 of 4) sorted by relevance

/include/asm-generic/
Datomic.h134 #define arch_atomic_cmpxchg(v, old, new) (arch_cmpxchg(&((v)->counter), (old), (new))) macro
/include/linux/atomic/
Datomic-arch-fallback.h951 #define arch_atomic_cmpxchg_acquire arch_atomic_cmpxchg
952 #define arch_atomic_cmpxchg_release arch_atomic_cmpxchg
953 #define arch_atomic_cmpxchg_relaxed arch_atomic_cmpxchg
977 #ifndef arch_atomic_cmpxchg
979 arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() function
987 #define arch_atomic_cmpxchg arch_atomic_cmpxchg macro
1004 r = arch_atomic_cmpxchg(v, o, new); in arch_atomic_try_cmpxchg()
Datomic-long.h907 return arch_atomic_cmpxchg(v, old, new); in arch_atomic_long_cmpxchg()
Datomic-instrumented.h476 return arch_atomic_cmpxchg(v, old, new); in atomic_cmpxchg()