Lines Matching refs:timer
43 WORK_ST_TIMER, /* timer is being started */
231 dwork->timer.expires = jiffies;
237 dwork->timer.expires = jiffies + delay;
242 mtx_lock(&dwork->timer.mtx);
243 callout_reset_on(&dwork->timer.callout, delay,
245 mtx_unlock(&dwork->timer.mtx);
247 mtx_lock(&dwork->timer.mtx);
248 callout_reset(&dwork->timer.callout, delay,
250 mtx_unlock(&dwork->timer.mtx);
325 * Make sure the timer belonging to the delayed work gets
326 * drained before invoking the work function. Else the timer
331 callout_drain(&dwork->timer.callout);
398 * This function atomically stops the timer and callback. The timer
408 mtx_lock(&dwork->timer.mtx);
409 cancelled = (callout_stop(&dwork->timer.callout) == 1);
410 mtx_unlock(&dwork->timer.mtx);
414 callout_drain(&dwork->timer.callout);
637 mtx_init(&dwork->timer.mtx, spin_lock_name("lkpi-dwork"), NULL,
639 callout_init_mtx(&dwork->timer.callout, &dwork->timer.mtx, 0);