Lines Matching refs:timer
48 void smt_timer_stop(smc,timer) in smt_timer_stop() argument
50 struct smt_timer *timer ;
58 timer->tm_active = FALSE ;
59 if (smc->t.st_queue == timer && !timer->tm_next) {
63 if (tm == timer) {
73 void smt_timer_start(smc,timer,time,token) in smt_timer_start() argument
75 struct smt_timer *timer ;
86 smt_timer_stop(smc,timer) ;
87 timer->tm_smc = smc ;
88 timer->tm_token = token ;
89 timer->tm_active = TRUE ;
91 smc->t.st_queue = timer ;
92 timer->tm_next = 0 ;
93 timer->tm_delta = time ;
113 *prev = timer ;
114 timer->tm_next = tm ;
115 timer->tm_delta = time - delta ;
117 tm->tm_delta -= timer->tm_delta ;