Lines Matching refs:oldval
8 #define __futex_cas_op(insn, ret, oldval, uaddr, oparg) \ argument
28 : "=&r" (ret), "=&r" (oldval), "=&r" (tem) \
35 int oldval = 0, ret, tem; in arch_futex_atomic_op_inuser() local
44 __futex_cas_op("mov\t%4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
47 __futex_cas_op("add\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
50 __futex_cas_op("or\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
53 __futex_cas_op("andn\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
56 __futex_cas_op("xor\t%2, %4, %1", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
65 *oval = oldval; in arch_futex_atomic_op_inuser()
72 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
90 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()