Searched refs:td_lastcpu (Results 1 – 7 of 7) sorted by relevance
817 childtd->td_lastcpu = NOCPU; in sched_fork_thread() 1014 td->td_lastcpu = td->td_oncpu; in sched_switch() 1288 if (td->td_lastcpu != NOCPU && THREAD_CAN_SCHED(td, td->td_lastcpu)) in sched_pickcpu() 1289 best = td->td_lastcpu; in sched_pickcpu() 1359 cpu = td->td_lastcpu; in sched_add() 1736 td->td_lastcpu = td->td_oncpu; in sched_throw()
445 if (td2->td_lastcpu == cpu) { in runq_choose_fuzz()
2204 td->td_lastcpu = td->td_oncpu; in sched_switch() 2425 child->td_lastcpu = NOCPU; in sched_fork_thread() 3134 td->td_lastcpu = td->td_oncpu; in sched_throw()
1307 if (td->td_lastcpu == NOCPU) in fill_kinfo_thread()1309 else if (td->td_lastcpu > MAXCPU_OLD) in fill_kinfo_thread()1312 kp->ki_lastcpu_old = td->td_lastcpu; in fill_kinfo_thread()1321 kp->ki_lastcpu = td->td_lastcpu; in fill_kinfo_thread()
388 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
442 kp->ki_lastcpu = mtd.td_lastcpu; in kvm_proclist()458 if (mtd.td_lastcpu == NOCPU) in kvm_proclist()460 else if (mtd.td_lastcpu > MAXCPU_OLD) in kvm_proclist()463 kp->ki_lastcpu_old = mtd.td_lastcpu; in kvm_proclist()
384 int td_lastcpu; /* (t) Last cpu we were on. */ member