Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
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()
Dbook3s_32_mmu.c115 r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_32_get_pteg()
Dbook3s_64_mmu.c148 r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); in kvmppc_mmu_book3s_64_get_pteg()
/linux-6.12.1/arch/arm64/kvm/
Dpvtime.c97 if (kvm_is_error_hva(gfn_to_hva(kvm, ipa >> PAGE_SHIFT))) in kvm_arm_pvtime_set_attr()
/linux-6.12.1/arch/s390/kvm/
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()
1140 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_pfmf()
1200 hva = gfn_to_hva(vcpu->kvm, gfn); in __do_essa()
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()
Dgaccess.c653 hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in vm_check_access_key()
720 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gpa)); in vcpu_check_access_key()
Dkvm-s390.c2104 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_get_skeys()
2163 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_skeys()
2208 hva = gfn_to_hva(kvm, cur_gfn); in kvm_s390_peek_cmma()
2278 hva = gfn_to_hva(kvm, cur_gfn); in kvm_s390_get_cmma()
2409 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_cmma_bits()
4665 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf()
/linux-6.12.1/include/linux/
Dkvm_host.h1221 unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn);
1266 unsigned long __addr = gfn_to_hva(kvm, gfn); \
1286 unsigned long __addr = gfn_to_hva(kvm, gfn); \
1838 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_gpa_in_memslot()
/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c1106 if (kvm_is_error_hva(gfn_to_hva(kvm, gpa >> PAGE_SHIFT))) in kvm_loongarch_pvtime_set_attr()
/linux-6.12.1/drivers/s390/crypto/
Dvfio_ap_ops.c357 if (kvm_is_error_hva(gfn_to_hva(vcpu->kvm, *nib >> PAGE_SHIFT))) in vfio_ap_validate_nib()
/linux-6.12.1/virt/kvm/
Dkvm_main.c2704 unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn) in gfn_to_hva() function
2708 EXPORT_SYMBOL_GPL(gfn_to_hva);