Lines Matching defs:kvm
8 void kvm_mmu_init_tdp_mmu(struct kvm *kvm);
9 void kvm_mmu_uninit_tdp_mmu(struct kvm *kvm);
11 bool is_tdp_mmu_root(struct kvm *kvm, hpa_t root);
13 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root);
15 bool __kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, gfn_t start, gfn_t end,
17 static inline bool kvm_tdp_mmu_zap_gfn_range(struct kvm *kvm, gfn_t start,
20 return __kvm_tdp_mmu_zap_gfn_range(kvm, start, end, true);
22 static inline bool kvm_tdp_mmu_zap_sp(struct kvm *kvm, struct kvm_mmu_page *sp)
30 return __kvm_tdp_mmu_zap_gfn_range(kvm, sp->gfn, end, false);
32 void kvm_tdp_mmu_zap_all(struct kvm *kvm);
38 int kvm_tdp_mmu_zap_hva_range(struct kvm *kvm, unsigned long start,
41 int kvm_tdp_mmu_age_hva_range(struct kvm *kvm, unsigned long start,
43 int kvm_tdp_mmu_test_age_hva(struct kvm *kvm, unsigned long hva);
45 int kvm_tdp_mmu_set_spte_hva(struct kvm *kvm, unsigned long address,
48 bool kvm_tdp_mmu_wrprot_slot(struct kvm *kvm, struct kvm_memory_slot *slot,
50 bool kvm_tdp_mmu_clear_dirty_slot(struct kvm *kvm,
52 void kvm_tdp_mmu_clear_dirty_pt_masked(struct kvm *kvm,
56 bool kvm_tdp_mmu_slot_set_dirty(struct kvm *kvm, struct kvm_memory_slot *slot);
57 void kvm_tdp_mmu_zap_collapsible_sptes(struct kvm *kvm,
60 bool kvm_tdp_mmu_write_protect_gfn(struct kvm *kvm,