Home
last modified time | relevance | path

Searched refs:cpu_thread (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/uts/i86pc/os/
H A Dintr.c573 kthread_t *t = cpu->cpu_thread; in hilevel_intr_prolog()
686 kthread_t *t = cpu->cpu_thread; in hilevel_intr_epilog()
721 t = cpu->cpu_thread; in intr_thread_prolog()
753 cpu->cpu_thread = it; /* new curthread on this cpu */ in intr_thread_prolog()
774 kthread_t *it = cpu->cpu_thread; /* curthread */ in intr_thread_epilog()
844 cpu->cpu_thread = t; in intr_thread_epilog()
916 t = cpu->cpu_thread; in intr_get_time()
1002 t = cpu->cpu_thread; in dosoftint_prolog()
1030 cpu->cpu_thread = it; in dosoftint_prolog()
1057 it = cpu->cpu_thread; in dosoftint_epilog()
[all …]
H A Dmp_pc.c204 ntss->tss_eip = (uint32_t)cp->cpu_thread->t_pc; in mach_cpucontext_alloc_tables()
462 if (cpuid_checkpass(cp, 4) || cp->cpu_thread == cp->cpu_idle_thread) { in mp_cpu_poweron()
H A Dmemscrub.c441 if (cpu[cpu_id]->cpu_thread != cpu[cpu_id]->cpu_idle_thread) { in system_is_idle()
H A Dmlsetup.c325 CPU->cpu_thread = &t0; in mlsetup()
H A Dtrap.c1613 if (CPU->cpu_dispthread != CPU->cpu_thread) in kpreempt()
1621 if (CPU->cpu_dispthread != CPU->cpu_thread) in kpreempt()
1631 if (CPU->cpu_thread != CPU->cpu_dispthread) { in kpreempt()
H A Dmp_machdep.c599 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup()
792 if (cp->cpu_thread == cp->cpu_idle_thread || in cpu_wakeup_mwait()
H A Dmp_startup.c353 cp->cpu_thread = tp; in mp_cpu_configure_common()
582 cp->cpu_thread = NULL; /* discarded by cpu_destroy_bound_threads() */ in mp_cpu_unconfigure_common()
/titanic_44/usr/src/uts/sun4/os/
H A Dmp_states.c237 (cp->cpu_thread == cp->cpu_idle_thread || in mp_cpu_quiesce()
238 cp->cpu_thread == cp->cpu_startup_thread)) { in mp_cpu_quiesce()
249 } else if (cp->cpu_thread != cp->cpu_idle_thread && in mp_cpu_quiesce()
250 cp->cpu_thread != cp->cpu_startup_thread) { in mp_cpu_quiesce()
H A Dmlsetup.c194 CPU->cpu_thread = &t0; in mlsetup()
H A Dmp_startup.c135 cp->cpu_thread = tp; in common_startup_init()
H A Dtrap.c1848 if (CPU->cpu_dispthread != CPU->cpu_thread) in kpreempt()
1856 if (CPU->cpu_dispthread != CPU->cpu_thread) in kpreempt()
1866 if (CPU->cpu_thread != CPU->cpu_dispthread) { in kpreempt()
/titanic_44/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c253 t = cpu->cpu_thread; in apix_do_softint_prolog()
281 cpu->cpu_thread = it; in apix_do_softint_prolog()
308 it = cpu->cpu_thread; in apix_do_softint_epilog()
345 cpu->cpu_thread = t; in apix_do_softint_epilog()
364 av_dispatch_softvect((int)cpu->cpu_thread->t_pil); in apix_dispatch_softint()
446 kthread_t *t = cpu->cpu_thread; in apix_hilevel_intr_prolog()
545 kthread_t *t = cpu->cpu_thread; in apix_hilevel_intr_epilog()
625 t = cpu->cpu_thread; in apix_intr_thread_prolog()
662 cpu->cpu_thread = it; in apix_intr_thread_prolog()
678 kthread_t *t, *it = cpu->cpu_thread; in apix_intr_thread_epilog()
[all …]
/titanic_44/usr/src/uts/i86xpv/os/
H A Dmp_xen.c337 kthread_t *tp = cp->cpu_thread; in mach_cpucontext_alloc()
477 ASSERT(cp->cpu_thread == cp->cpu_pause_thread || in mach_cpucontext_restore()
478 cp->cpu_thread == cp->cpu_idle_thread); in mach_cpucontext_restore()
482 pcb_to_user_regs(&cp->cpu_thread->t_pcb, &vgc); in mach_cpucontext_restore()
497 vgc.kernel_sp = cp->cpu_thread->t_sp; in mach_cpucontext_restore()
/titanic_44/usr/src/uts/common/os/
H A Dclock_tick.c313 t = cp->cpu_thread; /* Current running thread */ in clock_tick_process()
345 if ((t != cp->cpu_thread) && in clock_tick_process()
346 ((cp != CPU) || (t != cp->cpu_thread->t_intr))) { in clock_tick_process()
H A Dmain.c397 ASSERT(curthread == CPU->cpu_thread); in main()
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c332 while ((cp->cpu_thread != cp->cpu_idle_thread) && (ntries > 0)) { in sbdp_cpu_poweron()
803 ASSERT(cp->cpu_thread == cp->cpu_idle_thread || in sbdp_cpu_shutdown_self()
804 cp->cpu_thread == cp->cpu_startup_thread); in sbdp_cpu_shutdown_self()
/titanic_44/usr/src/uts/sun4u/os/
H A Dmach_startup.c376 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup()
/titanic_44/usr/src/uts/sun4v/os/
H A Dmach_startup.c254 if (cpu->cpu_thread == cpu->cpu_idle_thread || in cpu_wakeup()
/titanic_44/usr/src/uts/intel/amd64/ml/
H A Damd64.il34 / offset of "cpu_thread" from the beginning of the struct cpu.
/titanic_44/usr/src/uts/intel/ia32/ml/
H A Dia32.il36 / offset of "cpu_thread" from the beginning of the struct cpu.
/titanic_44/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c1227 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread); in hpet_use_hpet_timer()
1351 ASSERT(CPU->cpu_thread == CPU->cpu_idle_thread); in hpet_use_lapic_timer()
/titanic_44/usr/src/uts/i86pc/ml/
H A Doffsets.in196 cpu_thread
/titanic_44/usr/src/uts/common/sys/
H A Dcpuvar.h87 kthread_t *cpu_thread; /* current thread */ member
/titanic_44/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_idle.c219 if (cp->cpu_thread == cp->cpu_idle_thread || in cstate_wakeup()
/titanic_44/usr/src/uts/sun4/ml/
H A Doffsets.in336 cpu_thread

12