Lines Matching refs:oldval
23 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
28 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
34 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local
40 ret = get_user(oldval, uaddr); in arch_futex_atomic_op_inuser()
49 newval = oldval + oparg; in arch_futex_atomic_op_inuser()
52 newval = oldval | oparg; in arch_futex_atomic_op_inuser()
55 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser()
58 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser()
67 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser()
68 } while (!ret && prev != oldval); in arch_futex_atomic_op_inuser()
73 *oval = oldval; in arch_futex_atomic_op_inuser()