Home
last modified time | relevance | path

Searched refs:gfn_to_hva (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c395 unsigned long end, start = gfn_to_hva(kvm, gfn); in kvmppc_memslot_page_merge()
806 start = gfn_to_hva(kvm, gfn); in kvmppc_uv_migrate_mem_slot()
962 start = gfn_to_hva(kvm, gfn); in kvmppc_h_svm_page_in()
1067 start = gfn_to_hva(kvm, gfn); in kvmppc_h_svm_page_out()
H A Dbook3s_32_mmu.c115 r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_32_get_pteg()
H A Dbook3s_64_mmu.c148 r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_64_get_pteg()
/openbmc/linux/arch/arm64/kvm/
H A Dpvtime.c97 if (kvm_is_error_hva(gfn_to_hva(kvm, ipa >> PAGE_SHIFT))) in kvm_arm_pvtime_set_attr()
/openbmc/linux/arch/s390/kvm/
H A Dpriv.c278 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_iske()
325 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_rrbe()
392 unsigned long vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_sske()
1136 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_pfmf()
1196 hva = gfn_to_hva(vcpu->kvm, gfn); in __do_essa()
H A Dpci.c252 hva = gfn_to_hva(kvm, gpa_to_gfn((gpa_t)fib->fmt0.aibv)); in kvm_s390_pci_aif_enable()
267 hva = gfn_to_hva(kvm, gpa_to_gfn((gpa_t)fib->fmt0.aisb)); in kvm_s390_pci_aif_enable()
H A Dgaccess.c826 hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in vm_check_access_key()
893 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gpa)); in vcpu_check_access_key()
H A Dkvm-s390.c2096 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_get_skeys()
2155 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_skeys()
2200 hva = gfn_to_hva(kvm, cur_gfn); in kvm_s390_peek_cmma()
2270 hva = gfn_to_hva(kvm, cur_gfn); in kvm_s390_get_cmma()
2401 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_cmma_bits()
4661 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf()
/openbmc/linux/include/linux/
H A Dkvm_host.h1172 unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn);
1217 unsigned long __addr = gfn_to_hva(kvm, gfn); \
1237 unsigned long __addr = gfn_to_hva(kvm, gfn); \
1761 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_error_gpa()
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c357 if (kvm_is_error_hva(gfn_to_hva(vcpu->kvm, *nib >> PAGE_SHIFT))) in vfio_ap_validate_nib()
/openbmc/linux/virt/kvm/
H A Dkvm_main.c2457 unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn) in gfn_to_hva() function
2461 EXPORT_SYMBOL_GPL(gfn_to_hva);