Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/include/asm/
Datomic.h200 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
204 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
224 do { } while (!arch_atomic_try_cmpxchg(v, &val, val & i)); in arch_atomic_fetch_and()
242 do { } while (!arch_atomic_try_cmpxchg(v, &val, val | i)); in arch_atomic_fetch_or()
260 do { } while (!arch_atomic_try_cmpxchg(v, &val, val ^ i)); in arch_atomic_fetch_xor()
/Linux-v5.15/include/linux/atomic/
Datomic-arch-fallback.h979 #ifdef arch_atomic_try_cmpxchg
980 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg
981 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg
982 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg
985 #ifndef arch_atomic_try_cmpxchg
987 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
995 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1060 #ifndef arch_atomic_try_cmpxchg
1062 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1070 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
[all …]
Datomic-long.h931 return arch_atomic_try_cmpxchg(v, (int *)old, new); in arch_atomic_long_try_cmpxchg()
Datomic-instrumented.h505 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()