Home
last modified time | relevance | path

Searched refs:bound_processor (Results 1 – 13 of 13) sorted by relevance

/xnu-11215/tests/sched/sched_test_harness/
H A Dsched_clutch_harness.c155 thread->bound_processor = NULL; in impl_create_thread()
170 ((thread_t)thread)->bound_processor = &cpu0; in impl_set_thread_processor_bound()
184 cpu0.current_is_bound = ((thread_t)thread)->bound_processor != PROCESSOR_NULL; in impl_set_thread_current()
/xnu-11215/osfmk/kern/
H A Dsched_dualq.c173 if (thread->bound_processor == PROCESSOR_NULL) { in dualq_runq_for_thread()
176 assert(thread->bound_processor == processor); in dualq_runq_for_thread()
554 if (thread->bound_processor == processor) { in sched_dualq_thread_avoid_processor()
H A Dsched_amp.c193 if (thread->bound_processor == PROCESSOR_NULL) { in amp_runq_for_thread()
196 assert(thread->bound_processor == processor); in amp_runq_for_thread()
657 assert(thread->bound_processor == PROCESSOR_NULL); in sched_amp_choose_processor()
H A Dsched_clutch.h50 #define SCHED_CLUTCH_THREAD_ELIGIBLE(thread) ((thread->bound_processor) == PROCESSOR_NULL)
H A Dstartup.c966 …((thread->state & TH_IDLE) || (thread->bound_processor != PROCESSOR_NULL)) ? TH_BUCKET_SCHED_MAX :… in load_context()
967 processor->current_is_bound = thread->bound_processor != PROCESSOR_NULL; in load_context()
H A Dsched_prim.c2009 if (thread->bound_processor != processor) { in thread_bind_during_wakeup()
2023 if (thread->bound_processor) { in thread_unbind_after_queue_shutdown()
2026 assert(thread->bound_processor == processor); in thread_unbind_after_queue_shutdown()
2072 prev = thread->bound_processor; in thread_bind_internal()
2073 thread->bound_processor = processor; in thread_bind_internal()
2801 …bool bound_elsewhere = thread->bound_processor != PROCESSOR_NULL && thread->bound_processor !=… in thread_select()
3214 assert(thread->bound_processor == PROCESSOR_NULL || thread->bound_processor == processor); in thread_invoke()
6005 processor = thread->bound_processor; in thread_setrun()
6498 if ((thread->bound_processor == PROCESSOR_NULL || thread->bound_processor == processor) in thread_run_queue_remove_for_handoff()
6548 if ((thread->bound_processor == PROCESSOR_NULL || thread->bound_processor == processor) in thread_prepare_for_handoff()
[all …]
H A Dsched_amp_common.c271 assert(thread->bound_processor == PROCESSOR_NULL); in sched_amp_check_spill()
H A Dprocessor.c461 boolean_t non_bound_thr = (thread->bound_processor == PROCESSOR_NULL); in processor_state_update_running_foreign()
527 …sched_bucket_t bucket = ((thread->state & TH_IDLE) || (thread->bound_processor != PROCESSOR_NULL))… in processor_state_update_from_thread()
537 processor->current_is_bound = thread->bound_processor != PROCESSOR_NULL; in processor_state_update_from_thread()
H A Dsched_clutch.c3185 assert(thread->bound_processor == processor); in sched_clutch_thread_bound_runq()
3289 if (prev_thread->bound_processor != NULL) { in sched_clutch_processor_highest_thread()
3296 …bool prev_thread_is_not_processor_bound = has_prev_thread && (prev_thread->bound_processor == NULL… in sched_clutch_processor_highest_thread()
3297 bool prev_thread_is_processor_bound = has_prev_thread && (prev_thread->bound_processor != NULL); in sched_clutch_processor_highest_thread()
3932 assert(thread->bound_processor == PROCESSOR_NULL); in sched_edge_check_spill()
4408 if (thread->bound_processor == processor) { in sched_edge_thread_avoid_processor()
4886 assert(thread->bound_processor == PROCESSOR_NULL); in sched_edge_choose_processor()
H A Dthread.h648 processor_t bound_processor; /* bound to a processor? */ member
/xnu-11215/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_deps.c52 processor_t bound_processor; /* bound to a processor? */ member
/xnu-11215/tools/lldbmacros/
H A Dscheduler.py423 if (unsigned(thread.bound_processor) != 0):
H A Dprocess.py460 if (unsigned(thread.bound_processor) != 0):