Searched refs:arch_atomic_try_cmpxchg (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/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-v5.10/include/linux/ |
| D | atomic-arch-fallback.h | 909 #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 …]
|
| D | atomic-fallback.h | 1000 #define arch_atomic_try_cmpxchg atomic_try_cmpxchg macro
|
| /Linux-v5.10/include/asm-generic/ |
| D | atomic-instrumented.h | 690 #if defined(arch_atomic_try_cmpxchg) 696 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()
|