Lines Matching refs:lock
15 spin_lock_init(&q->lock); in init_waitqueue_head()
26 spin_lock_irqsave(&q->lock, flags); in add_wait_queue()
28 spin_unlock_irqrestore(&q->lock, flags); in add_wait_queue()
37 spin_lock_irqsave(&q->lock, flags); in add_wait_queue_exclusive()
39 spin_unlock_irqrestore(&q->lock, flags); in add_wait_queue_exclusive()
47 spin_lock_irqsave(&q->lock, flags); in remove_wait_queue()
49 spin_unlock_irqrestore(&q->lock, flags); in remove_wait_queue()
72 spin_lock_irqsave(&q->lock, flags); in prepare_to_wait()
76 spin_unlock_irqrestore(&q->lock, flags); in prepare_to_wait()
86 spin_lock_irqsave(&q->lock, flags); in prepare_to_wait_exclusive()
90 spin_unlock_irqrestore(&q->lock, flags); in prepare_to_wait_exclusive()
122 spin_lock_irqsave(&q->lock, flags); in finish_wait()
124 spin_unlock_irqrestore(&q->lock, flags); in finish_wait()
153 spin_lock_irqsave(&q->lock, flags); in abort_exclusive_wait()
158 spin_unlock_irqrestore(&q->lock, flags); in abort_exclusive_wait()