Home
last modified time | relevance | path

Searched refs:idle_thread (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dstartup.c623 idle_thread_create(processor, idle_thread); in kernel_bootstrap_thread()
867 thread_t thread = processor->idle_thread; in secondary_cpu_main()
887 assert(current_thread() == current_processor()->idle_thread); in processor_start_thread()
914 thread_block(idle_thread); in processor_start_thread()
H A Dmachine.c333 thread_t shutdown_thread = processor->idle_thread; in processor_doshutdown()
406 assert(processor->idle_thread == self); in processor_offline()
460 assert(processor->idle_thread == current_thread()); in processor_offline()
482 thread_block(idle_thread); in processor_offline()
H A Dsched_dualq.c513 thread = processor->idle_thread; in sched_dualq_thread_update_scan()
H A Dprocessor.h398 struct thread *idle_thread; /* this processor's idle thread. */ member
H A Dsched_amp.c567 thread = processor->idle_thread; in sched_amp_thread_update_scan()
H A Dsched_prim.h248 extern void idle_thread(
H A Dprocessor.c314 processor->active_thread = processor->startup_thread = processor->idle_thread = THREAD_NULL; in processor_init()
1130 if (processor->idle_thread == THREAD_NULL) { in processor_boot()
H A Dsched_prim.c2484 assert(current_thread() == processor->idle_thread); in pset_commit_processor_to_new_thread()
3137 new_thread = processor->idle_thread; in thread_select()
6916 idle_thread(__assert_only void* parameter, in idle_thread() function
6944 thread_run(processor->idle_thread, in idle_thread()
6945 idle_thread, NULL, new_thread); in idle_thread()
6949 thread_block(idle_thread); in idle_thread()
6975 processor->idle_thread = thread; in idle_thread_create()
H A Dsched_clutch.c3520 thread = processor->idle_thread; in sched_clutch_thread_update_scan()
H A Dkern_stackshot.c4564 thread_on_core = (thread == last_processor->idle_thread) || in classify_thread()
/xnu-11215/osfmk/arm64/
H A Dcpu.c903 first_thread = processor->idle_thread; in cpu_start()
/xnu-11215/osfmk/i386/
H A Dpcb.c556 pmap_switch_context(thread, processor->idle_thread, cpu_number()); in machine_processor_shutdown()