Lines Matching refs:top_waiter
522 struct futex_q *top_waiter; in futex_lock_pi_atomic() local
548 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic()
549 if (top_waiter) in futex_lock_pi_atomic()
550 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in futex_lock_pi_atomic()
615 struct rt_mutex_waiter *top_waiter; in wake_futex_pi() local
622 top_waiter = rt_mutex_top_waiter(&pi_state->pi_mutex); in wake_futex_pi()
623 if (WARN_ON_ONCE(!top_waiter)) { in wake_futex_pi()
636 new_owner = top_waiter->task; in wake_futex_pi()
1105 struct futex_q *top_waiter; in futex_unlock_pi() local
1132 top_waiter = futex_top_waiter(hb, &key); in futex_unlock_pi()
1133 if (top_waiter) { in futex_unlock_pi()
1134 struct futex_pi_state *pi_state = top_waiter->pi_state; in futex_unlock_pi()