Lines Matching defs:timer
177 #include <linux/timer.h>
215 /* timer period is calculated from latency requirements, bound it */
230 /* Have some play in timer operations */
419 struct timer_list timer;
1075 ioc->timer.expires = jiffies + usecs_to_jiffies(ioc->period_us);
1076 add_timer(&ioc->timer);
1270 * timer that we're still active. We don't mind occassional races.
1315 * Activate, propagate weight and start period timer if not
1555 /* determine next wakeup, add a timer margin to guarantee chunking */
1572 static enum hrtimer_restart iocg_waitq_timer_fn(struct hrtimer *timer)
1574 struct ioc_gq *iocg = container_of(timer, struct ioc_gq, waitq_timer);
2116 * forgiveness runs off of the usual ioc timer but its period usually
2230 static void ioc_timer_fn(struct timer_list *timer)
2232 struct ioc *ioc = container_of(timer, struct ioc, timer);
2437 * going on with the device, stop the timer.
2669 * An iocg with vdebt should stay online so that the timer can keep
2671 * accordingly. We don't want to race against the timer trying to
2696 * Append self to the waitq and schedule the wakeup timer if we're
2697 * the first waiter. The timer duration is calculated based on the
2702 * If too short, the timer simply reschedules itself. If too long,
2703 * the period timer will notice and trigger wakeups.
2856 timer_shutdown_sync(&ioc->timer);
2896 timer_setup(&ioc->timer, ioc_timer_fn, 0);