Lines Matching refs:oldval
9 #define __futex_cas_op(insn, ret, oldval, uaddr, oparg) \ argument
29 : "=&r" (ret), "=&r" (oldval), "=&r" (tem) \
36 int oldval = 0, ret, tem; in arch_futex_atomic_op_inuser() local
45 __futex_cas_op("mov\t%4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_cas_op("add\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
51 __futex_cas_op("or\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
54 __futex_cas_op("andn\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
57 __futex_cas_op("xor\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
66 *oval = oldval; in arch_futex_atomic_op_inuser()
73 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
91 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()