Lines Matching refs:lock
12 spin_lock_init(&wq_head->lock); in __init_waitqueue_head()
13 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
24 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
26 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
35 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
37 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive()
45 spin_lock_irqsave(&wq_head->lock, flags); in remove_wait_queue()
47 spin_unlock_irqrestore(&wq_head->lock, flags); in remove_wait_queue()
74 lockdep_assert_held(&wq_head->lock); in __wake_up_common()
123 spin_lock_irqsave(&wq_head->lock, flags); in __wake_up_common_lock()
126 spin_unlock_irqrestore(&wq_head->lock, flags); in __wake_up_common_lock()
255 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait()
259 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait()
271 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait_exclusive()
277 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait_exclusive()
296 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait_event()
321 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait_event()
343 spin_unlock(&wq->lock); in do_wait_intr()
345 spin_lock(&wq->lock); in do_wait_intr()
360 spin_unlock_irq(&wq->lock); in do_wait_intr_irq()
362 spin_lock_irq(&wq->lock); in do_wait_intr_irq()
396 spin_lock_irqsave(&wq_head->lock, flags); in finish_wait()
398 spin_unlock_irqrestore(&wq_head->lock, flags); in finish_wait()