Lines Matching refs:oldval
14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument
24 : "=r" (ret), "=&r" (oldval), \
33 int oldval = 0, ret = 0; in arch_futex_atomic_op_inuser() local
39 __futex_atomic_op("move $t0, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
42 __futex_atomic_op("add.w $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
45 __futex_atomic_op("or $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
48 __futex_atomic_op("and $t0, %1, %z5", ret, oldval, uaddr, ~oparg); in arch_futex_atomic_op_inuser()
51 __futex_atomic_op("xor $t0, %1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
60 *oval = oldval; in arch_futex_atomic_op_inuser()
66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
86 : "ZC" (*uaddr), "Jr" (oldval), "Jr" (newval) in futex_atomic_cmpxchg_inatomic()