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
43 __futex_cas_op("mov\t%4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
46 __futex_cas_op("add\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
49 __futex_cas_op("or\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
52 __futex_cas_op("andn\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
55 __futex_cas_op("xor\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
62 *oval = oldval; in arch_futex_atomic_op_inuser()
69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
87 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()