Lines Matching defs:newtd
2181 struct thread *newtd;
2265 newtd = choosethread();
2266 sched_pctcpu_update(td_get_sched(newtd), 0);
2272 if (td != newtd) {
2277 SDT_PROBE2(sched, , , off__cpu, newtd, newtd->td_proc);
2286 (*dtrace_vtime_switch_func)(newtd);
2289 cpu_switch(td, newtd, mtx);
3082 struct thread *newtd;
3084 newtd = choosethread();
3089 return (newtd);
3098 struct thread *newtd;
3112 newtd = sched_throw_grab(tdq);
3115 cpu_throw(NULL, newtd);
3124 struct thread *newtd;
3138 newtd = sched_throw_grab(tdq);
3141 cpu_switch(td, newtd, TDQ_LOCKPTR(tdq));