Lines Matching refs:lock
32 read_lock_irq(&gpc->lock);
37 read_unlock_irq(&gpc->lock);
43 * is still necessary once the write lock has been
47 write_lock_irq(&gpc->lock);
51 write_unlock_irq(&gpc->lock);
55 read_unlock_irq(&gpc->lock);
137 * is not protected by gpc->lock. It is guaranteed to
138 * be elevated before the mmu_notifier acquires gpc->lock, and
165 lockdep_assert_held_write(&gpc->lock);
168 * Invalidate the cache prior to dropping gpc->lock, the gpa=>uhva
178 write_unlock_irq(&gpc->lock);
184 * needs to be done after dropping the lock. Opportunistically
185 * check for resched while the lock isn't held.
208 * too must be done outside of gpc->lock!
220 write_lock_irq(&gpc->lock);
243 write_lock_irq(&gpc->lock);
264 write_lock_irq(&gpc->lock);
319 * drop the lock and do the HVA to PFN lookup again.
346 /* Detect a pfn change before dropping the lock! */
350 write_unlock_irq(&gpc->lock);
379 rwlock_init(&gpc->lock);
412 write_lock_irq(&gpc->lock);
414 write_unlock_irq(&gpc->lock);
448 * until gpc->lock is dropped and refresh is guaranteed to fail.
450 write_lock_irq(&gpc->lock);
465 write_unlock_irq(&gpc->lock);