Home
last modified time | relevance | path

Searched refs:MINPRI (Results 1 – 7 of 7) sorted by relevance

/xnu-8020.140.41/osfmk/kern/
H A Dsched.h82 #define MINPRI 0 /* lowest legal priority schedulable */ macro
83 #define IDLEPRI MINPRI /* idle thread priority */
166 #define MAXPRI_THROTTLE (MINPRI + 4) /* 4 */
167 #define MINPRI_USER MINPRI /* 0 */
169 #define DEPRESSPRI (MINPRI) /* depress priority */
216 #define invalid_pri(pri) ((pri) < MINPRI || (pri) > MAXPRI)
H A Dthread_policy.c669 } else if (priority < MINPRI) { in thread_set_mode_and_absolute_pri_internal()
670 priority = MINPRI; in thread_set_mode_and_absolute_pri_internal()
1100 } else if (priority < MINPRI) { in thread_recompute_priority()
1101 priority = MINPRI; in thread_recompute_priority()
H A Dsched_traditional.c592 if (thread->sched_pri > MAXPRI || thread->sched_pri < MINPRI) {
H A Dpriority.c281 assert(priority >= MINPRI); in sched_set_thread_base_priority()
H A Dprocessor.c261 processor->starting_pri = MINPRI; in processor_init()
H A Dtask_policy.c1225 } else if (priority < MINPRI) { in task_policy_update_internal_locked()
1226 priority = MINPRI; in task_policy_update_internal_locked()
H A Dsched_prim.c2670 if ((new_thread = SCHED(choose_thread)(processor, MINPRI, *reason)) != THREAD_NULL) { in thread_select()