Lines Matching defs:pri
163 static int sleepq_catch_signals(void *wchan, int pri);
171 int pri);
172 static void sleepq_switch(void *wchan, int pri);
431 sleepq_catch_signals(void *wchan, int pri)
527 sleepq_switch(wchan, pri);
557 sleepq_switch(void *wchan, int pri)
621 sched_sleep(td, pri);
697 sleepq_wait(void *wchan, int pri)
704 sleepq_switch(wchan, pri);
713 sleepq_wait_sig(void *wchan, int pri)
718 rcatch = sleepq_catch_signals(wchan, pri);
731 sleepq_timedwait(void *wchan, int pri)
739 sleepq_switch(wchan, pri);
751 sleepq_timedwait_sig(void *wchan, int pri)
755 rcatch = sleepq_catch_signals(wchan, pri);
793 sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, int pri)
836 MPASS(pri == 0 || (pri >= PRI_MIN && pri <= PRI_MAX));
837 if (pri != 0 && td->td_priority > pri &&
839 sched_prio(td, pri);
895 sleepq_signal(void *wchan, int flags, int pri, int queue)
942 wakeup_swapper = sleepq_resume_thread(sq, besttd, pri);
958 sleepq_broadcast(void *wchan, int flags, int pri, int queue)
971 return (sleepq_remove_matching(sq, queue, match_any, pri));
979 bool (*matches)(struct thread *), int pri)
994 wakeup_swapper |= sleepq_resume_thread(sq, td, pri);