Lines Matching refs:mmu_lock
287 * @lock: Whether to hold mmu_lock or not
303 spin_lock(&kvm->mmu_lock);
306 spin_unlock(&kvm->mmu_lock);
316 * free pte table page after mmu_lock
334 * The caller must hold the @kvm->mmu_lock spinlock.
359 * acquire @kvm->mmu_lock.
460 spin_lock(&kvm->mmu_lock);
464 spin_unlock(&kvm->mmu_lock);
576 spin_lock(&kvm->mmu_lock);
618 spin_unlock(&kvm->mmu_lock);
621 * Fixme: pfn may be freed after mmu_lock
633 spin_unlock(&kvm->mmu_lock);
679 * consuming it. In this case, mmu_lock doesn't need to be held during the
682 * - Hold mmu_lock AND ensure there is no in-progress MMU notifier invalidation
688 * not required to hold mmu_lock (though it's highly likely the caller will
689 * want to hold mmu_lock anyways, e.g. to modify SPTEs).
840 * chance to grab the mmu_lock without mmu_invalidate_retry() noticing.
857 spin_lock(&kvm->mmu_lock);
864 spin_unlock(&kvm->mmu_lock);
920 spin_unlock(&kvm->mmu_lock);