Lines Matching refs:curval
477 u32 curval; in lock_pi_update_atomic() local
482 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic()
487 return curval != uval ? -EAGAIN : 0; in lock_pi_update_atomic()
619 u32 curval, newval; in wake_futex_pi() local
650 ret = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi()
651 if (!ret && (curval != uval)) { in wake_futex_pi()
658 if ((FUTEX_TID_MASK & curval) == uval) in wake_futex_pi()
688 u32 uval, curval, newval, newtid; in __fixup_pi_state_owner() local
772 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in __fixup_pi_state_owner()
776 if (curval == uval) in __fixup_pi_state_owner()
778 uval = curval; in __fixup_pi_state_owner()
1102 u32 curval, uval, vpid = task_pid_vnr(current); in futex_unlock_pi() local
1197 if ((ret = futex_cmpxchg_value_locked(&curval, uaddr, uval, 0))) { in futex_unlock_pi()
1215 ret = (curval == uval) ? 0 : -EAGAIN; in futex_unlock_pi()