Lines Matching defs:kvm
25 void kvm_mmu_init_tdp_mmu(struct kvm *kvm) in kvm_mmu_init_tdp_mmu()
37 void kvm_mmu_uninit_tdp_mmu(struct kvm *kvm) in kvm_mmu_uninit_tdp_mmu()
48 bool is_tdp_mmu_root(struct kvm *kvm, hpa_t hpa) in is_tdp_mmu_root()
67 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_free_root()
117 struct kvm *kvm = vcpu->kvm; in get_tdp_mmu_vcpu_root() local
174 static void handle_changed_spte_dirty_log(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte_dirty_log()
204 static void __handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in __handle_changed_spte()
302 static void handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte()
311 static inline void __tdp_mmu_set_spte(struct kvm *kvm, struct tdp_iter *iter, in __tdp_mmu_set_spte()
332 static inline void tdp_mmu_set_spte(struct kvm *kvm, struct tdp_iter *iter, in tdp_mmu_set_spte()
338 static inline void tdp_mmu_set_spte_no_acc_track(struct kvm *kvm, in tdp_mmu_set_spte_no_acc_track()
345 static inline void tdp_mmu_set_spte_no_dirty_log(struct kvm *kvm, in tdp_mmu_set_spte_no_dirty_log()
370 static bool tdp_mmu_iter_flush_cond_resched(struct kvm *kvm, struct tdp_iter *iter) in tdp_mmu_iter_flush_cond_resched()
382 static void tdp_mmu_iter_cond_resched(struct kvm *kvm, struct tdp_iter *iter) in tdp_mmu_iter_cond_resched()
401 static bool zap_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in zap_gfn_range()
437 bool kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, gfn_t start, gfn_t end) in kvm_tdp_mmu_zap_gfn_range()
457 void kvm_tdp_mmu_zap_all(struct kvm *kvm) in kvm_tdp_mmu_zap_all()
600 static int kvm_tdp_mmu_handle_hva_range(struct kvm *kvm, unsigned long start, in kvm_tdp_mmu_handle_hva_range()
602 int (*handler)(struct kvm *kvm, struct kvm_memory_slot *slot, in kvm_tdp_mmu_handle_hva_range()
647 static int zap_gfn_range_hva_wrapper(struct kvm *kvm, in zap_gfn_range_hva_wrapper()
655 int kvm_tdp_mmu_zap_hva_range(struct kvm *kvm, unsigned long start, in kvm_tdp_mmu_zap_hva_range()
666 static int age_gfn_range(struct kvm *kvm, struct kvm_memory_slot *slot, in age_gfn_range()
706 int kvm_tdp_mmu_age_hva_range(struct kvm *kvm, unsigned long start, in kvm_tdp_mmu_age_hva_range()
713 static int test_age_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, in test_age_gfn()
726 int kvm_tdp_mmu_test_age_hva(struct kvm *kvm, unsigned long hva) in kvm_tdp_mmu_test_age_hva()
738 static int set_tdp_spte(struct kvm *kvm, struct kvm_memory_slot *slot, in set_tdp_spte()
779 int kvm_tdp_mmu_set_spte_hva(struct kvm *kvm, unsigned long address, in kvm_tdp_mmu_set_spte_hva()
792 static bool wrprot_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in wrprot_gfn_range()
822 bool kvm_tdp_mmu_wrprot_slot(struct kvm *kvm, struct kvm_memory_slot *slot, in kvm_tdp_mmu_wrprot_slot()
856 static bool clear_dirty_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in clear_dirty_gfn_range()
891 bool kvm_tdp_mmu_clear_dirty_slot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_tdp_mmu_clear_dirty_slot()
924 static void clear_dirty_pt_masked(struct kvm *kvm, struct kvm_mmu_page *root, in clear_dirty_pt_masked()
964 void kvm_tdp_mmu_clear_dirty_pt_masked(struct kvm *kvm, in kvm_tdp_mmu_clear_dirty_pt_masked()
987 static bool set_dirty_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in set_dirty_gfn_range()
1014 bool kvm_tdp_mmu_slot_set_dirty(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_tdp_mmu_slot_set_dirty()
1043 static void zap_collapsible_spte_range(struct kvm *kvm, in zap_collapsible_spte_range()
1074 void kvm_tdp_mmu_zap_collapsible_sptes(struct kvm *kvm, in kvm_tdp_mmu_zap_collapsible_sptes()
1103 static bool write_protect_gfn(struct kvm *kvm, struct kvm_mmu_page *root, in write_protect_gfn()
1129 bool kvm_tdp_mmu_write_protect_gfn(struct kvm *kvm, in kvm_tdp_mmu_write_protect_gfn()