Lines Matching refs:wait
32 spin_lock_irqsave(&x->wait.lock, flags); in complete()
36 __wake_up_locked(&x->wait, TASK_NORMAL, 1); in complete()
37 spin_unlock_irqrestore(&x->wait.lock, flags); in complete()
61 spin_lock_irqsave(&x->wait.lock, flags); in complete_all()
63 __wake_up_locked(&x->wait, TASK_NORMAL, 0); in complete_all()
64 spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all()
73 DECLARE_WAITQUEUE(wait, current); in do_wait_for_common()
75 __add_wait_queue_entry_tail_exclusive(&x->wait, &wait); in do_wait_for_common()
82 spin_unlock_irq(&x->wait.lock); in do_wait_for_common()
84 spin_lock_irq(&x->wait.lock); in do_wait_for_common()
86 __remove_wait_queue(&x->wait, &wait); in do_wait_for_common()
103 spin_lock_irq(&x->wait.lock); in __wait_for_common()
105 spin_unlock_irq(&x->wait.lock); in __wait_for_common()
294 spin_lock_irqsave(&x->wait.lock, flags); in try_wait_for_completion()
299 spin_unlock_irqrestore(&x->wait.lock, flags); in try_wait_for_completion()
325 spin_lock_irqsave(&x->wait.lock, flags); in completion_done()
326 spin_unlock_irqrestore(&x->wait.lock, flags); in completion_done()