D | atomic64_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * Read an atomic64_t non-atomically. 22 * of unconditional try_cmpxchg() loops, e.g.: 29 * that can break before the atomic operation, e.g.: 40 return __READ_ONCE(v->counter); in arch_atomic64_read_nonatomic() 52 #define __alternative_atomic64(f, g, out, in...) \ argument 55 : [func] "i" (atomic64_##g##_cx8), ## in) 59 #define __alternative_atomic64(f, g, out, in...) \ argument 60 alternative_call(atomic64_##f##_386, atomic64_##g##_cx8, \ 93 return arch_cmpxchg64(&v->counter, old, new); in arch_atomic64_cmpxchg() [all …]
|