Searched refs:bound_processor (Results 1 – 13 of 13) sorted by relevance
155 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()
173 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()
193 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()
50 #define SCHED_CLUTCH_THREAD_ELIGIBLE(thread) ((thread->bound_processor) == PROCESSOR_NULL)
966 …((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()
2009 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 …]
271 assert(thread->bound_processor == PROCESSOR_NULL); in sched_amp_check_spill()
461 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()
3185 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()
648 processor_t bound_processor; /* bound to a processor? */ member
52 processor_t bound_processor; /* bound to a processor? */ member
423 if (unsigned(thread.bound_processor) != 0):
460 if (unsigned(thread.bound_processor) != 0):