Searched refs:td_lastcpu (Results 1 – 7 of 7) sorted by relevance
811 childtd->td_lastcpu = NOCPU; in sched_4bsd_fork_thread()1008 td->td_lastcpu = td->td_oncpu; in sched_4bsd_sswitch()1287 if (td->td_lastcpu != NOCPU && THREAD_CAN_SCHED(td, td->td_lastcpu)) in sched_pickcpu()1288 best = td->td_lastcpu; in sched_pickcpu()1358 cpu = td->td_lastcpu; in sched_4bsd_add()1711 td->td_lastcpu = td->td_oncpu; in sched_4bsd_throw()
637 if (td2->td_lastcpu == cpu) { in runq_fuzz_pred()
2318 td->td_lastcpu = td->td_oncpu; in sched_ule_sswitch()2545 child->td_lastcpu = NOCPU; in sched_ule_fork_thread()3248 td->td_lastcpu = td->td_oncpu; in sched_ule_throw()
1310 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()1312 else if (td->td_lastcpu > MAXCPU_OLD) in fill_kinfo_thread()1315 kp->ki_lastcpu_old = td->td_lastcpu; in fill_kinfo_thread()1324 kp->ki_lastcpu = td->td_lastcpu; in fill_kinfo_thread()
392 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
451 kp->ki_lastcpu = mtd.td_lastcpu; in kvm_proclist()467 if (mtd.td_lastcpu == NOCPU) in kvm_proclist()469 else if (mtd.td_lastcpu > MAXCPU_OLD) in kvm_proclist()472 kp->ki_lastcpu_old = mtd.td_lastcpu; in kvm_proclist()
386 int td_lastcpu; /* (t) Last cpu we were on. */ member