Lines Matching refs:expires
51 mod_timer(struct timer_list *timer, clock_t expires)
58 * centered around the overloading of the timer->expires element.
60 if (timer->expires == -1) {
64 timer->expires = -1;
68 timer->expired_time = jiffies + expires;
69 timer->timer_id = timeout(timer->func, timer->arg, expires);
72 timer->expires = 0;
83 test_set_timer(struct timer_list *timer, clock_t expires)
86 timer->expired_time = jiffies + expires;
87 timer->timer_id = timeout(timer->func, timer->arg, expires);