Lines Matching refs:lock
9 raw_spin_lock_init(&q->lock); in __init_swait_queue_head()
10 lockdep_set_class_and_name(&q->lock, key, name); in __init_swait_queue_head()
51 raw_spin_lock_irqsave(&q->lock, flags); in swake_up_one()
53 raw_spin_unlock_irqrestore(&q->lock, flags); in swake_up_one()
66 raw_spin_lock_irq(&q->lock); in swake_up_all()
77 raw_spin_unlock_irq(&q->lock); in swake_up_all()
78 raw_spin_lock_irq(&q->lock); in swake_up_all()
80 raw_spin_unlock_irq(&q->lock); in swake_up_all()
95 raw_spin_lock_irqsave(&q->lock, flags); in prepare_to_swait_exclusive()
98 raw_spin_unlock_irqrestore(&q->lock, flags); in prepare_to_swait_exclusive()
107 raw_spin_lock_irqsave(&q->lock, flags); in prepare_to_swait_event()
119 raw_spin_unlock_irqrestore(&q->lock, flags); in prepare_to_swait_event()
139 raw_spin_lock_irqsave(&q->lock, flags); in finish_swait()
141 raw_spin_unlock_irqrestore(&q->lock, flags); in finish_swait()