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
60 static void io_clock_wait_fn(struct io_timer *timer) in io_clock_wait_fn()
63 struct io_clock_wait, io_timer); in io_clock_wait_fn()
72 .io_timer.expire = until, in bch2_io_clock_schedule_timeout()
73 .io_timer.fn = io_clock_wait_fn, in bch2_io_clock_schedule_timeout()
74 .io_timer.fn2 = (void *) _RET_IP_, in bch2_io_clock_schedule_timeout()
78 bch2_io_timer_add(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
80 bch2_io_timer_del(clock, &wait.io_timer); in bch2_io_clock_schedule_timeout()
88 .io_timer.expire = io_until, in bch2_kthread_io_clock_wait_once()
89 .io_timer.fn = io_clock_wait_fn, in bch2_kthread_io_clock_wait_once()
90 .io_timer.fn2 = (void *) _RET_IP_, in bch2_kthread_io_clock_wait_once()
94 bch2_io_timer_add(clock, &wait.io_timer); in bch2_kthread_io_clock_wait_once()
103 bch2_io_timer_del(clock, &wait.io_timer); in bch2_kthread_io_clock_wait_once()
118 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer()
120 struct io_timer *ret = NULL; in get_expired_timer()
133 struct io_timer *timer; in __bch2_increment_clock()