Searched refs:ts_slice (Results 1 – 2 of 2) sorted by relevance
100 int ts_slice; /* Remaining part of time slice. */ member673 td_get_sched(&thread0)->ts_slice = sched_slice; in schedinit()729 if (!TD_IS_IDLETHREAD(td) && --ts->ts_slice <= 0) { in sched_clock()730 ts->ts_slice = sched_slice; in sched_clock()791 ts->ts_slice = 1; in sched_fork_thread()1103 ts->ts_slice = sched_slice; in sched_wakeup()
97 int ts_slice; /* Ticks of slice remaining. */ member1670 ts0->ts_slice = 0; in schedinit()2204 ts->ts_slice = 0; in sched_wakeup()2268 ts2->ts_slice = tdq_slice(tdq) - sched_slice_min; in sched_fork_thread()2421 if (!TD_IS_IDLETHREAD(td) && ++ts->ts_slice >= tdq_slice(tdq)) { in sched_clock()2422 ts->ts_slice = 0; in sched_clock()