Searched refs:SCHED (Results 1 - 17 of 17) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dsyscall_subr.c118 result = !SCHED(processor_queue_empty)(myprocessor) || rt_runq.count > 0;
134 if (SCHED(processor_queue_empty)(myprocessor) && rt_runq.count == 0) {
147 result = !SCHED(processor_queue_empty)(myprocessor) || rt_runq.count > 0;
163 result = !SCHED(processor_queue_empty)(myprocessor) || rt_runq.count > 0;
179 if (SCHED(processor_queue_empty)(myprocessor) && rt_runq.count == 0) {
196 result = !SCHED(processor_queue_empty)(myprocessor) || rt_runq.count > 0;
393 SCHED(compute_priority)(thread, FALSE);
414 SCHED(compute_priority)(thread, FALSE);
476 if (SCHED(processor_queue_empty)(myprocessor) && rt_runq.count == 0) {
H A Dpriority.c136 if (SCHED(supports_timeshare_mode)) {
152 if (SCHED(can_update_priority)(thread))
153 SCHED(update_priority)(thread);
155 SCHED(lightweight_update_priority)(thread);
157 SCHED(quantum_expire)(thread);
202 pset_count_hint(pset, processor, SCHED(processor_runq_count)(processor));
323 SCHED(compute_priority)(thread, FALSE);
H A Dsched_prim.c573 SCHED(init)();
574 SCHED(fairshare_init)();
579 SCHED(pset_init)(&pset0);
580 SCHED(processor_init)(master_processor);
591 SCHED(timebase_init)();
1642 if (SCHED(can_update_priority)(thread))
1643 SCHED(update_priority)(thread);
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) {
1704 pset_count_hint(pset, processor, SCHED(processor_runq_coun
[all...]
H A Dprocessor.h221 if ((cnt) < SCHED(processor_runq_count)((ps)->low_count)) \
H A Dthread_policy.c97 if (!SCHED(supports_timeshare_mode)())
359 thread->sched_mode = SCHED(initial_thread_sched_mode)(thread->task);
H A Dhost.c205 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL);
629 out->ps_runq_count_sum = SCHED(processor_runq_stats_count_sum)(processor);
651 out->ps_runq_count_sum = SCHED(fairshare_runq_stats_count_sum)();
H A Dmachine.c276 SCHED(processor_queue_shutdown)(processor);
H A Dthread.c776 new_thread->sched_mode = SCHED(initial_thread_sched_mode)(parent_task);
809 SCHED(compute_priority)(new_thread, FALSE);
1128 if (SCHED(can_update_priority)(thread))
1129 SCHED(update_priority)(thread);
1291 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL);
H A Dprocessor.c150 SCHED(processor_init)(processor);
254 SCHED(pset_init)(pset);
H A Dmk_sp.c83 && !SCHED(supports_timeshare_mode)())
H A Dsched_prim.h455 #define SCHED(f) (sched_current_dispatch->f) macro
H A Dsched_proto.c435 if (SCHED(priority_is_urgent)(thread->sched_pri)) {
H A Dsched_fixedpriority.c574 } else if ((!first_timeslice(processor)) && SCHED(fairshare_runq_count)() > 0) {
H A Dthread_act.c710 SCHED(compute_priority)(thread, TRUE);
H A Dlocks.c758 SCHED(compute_priority)(thread, FALSE);
H A Dtask.c1947 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL);
/darwin-on-arm/xnu/osfmk/i386/
H A Dlocks_i386.c1852 SCHED(compute_priority)(thread, FALSE);

Completed in 67 milliseconds