Lines Matching refs:mmu_notifier

456 static inline struct kvm *mmu_notifier_to_kvm(struct mmu_notifier *mn)  in mmu_notifier_to_kvm()
458 return container_of(mn, struct kvm, mmu_notifier); in mmu_notifier_to_kvm()
461 static void kvm_mmu_notifier_invalidate_range(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range()
569 static __always_inline int kvm_handle_hva_range(struct mmu_notifier *mn, in kvm_handle_hva_range()
589 static __always_inline int kvm_handle_hva_range_no_flush(struct mmu_notifier *mn, in kvm_handle_hva_range_no_flush()
607 static void kvm_mmu_notifier_change_pte(struct mmu_notifier *mn, in kvm_mmu_notifier_change_pte()
659 static int kvm_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_start()
710 static void kvm_mmu_notifier_invalidate_range_end(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_end()
742 static int kvm_mmu_notifier_clear_flush_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_flush_young()
752 static int kvm_mmu_notifier_clear_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_young()
775 static int kvm_mmu_notifier_test_young(struct mmu_notifier *mn, in kvm_mmu_notifier_test_young()
785 static void kvm_mmu_notifier_release(struct mmu_notifier *mn, in kvm_mmu_notifier_release()
809 kvm->mmu_notifier.ops = &kvm_mmu_notifier_ops; in kvm_init_mmu_notifier()
810 return mmu_notifier_register(&kvm->mmu_notifier, current->mm); in kvm_init_mmu_notifier()
1114 if (kvm->mmu_notifier.ops) in kvm_create_vm()
1115 mmu_notifier_unregister(&kvm->mmu_notifier, current->mm); in kvm_create_vm()
1175 mmu_notifier_unregister(&kvm->mmu_notifier, kvm->mm); in kvm_destroy_vm()