Lines Matching defs:kvm

61 	struct kvm *kvm = kvm_s2_mmu_to_kvm(mmu);  in stage2_apply_range()  local
100 static bool need_split_memcache_topup_or_resched(struct kvm *kvm) in need_split_memcache_topup_or_resched()
114 static int kvm_mmu_split_huge_pages(struct kvm *kvm, phys_addr_t addr, in kvm_mmu_split_huge_pages()
169 int kvm_arch_flush_remote_tlbs(struct kvm *kvm) in kvm_arch_flush_remote_tlbs()
175 int kvm_arch_flush_remote_tlbs_range(struct kvm *kvm, in kvm_arch_flush_remote_tlbs_range()
322 struct kvm *kvm = kvm_s2_mmu_to_kvm(mmu); in __unmap_stage2_range() local
336 static void stage2_flush_memslot(struct kvm *kvm, in stage2_flush_memslot()
352 static void stage2_flush_vm(struct kvm *kvm) in stage2_flush_vm()
802 static int get_user_mapping_size(struct kvm *kvm, u64 addr) in get_user_mapping_size()
866 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type) in kvm_init_stage2_mmu()
935 void kvm_uninit_stage2_mmu(struct kvm *kvm) in kvm_uninit_stage2_mmu()
941 static void stage2_unmap_memslot(struct kvm *kvm, in stage2_unmap_memslot()
990 void stage2_unmap_vm(struct kvm *kvm) in stage2_unmap_vm()
1011 struct kvm *kvm = kvm_s2_mmu_to_kvm(mmu); in kvm_free_stage2_pgd() local
1064 int kvm_phys_addr_ioremap(struct kvm *kvm, phys_addr_t guest_ipa, in kvm_phys_addr_ioremap()
1125 static void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot) in kvm_mmu_wp_memory_region()
1152 static void kvm_mmu_split_memory_region(struct kvm *kvm, int slot) in kvm_mmu_split_memory_region()
1182 void kvm_arch_mmu_enable_log_dirty_pt_masked(struct kvm *kvm, in kvm_arch_mmu_enable_log_dirty_pt_masked()
1281 transparent_hugepage_adjust(struct kvm *kvm, struct kvm_memory_slot *memslot, in transparent_hugepage_adjust()
1372 static void sanitise_mte_tags(struct kvm *kvm, kvm_pfn_t pfn, in sanitise_mte_tags()
1403 struct kvm *kvm = vcpu->kvm; in user_mem_abort() local
1771 bool kvm_unmap_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_unmap_gfn_range()
1783 bool kvm_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_set_spte_gfn()
1817 bool kvm_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_age_gfn()
1829 bool kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) in kvm_test_age_gfn()
1964 void kvm_arch_commit_memory_region(struct kvm *kvm, in kvm_arch_commit_memory_region()
2008 int kvm_arch_prepare_memory_region(struct kvm *kvm, in kvm_arch_prepare_memory_region()
2068 void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_arch_free_memslot()
2072 void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) in kvm_arch_memslots_updated()
2076 void kvm_arch_flush_shadow_all(struct kvm *kvm) in kvm_arch_flush_shadow_all()
2081 void kvm_arch_flush_shadow_memslot(struct kvm *kvm, in kvm_arch_flush_shadow_memslot()