Lines Matching refs:io_timer
11 struct io_timer **_l = (struct io_timer **)l; in io_timer_cmp()
12 struct io_timer **_r = (struct io_timer **)r; in io_timer_cmp()
19 struct io_timer **_l = (struct io_timer **)l; in io_timer_swp()
20 struct io_timer **_r = (struct io_timer **)r; in io_timer_swp()
25 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add()
49 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del()
68 struct io_timer io_timer; member
74 static void io_clock_wait_fn(struct io_timer *timer) in io_clock_wait_fn()
77 struct io_clock_wait, io_timer); in io_clock_wait_fn()
95 .io_timer.expire = until, in bch2_io_clock_schedule_timeout()
96 .io_timer.fn = io_clock_wait_fn, in bch2_io_clock_schedule_timeout()
97 .io_timer.fn2 = (void *) _RET_IP_, in bch2_io_clock_schedule_timeout()
101 bch2_io_timer_add(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
103 bch2_io_timer_del(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
111 .io_timer.expire = io_until, in bch2_kthread_io_clock_wait()
112 .io_timer.fn = io_clock_wait_fn, in bch2_kthread_io_clock_wait()
113 .io_timer.fn2 = (void *) _RET_IP_, in bch2_kthread_io_clock_wait()
117 bch2_io_timer_add(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()
139 bch2_io_timer_del(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()
142 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer()
144 struct io_timer *ret = NULL; in get_expired_timer()
161 struct io_timer *timer; in __bch2_increment_clock()