Lines Matching full:wait
3 * Generic wait-for-completion handler;
32 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete()
36 swake_up_locked(&x->wait); in complete()
37 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete()
63 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_all()
65 swake_up_all_locked(&x->wait); in complete_all()
66 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all()
75 DECLARE_SWAITQUEUE(wait); in do_wait_for_common()
82 __prepare_to_swait(&x->wait, &wait); in do_wait_for_common()
84 raw_spin_unlock_irq(&x->wait.lock); in do_wait_for_common()
86 raw_spin_lock_irq(&x->wait.lock); in do_wait_for_common()
88 __finish_swait(&x->wait, &wait); in do_wait_for_common()
105 raw_spin_lock_irq(&x->wait.lock); in __wait_for_common()
107 raw_spin_unlock_irq(&x->wait.lock); in __wait_for_common()
296 raw_spin_lock_irqsave(&x->wait.lock, flags); in try_wait_for_completion()
301 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in try_wait_for_completion()
323 * If ->done, we need to wait for complete() to release ->wait.lock in completion_done()
327 raw_spin_lock_irqsave(&x->wait.lock, flags); in completion_done()
328 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in completion_done()