Home
last modified time | relevance | path

Searched refs:t_cpu (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/cmd/dtrace/test/tst/common/buffering/
H A Dtst.ring3.d67 cpuid = curthread->t_cpu->cpu_id;
71 /curthread->t_cpu->cpu_id == cpuid && n < 100/
/titanic_50/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.roch.d46 /(self->done == 0) && (curthread->t_cpu->cpu_intr_actv == 0) /
56 /(self->done == 0) && (curthread->t_cpu->cpu_intr_actv == 0) /
/titanic_50/usr/src/uts/common/disp/
H A Ddisp.c1228 cp = tp->t_cpu; in setbackdq()
1244 (tp->t_cpu == cpu_inmotion)) { in setbackdq()
1245 cp = disp_lowpri_cpu(tp->t_cpu, tp->t_lpl, tpri, NULL); in setbackdq()
1246 } else if (!LGRP_CONTAINS_CPU(tp->t_lpl->lpl_lgrp, tp->t_cpu)) { in setbackdq()
1247 cp = disp_lowpri_cpu(tp->t_cpu, tp->t_lpl, tpri, in setbackdq()
1248 self ? tp->t_cpu : NULL); in setbackdq()
1250 cp = tp->t_cpu; in setbackdq()
1415 cp = tp->t_cpu; in setfrontdq()
1421 cp = tp->t_cpu; in setfrontdq()
1436 cp = disp_lowpri_cpu(tp->t_cpu, tp->t_lpl, tpri, in setfrontdq()
[all …]
H A Dthread_intr.c74 tp->t_cpu = cp; in thread_create_intr()
H A Dcpupart.c570 if (t->t_cpu == cp && t->t_cpupart == oldpp && in cpupart_move_cpu()
572 t->t_cpu = disp_lowpri_cpu(ncp, in cpupart_move_cpu()
623 if (t->t_cpu == cp && t->t_cpupart == oldpp && in cpupart_move_cpu()
625 t->t_cpu = disp_lowpri_cpu(ncp, t->t_lpl, in cpupart_move_cpu()
H A Dthread.c516 t->t_cpu = CPU; in thread_create()
518 t->t_cpu = disp_lowpri_cpu(cp_default.cp_cpulist, t->t_lpl, in thread_create()
521 t->t_disp_queue = t->t_cpu->cpu_disp; in thread_create()
538 THREAD_ONPROC(t, t->t_cpu); in thread_create()
1388 tp->t_cpu = cp; in thread_create_intr()
/titanic_50/usr/src/uts/common/os/
H A Dmsacct.c427 ASSERT(cpu == t->t_cpu); in syscall_mstate()
687 ASSERT(t->t_cpu == CPU); in new_mstate()
688 if (!CPU_ON_INTR(t->t_cpu) && curthread->t_intr == NULL) { in new_mstate()
689 if (new_state == LMS_USER && t->t_cpu->cpu_mstate != CMS_USER) in new_mstate()
692 t->t_cpu->cpu_mstate != CMS_SYSTEM) in new_mstate()
H A Dcpu.c434 if (cp != t->t_cpu || t != curthread) { in thread_affinity_set()
471 if (t->t_cpu->cpu_part != t->t_cpupart) { in thread_affinity_clear()
480 if (t->t_cpu != t->t_bound_cpu) { in thread_affinity_clear()
889 t->t_cpu = CPU; /* disp gets upset if last cpu is quiesced. */ in cpu_pause_free()
1441 ASSERT(curthread->t_cpu != cp); in cpu_offline()
1475 if (t->t_cpu == cp && t->t_bound_cpu != cp) in cpu_offline()
1476 t->t_cpu = disp_lowpri_cpu(ncp, in cpu_offline()
1478 ASSERT(t->t_cpu != cp || t->t_bound_cpu == cp || in cpu_offline()
1519 if (t->t_cpu == cp && t->t_bound_cpu != cp) { in cpu_offline()
1520 t->t_cpu = disp_lowpri_cpu(ncp, in cpu_offline()
[all …]
H A Dlwp.c1135 } else if (t->t_state == TS_ONPROC && t->t_cpu != CPU) { in lwp_suspend()
1136 poke_cpu(t->t_cpu->cpu_id); in lwp_suspend()
1606 if (t->t_cpu != CPU) in pokelwps()
1607 poke_cpu(t->t_cpu->cpu_id); in pokelwps()
H A Dtimers.c701 if (t->t_state == TS_ONPROC && t->t_cpu != CPU) in realprofexpire()
702 poke_cpu(t->t_cpu->cpu_id); in realprofexpire()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_uthread.c158 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU) in cpr_stop_user()
159 poke_cpu(tp->t_cpu->cpu_id); in cpr_stop_user()
/titanic_50/usr/src/lib/libdtrace/common/
H A Dsched.d63 inline cpuinfo_t *curcpu = xlate <cpuinfo_t *> (curthread->t_cpu);
H A Dprocfs.d.in316 ((T == T->t_cpu->cpu_idle_thread) ? PR_IDLE : 0);
342 pr_onpro = T->t_cpu->cpu_id;
/titanic_50/usr/src/uts/intel/fs/proc/
H A Dprmachdep.c86 if (t->t_state == TS_ONPROC && t->t_cpu != CPU) in prpokethread()
87 poke_cpu(t->t_cpu->cpu_id); in prpokethread()
/titanic_50/usr/src/uts/sun4/os/
H A Dmp_startup.c120 tp->t_cpu = cp; in common_startup_init()
382 tp->t_cpu = cp; in setup_cpu_common()
H A Dmlsetup.c159 t0.t_cpu = &cpu0; /* loaded by _start */ in mlsetup()
/titanic_50/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c379 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU) in sysctrl_stop_user_threads()
380 poke_cpu(tp->t_cpu->cpu_id); in sysctrl_stop_user_threads()
/titanic_50/usr/src/uts/i86pc/ml/
H A Dfast_trap_asm.s83 curthread->t_cpu->cpu_id);
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/kctl/
H A Dkctl_isadep.c282 kt0->t_cpu = cpu; in kctl_boot_tmpinit()
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h84 uintptr_t t_cpu; member
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c559 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU)
560 poke_cpu(tp->t_cpu->cpu_id);
/titanic_50/usr/src/uts/i86pc/os/
H A Dmlsetup.c297 t0.t_cpu = cpu[0]; in mlsetup()
/titanic_50/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c579 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU) in dr_stop_user_threads()
580 poke_cpu(tp->t_cpu->cpu_id); in dr_stop_user_threads()
/titanic_50/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c580 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU) in dr_stop_user_threads()
581 poke_cpu(tp->t_cpu->cpu_id); in dr_stop_user_threads()
/titanic_50/usr/src/uts/sparc/v9/ml/
H A Dlock_prim.s462 ldn [%o1+T_CPU], %o2 ! get owner->t_cpu
463 ldn [%o2+CPU_THREAD], %o3 ! get owner->t_cpu->cpu_thread

12