Lines Matching refs:mmu_notifier

539 static inline struct kvm *mmu_notifier_to_kvm(struct mmu_notifier *mn)  in mmu_notifier_to_kvm()
541 return container_of(mn, struct kvm, mmu_notifier); in mmu_notifier_to_kvm()
659 static __always_inline int kvm_handle_hva_range(struct mmu_notifier *mn, in kvm_handle_hva_range()
680 static __always_inline int kvm_handle_hva_range_no_flush(struct mmu_notifier *mn, in kvm_handle_hva_range_no_flush()
716 static void kvm_mmu_notifier_change_pte(struct mmu_notifier *mn, in kvm_mmu_notifier_change_pte()
770 static int kvm_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_start()
834 static void kvm_mmu_notifier_invalidate_range_end(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_end()
866 static int kvm_mmu_notifier_clear_flush_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_flush_young()
877 static int kvm_mmu_notifier_clear_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_young()
900 static int kvm_mmu_notifier_test_young(struct mmu_notifier *mn, in kvm_mmu_notifier_test_young()
910 static void kvm_mmu_notifier_release(struct mmu_notifier *mn, in kvm_mmu_notifier_release()
933 kvm->mmu_notifier.ops = &kvm_mmu_notifier_ops; in kvm_init_mmu_notifier()
934 return mmu_notifier_register(&kvm->mmu_notifier, current->mm); in kvm_init_mmu_notifier()
1265 if (kvm->mmu_notifier.ops) in kvm_create_vm()
1266 mmu_notifier_unregister(&kvm->mmu_notifier, current->mm); in kvm_create_vm()
1325 mmu_notifier_unregister(&kvm->mmu_notifier, kvm->mm); in kvm_destroy_vm()