Lines Matching refs:oldval
25 #define __futex_atomic_op(op, insn, ret, oldval, uaddr, oparg) \ argument
51 : "=r" (ret), "=&r" (oldval), \
81 : "=r" (ret), "=&r" (oldval), \
95 int oldval = 0, ret; in arch_futex_atomic_op_inuser() local
102 __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
107 ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
111 ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
115 ret, oldval, uaddr, ~oparg); in arch_futex_atomic_op_inuser()
119 ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
126 *oval = oldval; in arch_futex_atomic_op_inuser()
133 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
168 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
198 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
202 return futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()