Lines Matching refs:idle
289 extern void idle();
373 * Now, initialize per-CPU idle thread for this CPU.
375 tp = thread_create(NULL, 0, idle, NULL, 0, &p0, TS_ONPROC, -1);
389 * blocking idle thread while registering itself. It also
391 * restarts its idle thread.
393 CALLB_CPR_INIT_SAFE(tp, "idle");
474 * special per-cpu threads: it's idle thread, it's pause thread,
548 extern void idle();
561 * idle thread t_lock is held when the idle thread is suspended.
562 * Manually unlock the t_lock of idle loop so that we can resume
563 * the suspended idle thread.
564 * Also adjust the PC of idle thread for re-retry.
573 tp->t_pc = (uintptr_t)idle - 8;