Lines Matching refs:oldval
21 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
32 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local
36 ret = get_user(oldval, uaddr); in arch_futex_atomic_op_inuser()
45 newval = oldval + oparg; in arch_futex_atomic_op_inuser()
48 newval = oldval | oparg; in arch_futex_atomic_op_inuser()
51 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser()
54 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser()
63 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser()
64 } while (!ret && prev != oldval); in arch_futex_atomic_op_inuser()
67 *oval = oldval; in arch_futex_atomic_op_inuser()