Lines Matching defs:kvm

17 bool kvm_mmu_init_tdp_mmu(struct kvm *kvm)  in kvm_mmu_init_tdp_mmu()
32 static __always_inline void kvm_lockdep_assert_mmu_lock_held(struct kvm *kvm, in kvm_lockdep_assert_mmu_lock_held()
41 void kvm_mmu_uninit_tdp_mmu(struct kvm *kvm) in kvm_mmu_uninit_tdp_mmu()
82 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root, in kvm_tdp_mmu_put_root()
108 static struct kvm_mmu_page *tdp_mmu_next_root(struct kvm *kvm, in tdp_mmu_next_root()
196 struct kvm *kvm = vcpu->kvm; in kvm_tdp_mmu_get_vcpu_root_hpa() local
236 static void handle_changed_spte_dirty_log(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte_dirty_log()
262 static void tdp_mmu_link_page(struct kvm *kvm, struct kvm_mmu_page *sp, in tdp_mmu_link_page()
281 static void tdp_mmu_unlink_page(struct kvm *kvm, struct kvm_mmu_page *sp, in tdp_mmu_unlink_page()
314 static void handle_removed_tdp_mmu_page(struct kvm *kvm, tdp_ptep_t pt, in handle_removed_tdp_mmu_page()
396 static void __handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in __handle_changed_spte()
479 static void handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte()
501 static inline bool tdp_mmu_set_spte_atomic(struct kvm *kvm, in tdp_mmu_set_spte_atomic()
531 static inline bool tdp_mmu_zap_spte_atomic(struct kvm *kvm, in tdp_mmu_zap_spte_atomic()
576 static inline void __tdp_mmu_set_spte(struct kvm *kvm, struct tdp_iter *iter, in __tdp_mmu_set_spte()
606 static inline void tdp_mmu_set_spte(struct kvm *kvm, struct tdp_iter *iter, in tdp_mmu_set_spte()
612 static inline void tdp_mmu_set_spte_no_acc_track(struct kvm *kvm, in tdp_mmu_set_spte_no_acc_track()
619 static inline void tdp_mmu_set_spte_no_dirty_log(struct kvm *kvm, in tdp_mmu_set_spte_no_dirty_log()
654 static inline bool __must_check tdp_mmu_iter_cond_resched(struct kvm *kvm, in tdp_mmu_iter_cond_resched()
702 static bool zap_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in zap_gfn_range()
773 bool __kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, int as_id, gfn_t start, in __kvm_tdp_mmu_zap_gfn_range()
785 void kvm_tdp_mmu_zap_all(struct kvm *kvm) in kvm_tdp_mmu_zap_all()
797 static struct kvm_mmu_page *next_invalidated_root(struct kvm *kvm, in next_invalidated_root()
827 void kvm_tdp_mmu_zap_invalidated_roots(struct kvm *kvm) in kvm_tdp_mmu_zap_invalidated_roots()
883 void kvm_tdp_mmu_invalidate_all_roots(struct kvm *kvm) in kvm_tdp_mmu_invalidate_all_roots()
1032 bool kvm_tdp_mmu_unmap_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range, in kvm_tdp_mmu_unmap_gfn_range()
1047 static __always_inline bool kvm_tdp_mmu_handle_gfn(struct kvm *kvm, in kvm_tdp_mmu_handle_gfn()
1075 static bool age_gfn_range(struct kvm *kvm, struct tdp_iter *iter, in age_gfn_range()
1104 bool kvm_tdp_mmu_age_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_tdp_mmu_age_gfn_range()
1109 static bool test_age_gfn(struct kvm *kvm, struct tdp_iter *iter, in test_age_gfn()
1115 bool kvm_tdp_mmu_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_tdp_mmu_test_age_gfn()
1120 static bool set_spte_gfn(struct kvm *kvm, struct tdp_iter *iter, in set_spte_gfn()
1156 bool kvm_tdp_mmu_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_tdp_mmu_set_spte_gfn()
1172 static bool wrprot_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in wrprot_gfn_range()
1216 bool kvm_tdp_mmu_wrprot_slot(struct kvm *kvm, in kvm_tdp_mmu_wrprot_slot()
1238 static bool clear_dirty_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, in clear_dirty_gfn_range()
1286 bool kvm_tdp_mmu_clear_dirty_slot(struct kvm *kvm, in kvm_tdp_mmu_clear_dirty_slot()
1308 static void clear_dirty_pt_masked(struct kvm *kvm, struct kvm_mmu_page *root, in clear_dirty_pt_masked()
1352 void kvm_tdp_mmu_clear_dirty_pt_masked(struct kvm *kvm, in kvm_tdp_mmu_clear_dirty_pt_masked()
1368 static void zap_collapsible_spte_range(struct kvm *kvm, in zap_collapsible_spte_range()
1412 void kvm_tdp_mmu_zap_collapsible_sptes(struct kvm *kvm, in kvm_tdp_mmu_zap_collapsible_sptes()
1428 static bool write_protect_gfn(struct kvm *kvm, struct kvm_mmu_page *root, in write_protect_gfn()
1465 bool kvm_tdp_mmu_write_protect_gfn(struct kvm *kvm, in kvm_tdp_mmu_write_protect_gfn()