Lines Matching refs:lock
78 spinlock_t lock;
250 spin_lock_init(&pg->lock);
371 spin_lock_irqsave(&old_pg->lock, flags);
373 spin_unlock_irqrestore(&old_pg->lock, flags);
379 spin_lock_irqsave(&pg->lock, flags);
382 spin_unlock_irqrestore(&pg->lock, flags);
691 if (spin_trylock_irqsave(&tmp_pg->lock, flags)) {
709 spin_unlock_irqrestore(&tmp_pg->lock, flags);
717 spin_lock_irqsave(&pg->lock, flags);
772 spin_unlock_irqrestore(&pg->lock, flags);
845 lockdep_assert_held(&pg->lock);
851 * as we hold pg->lock, but for access to h->pg.
896 spin_lock_irqsave(&pg->lock, flags);
901 spin_unlock_irqrestore(&pg->lock, flags);
910 spin_unlock_irqrestore(&pg->lock, flags);
913 spin_lock_irqsave(&pg->lock, flags);
918 spin_unlock_irqrestore(&pg->lock, flags);
926 spin_lock_irqsave(&pg->lock, flags);
941 spin_unlock_irqrestore(&pg->lock, flags);
949 spin_unlock_irqrestore(&pg->lock, flags);
951 spin_lock_irqsave(&pg->lock, flags);
956 spin_unlock_irqrestore(&pg->lock, flags);
969 spin_unlock_irqrestore(&pg->lock, flags);
980 spin_lock_irqsave(&pg->lock, flags);
982 spin_unlock_irqrestore(&pg->lock, flags);
1017 spin_lock_irqsave(&pg->lock, flags);
1044 spin_unlock_irqrestore(&pg->lock, flags);
1111 spin_lock_irqsave(&pg->lock, flags);
1116 spin_unlock_irqrestore(&pg->lock, flags);
1277 spin_lock_irq(&pg->lock);
1279 spin_unlock_irq(&pg->lock);