Lines Matching defs:pri
165 static int sleepq_catch_signals(const void *wchan, int pri);
173 int pri, int srqflags);
175 static void sleepq_switch(const void *wchan, int pri);
502 sleepq_catch_signals(const void *wchan, int pri)
523 sleepq_switch(wchan, pri);
546 sleepq_switch(const void *wchan, int pri)
604 sched_sleep(td, pri);
652 sleepq_wait(const void *wchan, int pri)
659 sleepq_switch(wchan, pri);
667 sleepq_wait_sig(const void *wchan, int pri)
671 rcatch = sleepq_catch_signals(wchan, pri);
682 sleepq_timedwait(const void *wchan, int pri)
690 sleepq_switch(wchan, pri);
700 sleepq_timedwait_sig(const void *wchan, int pri)
704 rcatch = sleepq_catch_signals(wchan, pri);
741 sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, int pri,
777 MPASS(pri == 0 || (pri >= PRI_MIN && pri <= PRI_MAX));
778 if (pri != 0 && td->td_priority > pri &&
780 sched_prio(td, pri);
925 sleepq_signal(const void *wchan, int flags, int pri, int queue)
973 sleepq_resume_thread(sq, besttd, pri,
988 sleepq_broadcast(const void *wchan, int flags, int pri, int queue)
1000 sleepq_remove_matching(sq, queue, match_any, pri);
1009 bool (*matches)(struct thread *), int pri)
1021 sleepq_resume_thread(sq, td, pri, SRQ_HOLD);