Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/include/linux/
Datomic-arch-fallback.h909 #ifdef arch_atomic_try_cmpxchg
910 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg
911 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg
912 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg
915 #ifndef arch_atomic_try_cmpxchg
917 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
925 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
990 #ifndef arch_atomic_try_cmpxchg
992 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1000 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
[all …]
Datomic-fallback.h1000 #define arch_atomic_try_cmpxchg atomic_try_cmpxchg macro
/Linux-v5.10/include/asm-generic/
Datomic-instrumented.h690 #if defined(arch_atomic_try_cmpxchg)
696 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()