Searched refs:arch_atomic64_try_cmpxchg (Results 1 – 2 of 2) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | atomic64_64.h | 99 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg() function 103 #define arch_atomic64_try_cmpxchg arch_atomic64_try_cmpxchg macro 124 } while (!arch_atomic64_try_cmpxchg(v, &val, val & i)); in arch_atomic64_fetch_and() 142 } while (!arch_atomic64_try_cmpxchg(v, &val, val | i)); in arch_atomic64_fetch_or() 160 } while (!arch_atomic64_try_cmpxchg(v, &val, val ^ i)); in arch_atomic64_fetch_xor()
|
/linux/arch/s390/include/asm/ |
H A D | atomic.h | 197 static __always_inline bool arch_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) in arch_atomic64_try_cmpxchg() function 201 #define arch_atomic64_try_cmpxchg arch_atomic64_try_cmpxchg macro
|