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()
22 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add()
41 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del()
55 struct io_timer io_timer; member
61 static void io_clock_wait_fn(struct io_timer *timer) in io_clock_wait_fn()
64 struct io_clock_wait, io_timer); in io_clock_wait_fn()
82 .io_timer.expire = until, in bch2_io_clock_schedule_timeout()
83 .io_timer.fn = io_clock_wait_fn, in bch2_io_clock_schedule_timeout()
84 .io_timer.fn2 = (void *) _RET_IP_, in bch2_io_clock_schedule_timeout()
88 bch2_io_timer_add(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
90 bch2_io_timer_del(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
98 .io_timer.expire = io_until, in bch2_kthread_io_clock_wait()
99 .io_timer.fn = io_clock_wait_fn, in bch2_kthread_io_clock_wait()
100 .io_timer.fn2 = (void *) _RET_IP_, in bch2_kthread_io_clock_wait()
104 bch2_io_timer_add(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()
126 bch2_io_timer_del(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()
129 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer()
131 struct io_timer *ret = NULL; in get_expired_timer()
144 struct io_timer *timer; in __bch2_increment_clock()