Lines Matching refs:oldval
11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument
27 : "=&r" (oldval), "=&r" (ret) \
35 int oldval = 0, ret; in arch_futex_atomic_op_inuser() local
42 __futex_atomic_op("or %1,%4,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
45 __futex_atomic_op("add %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_atomic_op("or %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("andn %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
54 __futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
61 *oval = oldval; in arch_futex_atomic_op_inuser()
68 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
91 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT)); in futex_atomic_cmpxchg_inatomic()