Lines Matching full:wait
4 * Generic wait-for-completion handler;
20 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_with_flags()
24 swake_up_locked(&x->wait, wake_flags); in complete_with_flags()
25 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_with_flags()
73 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_all()
75 swake_up_all_locked(&x->wait); in complete_all()
76 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all()
85 DECLARE_SWAITQUEUE(wait); in do_wait_for_common()
92 __prepare_to_swait(&x->wait, &wait); in do_wait_for_common()
94 raw_spin_unlock_irq(&x->wait.lock); in do_wait_for_common()
96 raw_spin_lock_irq(&x->wait.lock); in do_wait_for_common()
98 __finish_swait(&x->wait, &wait); in do_wait_for_common()
115 raw_spin_lock_irq(&x->wait.lock); in __wait_for_common()
117 raw_spin_unlock_irq(&x->wait.lock); in __wait_for_common()
318 raw_spin_lock_irqsave(&x->wait.lock, flags); in try_wait_for_completion()
323 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in try_wait_for_completion()
345 * If ->done, we need to wait for complete() to release ->wait.lock in completion_done()
349 raw_spin_lock_irqsave(&x->wait.lock, flags); in completion_done()
350 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in completion_done()