Searched refs:arch_atomic_try_cmpxchg (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/arch/x86/include/asm/ |
D | atomic.h | 200 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-v6.1/include/linux/atomic/ |
D | atomic-arch-fallback.h | 1063 #ifdef arch_atomic_try_cmpxchg 1064 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg 1065 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg 1066 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg 1069 #ifndef arch_atomic_try_cmpxchg 1071 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function 1079 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro 1144 #ifndef arch_atomic_try_cmpxchg 1146 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function 1154 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro [all …]
|
D | atomic-long.h | 931 return arch_atomic_try_cmpxchg(v, (int *)old, new); in arch_atomic_long_try_cmpxchg()
|
D | atomic-instrumented.h | 535 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()
|