Lines Matching refs:uq2
1762 struct umtx_q *uq, *uq1, *uq2; in umtx_pi_adjust_thread() local
1777 uq2 = TAILQ_NEXT(uq, uq_lockq); in umtx_pi_adjust_thread()
1779 (uq2 != NULL && UPRI(td) > UPRI(uq2->uq_thread))) { in umtx_pi_adjust_thread()
2520 struct umtx_q *uq, *uq2; in do_lock_pp() local
2640 uq2 = TAILQ_FIRST(&pi->pi_blocked); in do_lock_pp()
2641 if (uq2 != NULL) { in do_lock_pp()
2642 if (pri > UPRI(uq2->uq_thread)) in do_lock_pp()
2643 pri = UPRI(uq2->uq_thread); in do_lock_pp()
2659 uq2 = TAILQ_FIRST(&pi->pi_blocked); in do_lock_pp()
2660 if (uq2 != NULL) { in do_lock_pp()
2661 if (pri > UPRI(uq2->uq_thread)) in do_lock_pp()
2662 pri = UPRI(uq2->uq_thread); in do_lock_pp()
2686 struct umtx_q *uq, *uq2; in do_unlock_pp() local
2749 uq2 = TAILQ_FIRST(&pi->pi_blocked); in do_unlock_pp()
2750 if (uq2 != NULL) { in do_unlock_pp()
2751 if (pri > UPRI(uq2->uq_thread)) in do_unlock_pp()
2752 pri = UPRI(uq2->uq_thread); in do_unlock_pp()