Lines Matching refs:sched_mode
119 if ((thread->sched_mode == TH_MODE_REALTIME || thread->sched_mode == TH_MODE_FIXED) &&
128 (uintptr_t)thread->sched_pri, (uintptr_t)thread->sched_mode, 0, 0, 0);
130 if (thread->sched_mode == TH_MODE_REALTIME) {
134 thread->saved_mode = thread->sched_mode;
138 thread->sched_mode = TH_MODE_TIMESHARE;
141 thread->sched_mode = TH_MODE_FIXED;
160 processor->current_thmode = thread->sched_mode;
224 if (thread->sched_mode == TH_MODE_TIMESHARE) {
347 if (thread->sched_mode == TH_MODE_TIMESHARE)
465 thread->sched_mode = thread->saved_mode;
484 if (thread->sched_mode == TH_MODE_REALTIME) {
485 thread->saved_mode = thread->sched_mode;
486 thread->sched_mode = TH_MODE_TIMESHARE;
497 thread->saved_mode = thread->sched_mode;
504 if ((thread->sched_mode == TH_MODE_TIMESHARE)
510 thread->sched_mode = thread->saved_mode;
525 if ( (thread->sched_mode == TH_MODE_TIMESHARE) &&