Lines Matching refs:timer
66 static enum hrtimer_restart io_timeout_fn(struct hrtimer *timer);
76 /* re-arm timer */
79 data->timer.function = io_timeout_fn;
80 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode);
94 if (hrtimer_try_to_cancel(&io->timer) != -1) {
225 if (hrtimer_try_to_cancel(&io->timer) != -1) {
233 static enum hrtimer_restart io_timeout_fn(struct hrtimer *timer)
235 struct io_timeout_data *data = container_of(timer,
236 struct io_timeout_data, timer);
277 if (hrtimer_try_to_cancel(&io->timer) == -1)
323 static enum hrtimer_restart io_link_timeout_fn(struct hrtimer *timer)
325 struct io_timeout_data *data = container_of(timer,
326 struct io_timeout_data, timer);
390 if (hrtimer_try_to_cancel(&io->timer) == -1)
392 hrtimer_init(&io->timer, io_timeout_get_clock(io), mode);
393 io->timer.function = io_link_timeout_fn;
394 hrtimer_start(&io->timer, timespec64_to_ktime(*ts), mode);
413 hrtimer_init(&data->timer, io_timeout_get_clock(data), mode);
414 data->timer.function = io_timeout_fn;
415 hrtimer_start(&data->timer, timespec64_to_ktime(*ts), mode);
541 hrtimer_init(&data->timer, io_timeout_get_clock(data), data->mode);
611 data->timer.function = io_timeout_fn;
612 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode);
625 * before we got a chance to setup the timer
630 data->timer.function = io_link_timeout_fn;
631 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts),