Lines Matching defs:pri
1488 int pri;
1491 pri = UPRI(td);
1508 if (td->td_lend_user_pri > pri)
1509 sched_lend_user_prio(td, pri);
1537 int pri;
1544 pri = PRI_MAX;
1550 if (pri > UPRI(uq->uq_thread))
1551 pri = UPRI(uq->uq_thread);
1555 if (pri > uq_owner->uq_inherited_pri)
1556 pri = uq_owner->uq_inherited_pri;
1558 sched_lend_user_prio(pi->pi_owner, pri);
1600 int pri;
1618 pri = UPRI(uq->uq_thread);
1620 if (pri < UPRI(owner))
1621 sched_lend_user_prio(owner, pri);
1660 int error, pri;
1685 pri = UPRI(uq1->uq_thread);
1686 if (pri > UPRI(td))
2000 int count, error, pri;
2063 pri = PRI_MAX;
2067 if (pri > UPRI(uq_first2->uq_thread))
2068 pri = UPRI(uq_first2->uq_thread);
2072 sched_lend_user_prio(td, pri);
2135 int error, pri, old_inherited_pri, su, rv;
2248 pri = PRI_MAX;
2252 if (pri > UPRI(uq2->uq_thread))
2253 pri = UPRI(uq2->uq_thread);
2256 if (pri > uq->uq_inherited_pri)
2257 pri = uq->uq_inherited_pri;
2259 sched_lend_user_prio(td, pri);
2267 pri = PRI_MAX;
2271 if (pri > UPRI(uq2->uq_thread))
2272 pri = UPRI(uq2->uq_thread);
2275 if (pri > uq->uq_inherited_pri)
2276 pri = uq->uq_inherited_pri;
2278 sched_lend_user_prio(td, pri);
2299 int error, pri, new_inherited_pri, su;
2356 pri = PRI_MAX;
2360 if (pri > UPRI(uq2->uq_thread))
2361 pri = UPRI(uq2->uq_thread);
2364 if (pri > uq->uq_inherited_pri)
2365 pri = uq->uq_inherited_pri;
2367 sched_lend_user_prio(td, pri);