Searched refs:MINPRI (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | sched.h | 82 #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 */ 239 #define invalid_pri(pri) ((pri) < MINPRI || (pri) > MAXPRI)
|
| H A D | thread_policy.c | 704 } else if (priority < MINPRI) { in thread_set_mode_and_absolute_pri_internal() 705 priority = MINPRI; in thread_set_mode_and_absolute_pri_internal() 1140 adj_priority = MAX(adj_priority, MINPRI); in thread_recompute_priority()
|
| H A D | priority.c | 287 assert(priority >= MINPRI); in sched_set_thread_base_priority()
|
| H A D | task_policy.c | 1281 } else if (priority < MINPRI) { in task_policy_update_internal_locked() 1282 priority = MINPRI; in task_policy_update_internal_locked()
|
| H A D | processor.c | 327 processor->starting_pri = MINPRI; in processor_init()
|
| H A D | sched_clutch.c | 3353 assert(bound_pri < MINPRI && clutch_pri < MINPRI); in sched_clutch_processor_highest_thread()
|
| H A D | sched_prim.c | 2722 …if ((new_thread = SCHED(choose_thread)(processor, MINPRI, current_thread_can_keep_running ? thread… in thread_select()
|
| /xnu-12377.61.12/tests/sched/sched_test_harness/ |
| H A D | sched_clutch_harness.c | 70 return sched_clutch_choose_thread(cpus[cpu_id], MINPRI, NULL, 0); in impl_cpu_dequeue_thread() 78 return sched_clutch_choose_thread(cpus[cpu_id], MINPRI, cpus[cpu_id]->active_thread, 0); in impl_cpu_dequeue_thread_compare_current()
|
| H A D | sched_edge_harness.c | 321 return sched_clutch_choose_thread(cpus[cpu_id], MINPRI, NULL, 0); in impl_cpu_dequeue_thread() 333 return sched_clutch_choose_thread(cpus[cpu_id], MINPRI, cpus[cpu_id]->active_thread, 0); in impl_cpu_dequeue_thread_compare_current()
|