Lines Matching full:rest
99 * need to adjust TimerList->rest (yet). in timer_Start()
102 ticks = RESTVAL(itimer) - TimerList->rest; in timer_Start()
106 if (ticks + t->rest >= tp->load) in timer_Start()
108 ticks += t->rest; in timer_Start()
113 tp->rest = tp->load - ticks; in timer_Start()
117 "timer[%p], delta = %ld\n", tp->name, tp, t->name, t, tp->rest); in timer_Start()
130 t->rest -= tp->rest; in timer_Start()
164 t->next->rest += RESTVAL(itimer); /* t (tp) was the first in the list */ in StopTimerNoBlock()
166 t->next->rest += t->rest; in StopTimerNoBlock()
167 if (!pt && t->next->rest > 0) /* t->next is now the first in the list */ in StopTimerNoBlock()
205 tp->rest = 0; in TimerService()
215 } while (tp && tp->rest == 0); in TimerService()
239 long rest; in timer_Show() local
243 * happening. Changing TimerList->rest might cause it to become zero in timer_Show()
249 rest = RESTVAL(itimer) - TimerList->rest; in timer_Show()
251 rest = 0; in timer_Show()
257 pt->name, pt, SECS(pt->load), HSECS(pt->load), SECS(rest), \ in timer_Show()
258 HSECS(rest), tState2Nam(pt->state) in timer_Show()
264 rest += pt->rest; in timer_Show()
285 itimer.it_value.tv_sec = TimerList->rest / SECTICKS; in timer_InitService()
286 itimer.it_value.tv_usec = (TimerList->rest % SECTICKS) * TICKUNIT; in timer_InitService()