Lines Matching +full:low +full:- +full:g
1 /* SPDX-License-Identifier: GPL-2.0 */
26 #define __alternative_atomic64(f, g, out, in...) \ argument
28 : out : [func] "i" (atomic64_##g##_cx8), ## in)
32 #define __alternative_atomic64(f, g, out, in...) \ argument
33 alternative_call(atomic64_##f##_386, atomic64_##g##_cx8, \
65 * arch_atomic64_cmpxchg - cmpxchg atomic64 variable
76 return arch_cmpxchg64(&v->counter, o, n); in arch_atomic64_cmpxchg()
81 * arch_atomic64_xchg - xchg atomic64 variable
92 unsigned low = (unsigned)n; in arch_atomic64_xchg() local
94 "S" (v), "b" (low), "c" (high) in arch_atomic64_xchg()
101 * arch_atomic64_set - set atomic64 variable
110 unsigned low = (unsigned)i; in arch_atomic64_set() local
112 "S" (v), "b" (low), "c" (high) in arch_atomic64_set()
117 * arch_atomic64_read - read atomic64 variable
130 * arch_atomic64_add_return - add and return
176 * arch_atomic64_add - add integer to atomic64 variable
191 * arch_atomic64_sub - subtract the atomic64 variable
206 * arch_atomic64_inc - increment atomic64 variable
219 * arch_atomic64_dec - decrement atomic64 variable
232 * arch_atomic64_add_unless - add unless the number is a given value
238 * Returns non-zero if the add was done, zero otherwise.
242 unsigned low = (unsigned)u; in arch_atomic64_add_unless() local
245 ASM_OUTPUT2("+A" (a), "+c" (low), "+D" (high)), in arch_atomic64_add_unless()
340 #define arch_atomic64_fetch_sub(i, v) arch_atomic64_fetch_add(-(i), (v))