Lines Matching refs:lock
11 spin_lock_init(&wq_head->lock); in __init_waitqueue_head()
12 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
23 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
25 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
34 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
36 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive()
45 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_priority()
47 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_priority()
55 spin_lock_irqsave(&wq_head->lock, flags); in remove_wait_queue()
57 spin_unlock_irqrestore(&wq_head->lock, flags); in remove_wait_queue()
88 lockdep_assert_held(&wq_head->lock); in __wake_up_common()
138 spin_lock_irqsave(&wq_head->lock, flags); in __wake_up_common_lock()
141 spin_unlock_irqrestore(&wq_head->lock, flags); in __wake_up_common_lock()
273 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait()
277 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait()
289 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait_exclusive()
295 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait_exclusive()
314 spin_lock_irqsave(&wq_head->lock, flags); in prepare_to_wait_event()
339 spin_unlock_irqrestore(&wq_head->lock, flags); in prepare_to_wait_event()
361 spin_unlock(&wq->lock); in do_wait_intr()
363 spin_lock(&wq->lock); in do_wait_intr()
378 spin_unlock_irq(&wq->lock); in do_wait_intr_irq()
380 spin_lock_irq(&wq->lock); in do_wait_intr_irq()
414 spin_lock_irqsave(&wq_head->lock, flags); in finish_wait()
416 spin_unlock_irqrestore(&wq_head->lock, flags); in finish_wait()