Home
last modified time | relevance | path

Searched refs:highq (Results 1 – 9 of 9) sorted by relevance

/xnu-8020.140.41/osfmk/kern/
H A Dsched_multiq.c486 circle_queue_t queue = &rq->queues[rq->highq]; in entry_queue_first_entry()
490 assert(entry->sched_pri == rq->highq); in entry_queue_first_entry()
519 circle_queue_t queue = &rq->queues[rq->highq]; in group_first_thread()
529 assert(thread->sched_pri == rq->highq); in group_first_thread()
593 assert(entry->sched_pri == group->runq.highq); in global_check_entry_queue()
627 circle_queue_t queue = &rq->queues[rq->highq]; in entry_queue_dequeue_entry()
636 if (SCHED(priority_is_urgent)(rq->highq)) { in entry_queue_dequeue_entry()
640 rq_bitmap_clear(rq->bitmap, rq->highq); in entry_queue_dequeue_entry()
641 rq->highq = bitmap_first(rq->bitmap, NRQS); in entry_queue_dequeue_entry()
668 if (sched_pri > rq->highq) { in entry_queue_enqueue_entry()
[all …]
H A Dsched_amp.c238 spill_pri = pcore_set->pset_runq.highq; in sched_amp_choose_thread()
245 if ((bound_runq->highq < priority) && in sched_amp_choose_thread()
246 (main_runq->highq < priority) && in sched_amp_choose_thread()
251 if ((spill_pri > bound_runq->highq) && in sched_amp_choose_thread()
252 (spill_pri > main_runq->highq)) { in sched_amp_choose_thread()
261 if (bound_runq->highq >= main_runq->highq) { in sched_amp_choose_thread()
328 spill_pri = pcore_set->pset_runq.highq; in sched_amp_processor_csw_check()
332 pri = MAX(main_runq->highq, bound_runq->highq); in sched_amp_processor_csw_check()
373 spill_pri = pcore_set->pset_runq.highq; in sched_amp_processor_queue_has_priority()
378 int qpri = MAX(main_runq->highq, bound_runq->highq); in sched_amp_processor_queue_has_priority()
H A Dsched_traditional.c355 circle_queue_t queue = rq->queues + rq->highq; in sched_traditional_choose_thread_from_runq()
356 int pri = rq->highq; in sched_traditional_choose_thread_from_runq()
374 rq->highq = bitmap_first(rq->bitmap, NRQS); in sched_traditional_choose_thread_from_runq()
465 has_higher = (runq->highq > processor->current_pri); in sched_traditional_processor_csw_check()
467 has_higher = (runq->highq >= processor->current_pri); in sched_traditional_processor_csw_check()
487 return runq_for_processor(processor)->highq >= priority; in sched_traditional_processor_queue_has_priority()
489 return runq_for_processor(processor)->highq > priority; in sched_traditional_processor_queue_has_priority()
535 circle_queue_t queue = rq->queues + rq->highq; in sched_traditional_processor_queue_shutdown()
536 int pri = rq->highq; in sched_traditional_processor_queue_shutdown()
557 rq->highq = bitmap_first(rq->bitmap, NRQS); in sched_traditional_processor_queue_shutdown()
[all …]
H A Dsched_dualq.c225 if (bound_runq->highq < priority && in sched_dualq_choose_thread()
226 main_runq->highq < priority) { in sched_dualq_choose_thread()
231 if (bound_runq->highq >= main_runq->highq) { in sched_dualq_choose_thread()
324 pri = MAX(main_runq->highq, bound_runq->highq); in sched_dualq_processor_csw_check()
355 int qpri = MAX(main_runq->highq, bound_runq->highq); in sched_dualq_processor_queue_has_priority()
H A Dsched_proto.c323 queue = rq->queues + rq->highq; in sched_proto_choose_thread()
324 pri = rq->highq; in sched_proto_choose_thread()
350 rq->highq = bitmap_first(rq->bitmap, NRQS); in sched_proto_choose_thread()
482 result = global_runq->highq >= priority; in sched_proto_processor_queue_has_priority()
484 result = global_runq->highq > priority; in sched_proto_processor_queue_has_priority()
H A Dsched_clutch.c567 …rn root_bucket_aboveui->scrb_bound_thread_runq.highq >= root_bucket_sharefg->scrb_bound_thread_run… in sched_clutch_root_bound_select_aboveui()
617 … bound_aboveui_pri = root_clutch->scr_bound_buckets[TH_BUCKET_FIXPRI].scrb_bound_thread_runq.highq; in sched_clutch_root_highest_root_bucket()
910 root_bound_pri = root_bucket_bound->scrb_bound_thread_runq.highq; in sched_clutch_root_pri_update()
2880 if (bound_runq->highq < priority && in sched_clutch_choose_thread()
2886 if (bound_runq->highq >= clutch_pri) { in sched_clutch_choose_thread()
2948 pri = MAX(clutch_pri, bound_runq->highq); in sched_clutch_processor_csw_check()
2978 … MAX(sched_clutch_root_priority(sched_clutch_processor_root_clutch(processor)), bound_runq->highq); in sched_clutch_processor_queue_has_priority()
3576 if ((bound_runq->highq < priority) && in sched_edge_choose_thread()
3581 if (bound_runq->highq >= clutch_pri) { in sched_edge_choose_thread()
3666 pri = MAX(clutch_pri, bound_runq->highq); in sched_edge_processor_csw_check()
[all …]
H A Dsched.h226 int highq; /* highest runnable queue */ member
H A Dsched_prim.c3871 rq->highq = NOPRI; in run_queue_init()
3896 circle_queue_t queue = &rq->queues[rq->highq]; in run_queue_dequeue()
3910 if (SCHED(priority_is_urgent)(rq->highq)) { in run_queue_dequeue()
3914 bitmap_clear(rq->bitmap, rq->highq); in run_queue_dequeue()
3915 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_dequeue()
3944 if (thread->sched_pri > rq->highq) { in run_queue_enqueue()
3945 rq->highq = thread->sched_pri; in run_queue_enqueue()
3991 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_remove()
4010 circle_queue_t queue = &rq->queues[rq->highq]; in run_queue_peek()
/xnu-8020.140.41/tools/lldbmacros/
H A Dscheduler.py577 …t {: <10d} highq: {: <10d} urgency {: <10d}\n".format(runq.count, int32(runq.highq), runq.urgency))
620 …t {: <10d} highq: {: <10d} urgency {: <10d}\n".format(runq.count, int32(runq.highq), runq.urgency))