Home
last modified time | relevance | path

Searched defs:kvm (Results 1 – 25 of 75) sorted by relevance

123

/arch/arm64/include/asm/
Dstage2_pgtable.h32 #define kvm_stage2_levels(kvm) VTCR_EL2_LVLS(kvm->arch.vtcr) argument
35 #define stage2_pgdir_shift(kvm) pt_levels_pgdir_shift(kvm_stage2_levels(kvm)) argument
36 #define stage2_pgdir_size(kvm) (1ULL << stage2_pgdir_shift(kvm)) argument
37 #define stage2_pgdir_mask(kvm) ~(stage2_pgdir_size(kvm) - 1) argument
51 #define stage2_pgd_ptrs(kvm) __s2_pgd_ptrs(kvm_phys_shift(kvm), kvm_stage2_levels(kvm)) argument
52 #define stage2_pgd_size(kvm) __s2_pgd_size(kvm_phys_shift(kvm), kvm_stage2_levels(kvm)) argument
59 #define kvm_mmu_cache_min_pages(kvm) (kvm_stage2_levels(kvm) - 1) argument
62 static inline bool kvm_stage2_has_pud(struct kvm *kvm) in kvm_stage2_has_pud()
71 static inline bool stage2_pgd_none(struct kvm *kvm, pgd_t pgd) in stage2_pgd_none()
79 static inline void stage2_pgd_clear(struct kvm *kvm, pgd_t *pgdp) in stage2_pgd_clear()
[all …]
/arch/arm/include/asm/
Dstage2_pgtable.h17 #define kvm_mmu_cache_min_pages(kvm) 2 argument
19 #define stage2_pgd_none(kvm, pgd) pgd_none(pgd) argument
20 #define stage2_pgd_clear(kvm, pgd) pgd_clear(pgd) argument
21 #define stage2_pgd_present(kvm, pgd) pgd_present(pgd) argument
22 #define stage2_pgd_populate(kvm, pgd, pud) pgd_populate(NULL, pgd, pud) argument
23 #define stage2_pud_offset(kvm, pgd, address) pud_offset(pgd, address) argument
24 #define stage2_pud_free(kvm, pud) do { } while (0) argument
26 #define stage2_pud_none(kvm, pud) pud_none(pud) argument
27 #define stage2_pud_clear(kvm, pud) pud_clear(pud) argument
28 #define stage2_pud_present(kvm, pud) pud_present(pud) argument
[all …]
Dkvm_mmu.h39 #define kvm_phys_shift(kvm) KVM_PHYS_SHIFT argument
40 #define kvm_phys_size(kvm) (1ULL << kvm_phys_shift(kvm)) argument
41 #define kvm_phys_mask(kvm) (kvm_phys_size(kvm) - 1ULL) argument
42 #define kvm_vttbr_baddr_mask(kvm) VTTBR_BADDR_MASK argument
44 #define stage2_pgd_size(kvm) (PTRS_PER_S2_PGD * sizeof(pgd_t)) argument
194 #define kvm_pte_table_empty(kvm, ptep) kvm_page_empty(ptep) argument
195 #define kvm_pmd_table_empty(kvm, pmdp) kvm_page_empty(pmdp) argument
196 #define kvm_pud_table_empty(kvm, pudp) false argument
361 static inline int kvm_read_guest_lock(struct kvm *kvm, in kvm_read_guest_lock()
372 static inline int kvm_write_guest_lock(struct kvm *kvm, gpa_t gpa, in kvm_write_guest_lock()
[all …]
/arch/x86/kvm/
Dirq_comm.c31 struct kvm *kvm, int irq_source_id, int level, in kvm_set_pic_irq()
39 struct kvm *kvm, int irq_source_id, int level, in kvm_set_ioapic_irq()
47 int kvm_irq_delivery_to_apic(struct kvm *kvm, struct kvm_lapic *src, in kvm_irq_delivery_to_apic()
104 void kvm_set_msi_irq(struct kvm *kvm, struct kvm_kernel_irq_routing_entry *e, in kvm_set_msi_irq()
127 static inline bool kvm_msi_route_invalid(struct kvm *kvm, in kvm_msi_route_invalid()
134 struct kvm *kvm, int irq_source_id, int level, bool line_status) in kvm_set_msi()
151 struct kvm *kvm, int irq_source_id, int level, in kvm_hv_set_sint()
161 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic()
189 int kvm_request_irq_source_id(struct kvm *kvm) in kvm_request_irq_source_id()
212 void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id) in kvm_free_irq_source_id()
[all …]
Dpage_track.c90 void kvm_slot_page_track_add_page(struct kvm *kvm, in kvm_slot_page_track_add_page()
125 void kvm_slot_page_track_remove_page(struct kvm *kvm, in kvm_slot_page_track_remove_page()
162 void kvm_page_track_cleanup(struct kvm *kvm) in kvm_page_track_cleanup()
170 void kvm_page_track_init(struct kvm *kvm) in kvm_page_track_init()
184 kvm_page_track_register_notifier(struct kvm *kvm, in kvm_page_track_register_notifier()
202 kvm_page_track_unregister_notifier(struct kvm *kvm, in kvm_page_track_unregister_notifier()
249 void kvm_page_track_flush_slot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_page_track_flush_slot()
Dmmu_audit.c28 #define audit_printk(kvm, fmt, args...) \ argument
85 static void walk_all_active_sps(struct kvm *kvm, sp_handler fn) in walk_all_active_sps()
126 static void inspect_spte_has_rmap(struct kvm *kvm, u64 *sptep) in inspect_spte_has_rmap()
175 static void check_mappings_rmap(struct kvm *kvm, struct kvm_mmu_page *sp) in check_mappings_rmap()
190 static void audit_write_protection(struct kvm *kvm, struct kvm_mmu_page *sp) in audit_write_protection()
213 static void audit_sp(struct kvm *kvm, struct kvm_mmu_page *sp) in audit_sp()
219 static void audit_all_active_sps(struct kvm *kvm) in audit_all_active_sps()
Dirq.h54 struct kvm *kvm; member
69 static inline int pic_in_kernel(struct kvm *kvm) in pic_in_kernel()
78 static inline int irqchip_split(struct kvm *kvm) in irqchip_split()
87 static inline int irqchip_kernel(struct kvm *kvm) in irqchip_kernel()
96 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel()
Dhyperv.c133 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx()
150 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get()
164 struct kvm *kvm = vcpu->kvm; in kvm_hv_notify_acked_sint() local
328 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq()
351 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) in kvm_hv_set_sint_gsi()
366 void kvm_hv_irq_routing_update(struct kvm *kvm) in kvm_hv_irq_routing_update()
396 static u64 get_time_ref_counter(struct kvm *kvm) in get_time_ref_counter()
932 void kvm_hv_setup_tsc_page(struct kvm *kvm, in kvm_hv_setup_tsc_page()
995 struct kvm *kvm = vcpu->kvm; in kvm_hv_set_msr_pw() local
1192 struct kvm *kvm = vcpu->kvm; in kvm_hv_get_msr_pw() local
[all …]
Dmmu.c319 static void kvm_flush_remote_tlbs_with_range(struct kvm *kvm, in kvm_flush_remote_tlbs_with_range()
331 static void kvm_flush_remote_tlbs_with_address(struct kvm *kvm, in kvm_flush_remote_tlbs_with_address()
1209 static void account_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in account_shadowed()
1228 static void account_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp) in account_huge_nx_page()
1239 static void unaccount_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_shadowed()
1256 static void unaccount_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_huge_nx_page()
1285 static int host_mapping_level(struct kvm *kvm, gfn_t gfn) in host_mapping_level()
1473 static struct kvm_rmap_head *gfn_to_rmap(struct kvm *kvm, gfn_t gfn, in gfn_to_rmap()
1503 static void rmap_remove(struct kvm *kvm, u64 *spte) in rmap_remove()
1591 static void drop_spte(struct kvm *kvm, u64 *sptep) in drop_spte()
[all …]
/arch/arm64/kvm/hyp/
Dtlb.c19 static void __hyp_text __tlb_switch_to_guest_vhe(struct kvm *kvm, in __tlb_switch_to_guest_vhe()
63 static void __hyp_text __tlb_switch_to_guest_nvhe(struct kvm *kvm, in __tlb_switch_to_guest_nvhe()
70 static void __hyp_text __tlb_switch_to_guest(struct kvm *kvm, in __tlb_switch_to_guest()
79 static void __hyp_text __tlb_switch_to_host_vhe(struct kvm *kvm, in __tlb_switch_to_host_vhe()
99 static void __hyp_text __tlb_switch_to_host_nvhe(struct kvm *kvm, in __tlb_switch_to_host_nvhe()
105 static void __hyp_text __tlb_switch_to_host(struct kvm *kvm, in __tlb_switch_to_host()
114 void __hyp_text __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa) in __kvm_tlb_flush_vmid_ipa()
168 void __hyp_text __kvm_tlb_flush_vmid(struct kvm *kvm) in __kvm_tlb_flush_vmid()
187 struct kvm *kvm = kern_hyp_va(kern_hyp_va(vcpu)->kvm); in __kvm_tlb_flush_local_vmid() local
/arch/arm/kvm/hyp/
Dtlb.c27 void __hyp_text __kvm_tlb_flush_vmid(struct kvm *kvm) in __kvm_tlb_flush_vmid()
43 void __hyp_text __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa) in __kvm_tlb_flush_vmid_ipa()
50 struct kvm *kvm = kern_hyp_va(kern_hyp_va(vcpu)->kvm); in __kvm_tlb_flush_local_vmid() local
/arch/s390/kvm/
Dkvm-s390.c269 struct kvm *kvm; in kvm_clock_sync() local
504 int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) in kvm_vm_ioctl_check_extension()
575 static void kvm_s390_sync_dirty_log(struct kvm *kvm, in kvm_s390_sync_dirty_log()
612 int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, in kvm_vm_ioctl_get_dirty_log()
652 static void icpt_operexc_on_all_vcpus(struct kvm *kvm) in icpt_operexc_on_all_vcpus()
662 int kvm_vm_ioctl_enable_cap(struct kvm *kvm, struct kvm_enable_cap *cap) in kvm_vm_ioctl_enable_cap()
792 static int kvm_s390_get_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_mem_control()
811 static int kvm_s390_set_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_mem_control()
901 void kvm_s390_vcpu_crypto_reset_all(struct kvm *kvm) in kvm_s390_vcpu_crypto_reset_all()
917 static int kvm_s390_vm_set_crypto(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_vm_set_crypto()
[all …]
Dinterrupt.c1574 static struct kvm_s390_interrupt_info *get_io_int(struct kvm *kvm, in get_io_int()
1600 static struct kvm_s390_interrupt_info *get_top_io_int(struct kvm *kvm, in get_top_io_int()
1613 static int get_top_gisa_isc(struct kvm *kvm, u64 isc_mask, u32 schid) in get_top_gisa_isc()
1647 struct kvm_s390_interrupt_info *kvm_s390_get_io_int(struct kvm *kvm, in kvm_s390_get_io_int()
1688 static int __inject_service(struct kvm *kvm, in __inject_service()
1714 static int __inject_virtio(struct kvm *kvm, in __inject_virtio()
1732 static int __inject_pfault_done(struct kvm *kvm, in __inject_pfault_done()
1752 static int __inject_float_mchk(struct kvm *kvm, in __inject_float_mchk()
1767 static int __inject_io(struct kvm *kvm, struct kvm_s390_interrupt_info *inti) in __inject_io()
1809 static void __floating_irq_kick(struct kvm *kvm, u64 type) in __floating_irq_kick()
[all …]
Dkvm-s390.h73 static inline int kvm_is_ucontrol(struct kvm *kvm) in kvm_is_ucontrol()
170 static inline int test_kvm_facility(struct kvm *kvm, unsigned long nr) in test_kvm_facility()
187 static inline int test_kvm_cpu_feat(struct kvm *kvm, unsigned long nr) in test_kvm_cpu_feat()
194 static inline int kvm_s390_user_cpu_state_ctrl(struct kvm *kvm) in kvm_s390_user_cpu_state_ctrl()
304 static inline void kvm_s390_vcpu_block_all(struct kvm *kvm) in kvm_s390_vcpu_block_all()
314 static inline void kvm_s390_vcpu_unblock_all(struct kvm *kvm) in kvm_s390_vcpu_unblock_all()
323 static inline u64 kvm_s390_get_tod_clock_fast(struct kvm *kvm) in kvm_s390_get_tod_clock_fast()
399 static inline union ipte_control *kvm_s390_get_ipte_control(struct kvm *kvm) in kvm_s390_get_ipte_control()
Dirq.h14 static inline int irqchip_in_kernel(struct kvm *kvm) in irqchip_in_kernel()
/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c131 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_walk_radix_tree() local
224 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_radix_translate_table() local
295 void kvmppc_radix_tlbie_page(struct kvm *kvm, unsigned long addr, in kvmppc_radix_tlbie_page()
323 static void kvmppc_radix_flush_pwc(struct kvm *kvm, unsigned int lpid) in kvmppc_radix_flush_pwc()
338 static unsigned long kvmppc_radix_update_pte(struct kvm *kvm, pte_t *ptep, in kvmppc_radix_update_pte()
345 void kvmppc_radix_set_pte_at(struct kvm *kvm, unsigned long addr, in kvmppc_radix_set_pte_at()
375 void kvmppc_unmap_pte(struct kvm *kvm, pte_t *pte, unsigned long gpa, in kvmppc_unmap_pte()
424 static void kvmppc_unmap_free_pte(struct kvm *kvm, pte_t *pte, bool full, in kvmppc_unmap_free_pte()
446 static void kvmppc_unmap_free_pmd(struct kvm *kvm, pmd_t *pmd, bool full, in kvmppc_unmap_free_pmd()
475 static void kvmppc_unmap_free_pud(struct kvm *kvm, pud_t *pud, in kvmppc_unmap_free_pud()
[all …]
Dbook3s_64_mmu_hv.c51 struct kvm *kvm; member
116 void kvmppc_set_hpt(struct kvm *kvm, struct kvm_hpt_info *info) in kvmppc_set_hpt()
126 long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order) in kvmppc_alloc_reset_hpt()
215 struct kvm *kvm = vcpu->kvm; in kvmppc_map_vrma() local
290 static long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags, in kvmppc_virtmode_do_h_enter()
343 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_book3s_64_hv_xlate() local
494 struct kvm *kvm = vcpu->kvm; in kvmppc_book3s_hv_page_fault() local
744 void kvmppc_rmap_reset(struct kvm *kvm) in kvmppc_rmap_reset()
769 static int kvm_handle_hva_range(struct kvm *kvm, in kvm_handle_hva_range()
805 static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, in kvm_handle_hva()
[all …]
Dbook3s_hv_nested.c433 void kvmhv_vm_nested_init(struct kvm *kvm) in kvmhv_vm_nested_init()
445 struct kvm *kvm = vcpu->kvm; in kvmhv_set_partition_table() local
548 struct kvm *kvm = gp->l1_host; in kvmhv_update_ptbl_cache() local
565 struct kvm_nested_guest *kvmhv_alloc_nested(struct kvm *kvm, unsigned int lpid) in kvmhv_alloc_nested()
601 struct kvm *kvm = gp->l1_host; in kvmhv_release_nested() local
620 struct kvm *kvm = gp->l1_host; in kvmhv_remove_nested() local
646 void kvmhv_release_all_nested(struct kvm *kvm) in kvmhv_release_all_nested()
681 struct kvm *kvm = gp->l1_host; in kvmhv_flush_nested() local
692 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid, in kvmhv_get_nested()
736 struct kvm *kvm = gp->l1_host; in kvmhv_put_nested() local
[all …]
Dbook3s_hv_rm_mmu.c43 static int global_invalidates(struct kvm *kvm) in global_invalidates()
81 void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev, in kvmppc_add_revmap_chain()
122 static void kvmppc_set_dirty_from_hpte(struct kvm *kvm, in kvmppc_set_dirty_from_hpte()
137 static unsigned long *revmap_for_hpte(struct kvm *kvm, unsigned long hpte_v, in revmap_for_hpte()
160 static void remove_revmap_chain(struct kvm *kvm, long pte_index, in remove_revmap_chain()
197 long kvmppc_do_h_enter(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_enter()
467 static void do_tlbies(struct kvm *kvm, unsigned long *rbvalues, in do_tlbies()
498 long kvmppc_do_h_remove(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_remove()
569 struct kvm *kvm = vcpu->kvm; in kvmppc_h_bulk_remove() local
689 struct kvm *kvm = vcpu->kvm; in kvmppc_h_protect() local
[all …]
Dbook3s.c817 struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, unsigned int id) in kvmppc_core_vcpu_create()
832 int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log) in kvm_vm_ioctl_get_dirty_log()
837 void kvmppc_core_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, in kvmppc_core_free_memslot()
843 int kvmppc_core_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, in kvmppc_core_create_memslot()
849 void kvmppc_core_flush_memslot(struct kvm *kvm, struct kvm_memory_slot *memslot) in kvmppc_core_flush_memslot()
854 int kvmppc_core_prepare_memory_region(struct kvm *kvm, in kvmppc_core_prepare_memory_region()
861 void kvmppc_core_commit_memory_region(struct kvm *kvm, in kvmppc_core_commit_memory_region()
870 int kvm_unmap_hva_range(struct kvm *kvm, unsigned long start, unsigned long end) in kvm_unmap_hva_range()
875 int kvm_age_hva(struct kvm *kvm, unsigned long start, unsigned long end) in kvm_age_hva()
880 int kvm_test_age_hva(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva()
[all …]
Dbook3s_64_vio.c69 extern void kvm_spapr_tce_release_iommu_group(struct kvm *kvm, in kvm_spapr_tce_release_iommu_group()
94 extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, in kvm_spapr_tce_attach_iommu_group()
242 struct kvm *kvm = stt->kvm; in kvm_spapr_tce_release() local
270 long kvm_vm_ioctl_create_spapr_tce(struct kvm *kvm, in kvm_vm_ioctl_create_spapr_tce()
333 static long kvmppc_tce_to_ua(struct kvm *kvm, unsigned long tce, in kvmppc_tce_to_ua()
422 static long kvmppc_tce_iommu_mapped_dec(struct kvm *kvm, in kvmppc_tce_iommu_mapped_dec()
443 static long kvmppc_tce_iommu_do_unmap(struct kvm *kvm, in kvmppc_tce_iommu_do_unmap()
464 static long kvmppc_tce_iommu_unmap(struct kvm *kvm, in kvmppc_tce_iommu_unmap()
481 long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_tce_iommu_do_map()
519 static long kvmppc_tce_iommu_map(struct kvm *kvm, in kvmppc_tce_iommu_map()
Dbook3s_pr.c392 static void do_kvm_unmap_hva(struct kvm *kvm, unsigned long start, in do_kvm_unmap_hva()
422 static int kvm_unmap_hva_range_pr(struct kvm *kvm, unsigned long start, in kvm_unmap_hva_range_pr()
430 static int kvm_age_hva_pr(struct kvm *kvm, unsigned long start, in kvm_age_hva_pr()
437 static int kvm_test_age_hva_pr(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva_pr()
443 static void kvm_set_spte_hva_pr(struct kvm *kvm, unsigned long hva, pte_t pte) in kvm_set_spte_hva_pr()
1711 static struct kvm_vcpu *kvmppc_core_vcpu_create_pr(struct kvm *kvm, in kvmppc_core_vcpu_create_pr()
1860 static int kvm_vm_ioctl_get_dirty_log_pr(struct kvm *kvm, in kvm_vm_ioctl_get_dirty_log_pr()
1898 static void kvmppc_core_flush_memslot_pr(struct kvm *kvm, in kvmppc_core_flush_memslot_pr()
1904 static int kvmppc_core_prepare_memory_region_pr(struct kvm *kvm, in kvmppc_core_prepare_memory_region_pr()
1911 static void kvmppc_core_commit_memory_region_pr(struct kvm *kvm, in kvmppc_core_commit_memory_region_pr()
[all …]
Dbook3s_hv.c128 static inline bool nesting_enabled(struct kvm *kvm) in nesting_enabled()
447 static struct kvm_vcpu *kvmppc_find_vcpu(struct kvm *kvm, int id) in kvmppc_find_vcpu()
494 struct kvm *kvm = vcpu->kvm; in do_h_register_vpa() local
609 struct kvm *kvm = vcpu->kvm; in kvmppc_update_vpa() local
801 static int kvmppc_copy_guest(struct kvm *kvm, gpa_t to, gpa_t from, in kvmppc_copy_guest()
1198 struct kvm *kvm = vcpu->kvm; in kvmppc_emulate_doorbell_instr() local
1577 struct kvm *kvm = vcpu->kvm; in kvmppc_set_lpcr() local
2084 static int threads_per_vcore(struct kvm *kvm) in threads_per_vcore()
2091 static struct kvmppc_vcore *kvmppc_vcore_create(struct kvm *kvm, int id) in kvmppc_vcore_create()
2241 struct kvm *kvm = vcpu->kvm; in debugfs_vcpu_init() local
[all …]
Dbook3s_64_vio_hv.c64 struct kvmppc_spapr_tce_table *kvmppc_find_table(struct kvm *kvm, in kvmppc_find_table()
78 static long kvmppc_rm_tce_to_ua(struct kvm *kvm, unsigned long tce, in kvmppc_rm_tce_to_ua()
251 static void kvmppc_rm_clear_tce(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_clear_tce()
260 static long kvmppc_rm_tce_iommu_mapped_dec(struct kvm *kvm, in kvmppc_rm_tce_iommu_mapped_dec()
282 static long kvmppc_rm_tce_iommu_do_unmap(struct kvm *kvm, in kvmppc_rm_tce_iommu_do_unmap()
306 static long kvmppc_rm_tce_iommu_unmap(struct kvm *kvm, in kvmppc_rm_tce_iommu_unmap()
323 static long kvmppc_rm_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, in kvmppc_rm_tce_iommu_do_map()
365 static long kvmppc_rm_tce_iommu_map(struct kvm *kvm, in kvmppc_rm_tce_iommu_map()
/arch/mips/kvm/
Dmmu.c173 static pte_t *kvm_mips_pte_for_gpa(struct kvm *kvm, in kvm_mips_pte_for_gpa()
299 bool kvm_mips_flush_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn) in kvm_mips_flush_gpa_pt()
441 void kvm_arch_mmu_enable_log_dirty_pt_masked(struct kvm *kvm, in kvm_arch_mmu_enable_log_dirty_pt_masked()
468 static int handle_hva_to_gpa(struct kvm *kvm, in handle_hva_to_gpa()
471 int (*handler)(struct kvm *kvm, gfn_t gfn, in handle_hva_to_gpa()
508 static int kvm_unmap_hva_handler(struct kvm *kvm, gfn_t gfn, gfn_t gfn_end, in kvm_unmap_hva_handler()
515 int kvm_unmap_hva_range(struct kvm *kvm, unsigned long start, unsigned long end) in kvm_unmap_hva_range()
523 static int kvm_set_spte_handler(struct kvm *kvm, gfn_t gfn, gfn_t gfn_end, in kvm_set_spte_handler()
554 int kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte) in kvm_set_spte_hva()
565 static int kvm_age_hva_handler(struct kvm *kvm, gfn_t gfn, gfn_t gfn_end, in kvm_age_hva_handler()
[all …]

123