Lines Matching refs:oldval
9 #define __futex_atomic_op1(insn, ret, oldval, uaddr, oparg) \ argument
17 : "+r" (r8), "=r" (oldval) \
23 #define __futex_atomic_op2(insn, ret, oldval, uaddr, oparg) \ argument
38 : "+r" (r8), "=r" (val), "=&r" (oldval), \
44 } while (unlikely (val != oldval)); \
51 int oldval = 0, ret; in arch_futex_atomic_op_inuser() local
58 __futex_atomic_op1("xchg4 %1=[%2],%3", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
62 __futex_atomic_op2("add %3=%3,%5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
65 __futex_atomic_op2("or %3=%3,%5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
68 __futex_atomic_op2("and %3=%3,%5", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
72 __futex_atomic_op2("xor %3=%3,%5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
79 *oval = oldval; in arch_futex_atomic_op_inuser()
86 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
102 "rO" ((long) (unsigned) oldval) in futex_atomic_cmpxchg_inatomic()