Lines Matching full:wait
63 struct io_clock_wait *wait = container_of(timer, in io_clock_wait_fn() local
66 wait->expired = 1; in io_clock_wait_fn()
67 wake_up_process(wait->task); in io_clock_wait_fn()
72 struct io_clock_wait *wait = container_of(timer, in io_clock_cpu_timeout() local
75 wait->expired = 1; in io_clock_cpu_timeout()
76 wake_up_process(wait->task); in io_clock_cpu_timeout()
81 struct io_clock_wait wait = { in bch2_io_clock_schedule_timeout() local
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()
97 struct io_clock_wait wait = { in bch2_kthread_io_clock_wait() local
104 bch2_io_timer_add(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()
106 timer_setup_on_stack(&wait.cpu_timer, io_clock_cpu_timeout, 0); in bch2_kthread_io_clock_wait()
109 mod_timer(&wait.cpu_timer, cpu_timeout + jiffies); in bch2_kthread_io_clock_wait()
116 if (wait.expired) in bch2_kthread_io_clock_wait()
124 del_timer_sync(&wait.cpu_timer); in bch2_kthread_io_clock_wait()
125 destroy_timer_on_stack(&wait.cpu_timer); in bch2_kthread_io_clock_wait()
126 bch2_io_timer_del(clock, &wait.io_timer); in bch2_kthread_io_clock_wait()