Lines Matching refs:lock
11 spin_lock_init(&wq_head->lock);
12 lockdep_set_class_and_name(&wq_head->lock, key, name);
23 spin_lock_irqsave(&wq_head->lock, flags);
25 spin_unlock_irqrestore(&wq_head->lock, flags);
34 spin_lock_irqsave(&wq_head->lock, flags);
36 spin_unlock_irqrestore(&wq_head->lock, flags);
44 spin_lock_irqsave(&wq_head->lock, flags);
46 spin_unlock_irqrestore(&wq_head->lock, flags);
53 * wait queue lock during the wait queue walk.
72 lockdep_assert_held(&wq_head->lock);
126 spin_lock_irqsave(&wq_head->lock, flags);
128 spin_unlock_irqrestore(&wq_head->lock, flags);
251 spin_lock_irqsave(&wq_head->lock, flags);
256 spin_unlock_irqrestore(&wq_head->lock, flags);
267 spin_lock_irqsave(&wq_head->lock, flags);
273 spin_unlock_irqrestore(&wq_head->lock, flags);
292 spin_lock_irqsave(&wq_head->lock, flags);
300 * wakeup locks/unlocks the same wq_head->lock.
318 spin_unlock_irqrestore(&wq_head->lock, flags);
326 * wait-queue lock held (and interrupts off in the _irq
342 spin_unlock(&wq->lock);
344 spin_lock(&wq->lock);
361 spin_unlock_irq(&wq->lock);
363 spin_lock_irq(&wq->lock);
384 * We can check for list emptiness outside the lock
392 * - all other users take the lock (ie we can only
397 spin_lock_irqsave(&wq_head->lock, flags);
399 spin_unlock_irqrestore(&wq_head->lock, flags);