Lines Matching defs:kvm
97 static bool gstage_get_leaf_entry(struct kvm *kvm, gpa_t addr, in gstage_get_leaf_entry()
126 static void gstage_remote_tlb_flush(struct kvm *kvm, u32 level, gpa_t addr) in gstage_remote_tlb_flush()
137 static int gstage_set_pte(struct kvm *kvm, u32 level, in gstage_set_pte()
177 static int gstage_map_page(struct kvm *kvm, in gstage_map_page()
228 static void gstage_op_pte(struct kvm *kvm, gpa_t addr, in gstage_op_pte()
269 static void gstage_unmap_range(struct kvm *kvm, gpa_t start, in gstage_unmap_range()
305 static void gstage_wp_range(struct kvm *kvm, gpa_t start, gpa_t end) in gstage_wp_range()
333 static void gstage_wp_memory_region(struct kvm *kvm, int slot) in gstage_wp_memory_region()
346 int kvm_riscv_gstage_ioremap(struct kvm *kvm, gpa_t gpa, in kvm_riscv_gstage_ioremap()
386 void kvm_riscv_gstage_iounmap(struct kvm *kvm, gpa_t gpa, unsigned long size) in kvm_riscv_gstage_iounmap()
393 void kvm_arch_mmu_enable_log_dirty_pt_masked(struct kvm *kvm, in kvm_arch_mmu_enable_log_dirty_pt_masked()
405 void kvm_arch_sync_dirty_log(struct kvm *kvm, struct kvm_memory_slot *memslot) in kvm_arch_sync_dirty_log()
409 void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free) in kvm_arch_free_memslot()
413 void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) in kvm_arch_memslots_updated()
417 void kvm_arch_flush_shadow_all(struct kvm *kvm) in kvm_arch_flush_shadow_all()
422 void kvm_arch_flush_shadow_memslot(struct kvm *kvm, in kvm_arch_flush_shadow_memslot()
433 void kvm_arch_commit_memory_region(struct kvm *kvm, in kvm_arch_commit_memory_region()
447 int kvm_arch_prepare_memory_region(struct kvm *kvm, in kvm_arch_prepare_memory_region()
542 bool kvm_unmap_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_unmap_gfn_range()
553 bool kvm_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_set_spte_gfn()
573 bool kvm_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_age_gfn()
591 bool kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_test_age_gfn()
619 struct kvm *kvm = vcpu->kvm; in kvm_riscv_gstage_map() local
711 int kvm_riscv_gstage_alloc_pgd(struct kvm *kvm) in kvm_riscv_gstage_alloc_pgd()
730 void kvm_riscv_gstage_free_pgd(struct kvm *kvm) in kvm_riscv_gstage_free_pgd()