Lines Matching defs:timer
510 struct hrtimer timer;
1110 static enum hrtimer_restart io_link_timeout_fn(struct hrtimer *timer);
1511 if (hrtimer_try_to_cancel(&io->timer) != -1) {
2072 if (hrtimer_try_to_cancel(&io->timer) != -1) {
6054 static enum hrtimer_restart io_timeout_fn(struct hrtimer *timer)
6056 struct io_timeout_data *data = container_of(timer,
6057 struct io_timeout_data, timer);
6090 if (hrtimer_try_to_cancel(&io->timer) == -1)
6144 if (hrtimer_try_to_cancel(&io->timer) == -1)
6146 hrtimer_init(&io->timer, io_timeout_get_clock(io), mode);
6147 io->timer.function = io_link_timeout_fn;
6148 hrtimer_start(&io->timer, timespec64_to_ktime(*ts), mode);
6165 hrtimer_init(&data->timer, io_timeout_get_clock(data), mode);
6166 data->timer.function = io_timeout_fn;
6167 hrtimer_start(&data->timer, timespec64_to_ktime(*ts), mode);
6279 hrtimer_init(&data->timer, io_timeout_get_clock(data), data->mode);
6338 data->timer.function = io_timeout_fn;
6339 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode);
7014 static enum hrtimer_restart io_link_timeout_fn(struct hrtimer *timer)
7016 struct io_timeout_data *data = container_of(timer,
7017 struct io_timeout_data, timer);
7051 * before we got a chance to setup the timer
7056 data->timer.function = io_link_timeout_fn;
7057 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts),