Lines Matching refs:sched_mode
904 if (thread->sched_mode == TH_MODE_TIMESHARE)
928 if (thread->sched_mode == TH_MODE_REALTIME) {
1646 processor->current_thmode = thread->sched_mode;
1695 if (!inactive_state && (thread->sched_mode != TH_MODE_FAIRSHARE || SCHED(fairshare_runq_count)() == 0) && (rt_runq.count == 0 || BASEPRI_RTQUEUES < thread->sched_pri) &&
1696 (new_thread = SCHED(choose_thread)(processor, thread->sched_mode == TH_MODE_FAIRSHARE ? MINPRI : thread->sched_pri)) == THREAD_NULL) {
1864 if (thread->sched_mode == TH_MODE_TIMESHARE)
1914 if (thread->sched_mode == TH_MODE_REALTIME)
1947 if (thread->sched_mode == TH_MODE_TIMESHARE)
2098 if ((self->sched_mode == TH_MODE_REALTIME) && !self->reserved_stack)
2120 processor->current_thmode = thread->sched_mode;
2230 processor->current_thmode = thread->sched_mode;
2362 if (thread->sched_mode == TH_MODE_REALTIME) {
2439 if (thread->sched_mode == TH_MODE_TIMESHARE)
2464 if (self->sched_mode == TH_MODE_REALTIME)
2660 if (thread->sched_mode == TH_MODE_REALTIME) {
3111 if ((thread->sched_mode == TH_MODE_TIMESHARE) && thread->sched_pri < thread->priority)
3604 else if (thread->sched_mode == TH_MODE_FAIRSHARE)
3757 processor->current_thmode = thread->sched_mode;
3866 if (thread->sched_mode == TH_MODE_FAIRSHARE) {
4028 if (thread->sched_mode == TH_MODE_REALTIME) {
4366 (thread->sched_mode == TH_MODE_TIMESHARE) ) {