/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpc_subr.c | 115 kthread_t *t = cp->cpu_idle_thread; in kcpc_hw_init() 176 ASSERT(cp->cpu_idle_thread == NULL); in kcpc_hw_fini()
|
H A D | smt.c | 483 if (t == t->t_cpu->cpu_idle_thread) { in smt_mark() 536 if (t == t->t_cpu->cpu_idle_thread) in smt_should_run()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mp_states.c | 237 (cp->cpu_thread == cp->cpu_idle_thread || in mp_cpu_quiesce() 249 } else if (cp->cpu_thread != cp->cpu_idle_thread && in mp_cpu_quiesce()
|
H A D | mp_startup.c | 386 cp->cpu_idle_thread = tp; in setup_cpu_common() 577 lock_clear(&cp->cpu_idle_thread->t_lock); in restart_other_cpu() 578 tp = cp->cpu_idle_thread; in restart_other_cpu()
|
H A D | mlsetup.c | 201 CPU->cpu_idle_thread = &t0; in mlsetup()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt.c | 198 pg_ev_thread_swtch(cp, gethrtime_unscaled(), cp->cpu_idle_thread, in pg_cmt_cpu_startup() 1360 if (old == cp->cpu_idle_thread) { in cmt_ev_thread_swtch() 1362 } else if (new == cp->cpu_idle_thread) { in cmt_ev_thread_swtch() 1384 if (old == cp->cpu_idle_thread) { in cmt_ev_thread_swtch_pwr() 1385 ASSERT(new != cp->cpu_idle_thread); in cmt_ev_thread_swtch_pwr() 1396 } else if (new == cp->cpu_idle_thread) { in cmt_ev_thread_swtch_pwr() 1397 ASSERT(old != cp->cpu_idle_thread); in cmt_ev_thread_swtch_pwr()
|
H A D | disp.c | 773 tp = cpup->cpu_idle_thread; in disp() 783 tp = cpup->cpu_idle_thread; in disp() 2433 if (tp == cp->cpu_idle_thread) in disp_bound_common()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cpc_subr.c | 80 kthread_t *t = cp->cpu_idle_thread; in kcpc_hw_startup_cpu()
|
H A D | mach_startup.c | 377 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | cpc_subr.c | 79 kthread_t *t = cp->cpu_idle_thread; in kcpc_hw_startup_cpu()
|
H A D | mach_startup.c | 254 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 333 while ((cp->cpu_thread != cp->cpu_idle_thread) && (ntries > 0)) { in sbdp_cpu_poweron() 804 ASSERT(cp->cpu_thread == cp->cpu_idle_thread || in sbdp_cpu_shutdown_self()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | memscrub.c | 441 if (cpu[cpu_id]->cpu_thread != cpu[cpu_id]->cpu_idle_thread) { in system_is_idle()
|
H A D | mlsetup.c | 257 CPU->cpu_idle_thread = &t0; in mlsetup()
|
H A D | mp_pc.c | 491 if (cpuid_checkpass(cp, 4) || cp->cpu_thread == cp->cpu_idle_thread) { in mp_cpu_poweron()
|
H A D | mp_machdep.c | 606 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup() 799 if (cp->cpu_thread == cp->cpu_idle_thread || in cpu_wakeup_mwait()
|
H A D | mp_startup.c | 385 cp->cpu_idle_thread = tp; in mp_cpu_configure_common() 524 cp->cpu_idle_thread = NULL; in mp_cpu_unconfigure_common()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | semaphore.c | 74 ASSERT(curthread != CPU->cpu_idle_thread); \
|
H A D | clock_tick.c | 416 (cp->cpu_dispthread == cp->cpu_idle_thread)); in clock_tick_process()
|
H A D | turnstile.c | 450 ASSERT(t != CPU->cpu_idle_thread); in turnstile_block()
|
H A D | condvar.c | 148 ASSERT(t != CPU->cpu_idle_thread); in cv_block()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hpet_acpi.c | 1366 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread); in hpet_use_hpet_timer() 1489 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread); in hpet_use_lapic_timer()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpuvar.h | 92 kthread_t *cpu_idle_thread; /* idle thread for this CPU */ member
|
/illumos-gate/usr/src/uts/i86pc/ml/ |
H A D | offsets.in | 196 cpu_idle_thread
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 447 cp->cpu_thread == cp->cpu_idle_thread); in mach_cpucontext_restore()
|