Lines Matching refs:newval
474 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) in lock_pi_update_atomic() argument
482 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic()
521 u32 uval, newval, vpid = task_pid_vnr(task); in futex_lock_pi_atomic() local
563 newval = uval & FUTEX_OWNER_DIED; in futex_lock_pi_atomic()
564 newval |= vpid; in futex_lock_pi_atomic()
568 newval |= FUTEX_WAITERS; in futex_lock_pi_atomic()
570 ret = lock_pi_update_atomic(uaddr, uval, newval); in futex_lock_pi_atomic()
598 newval = uval | FUTEX_WAITERS; in futex_lock_pi_atomic()
599 ret = lock_pi_update_atomic(uaddr, uval, newval); in futex_lock_pi_atomic()
607 return attach_to_pi_owner(uaddr, newval, key, ps, exiting); in futex_lock_pi_atomic()
619 u32 curval, newval; in wake_futex_pi() local
643 newval = FUTEX_WAITERS | task_pid_vnr(new_owner); in wake_futex_pi()
650 ret = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi()
688 u32 uval, curval, newval, newtid; in __fixup_pi_state_owner() local
770 newval = (uval & FUTEX_OWNER_DIED) | newtid; in __fixup_pi_state_owner()
772 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in __fixup_pi_state_owner()