/linux-6.1.9/arch/x86/kvm/ |
D | mtrr.c | 332 kvm_zap_gfn_range(vcpu->kvm, gpa_to_gfn(start), gpa_to_gfn(end)); in update_mtrr()
|
D | x86.c | 879 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(real_gpa), pdpte, in load_pdptrs() 3538 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa)); in record_steal_time() 4787 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa)); in kvm_steal_time_set_preempted() 7677 hva = kvm_vcpu_gfn_to_hva(vcpu, gpa_to_gfn(gpa)); in emulator_cmpxchg_emulated() 8499 pfn = gfn_to_pfn(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 8519 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 8529 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 8582 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in retry_instruction() 9711 gpa_to_gfn(gpa) + npages <= gpa_to_gfn(gpa)) { in kvm_emulate_hypercall() 10407 unsigned long gfn = gpa_to_gfn(APIC_DEFAULT_PHYS_BASE); in __kvm_set_or_clear_apicv_inhibit()
|
D | xen.c | 517 data->u.shared_info.gfn = gpa_to_gfn(kvm->arch.xen.shinfo_cache.gpa); in kvm_xen_hvm_get_attr()
|
/linux-6.1.9/arch/s390/kvm/ |
D | priv.c | 279 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_iske() 326 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_rrbe() 393 unsigned long vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_sske() 1108 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_pfmf() 1491 gfn_to_hva_prot(vcpu->kvm, gpa_to_gfn(gpa), &writable); in handle_tprot()
|
D | pci.c | 252 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()
|
D | gaccess.c | 826 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() 1001 const gfn_t gfn = gpa_to_gfn(gpa); in access_guest_page()
|
D | vsie.c | 656 page = gfn_to_page(kvm, gpa_to_gfn(gpa)); in pin_guest_page() 668 mark_page_dirty(kvm, gpa_to_gfn(gpa)); in unpin_guest_page()
|
D | kvm-s390.c | 4487 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf()
|
/linux-6.1.9/virt/kvm/ |
D | pfncache.c | 280 gfn_t gfn = gpa_to_gfn(gpa); in kvm_gfn_to_pfn_cache_refresh()
|
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_xive_native.c | 648 gfn = gpa_to_gfn(kvm_eq.qaddr); in kvmppc_xive_native_set_queue_config() 909 mark_page_dirty(vcpu->kvm, gpa_to_gfn(q->guest_qaddr)); in kvmppc_xive_native_vcpu_eq_sync()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | nested.c | 65 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr() 826 ret = kvm_vcpu_map(vcpu, gpa_to_gfn(vmcb12_gpa), &map); in nested_svm_vmrun() 938 rc = kvm_vcpu_map(vcpu, gpa_to_gfn(svm->nested.vmcb12_gpa), &map); in nested_svm_vmexit()
|
D | svm.c | 2175 ret = kvm_vcpu_map(vcpu, gpa_to_gfn(svm->vmcb->save.rax), &map); in vmload_vmsave_interception() 4422 if (kvm_vcpu_map(vcpu, gpa_to_gfn(svm->nested.hsave_msr), in svm_enter_smm() 4458 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcb12_gpa), &map) == -EINVAL) in svm_leave_smm() 4462 if (kvm_vcpu_map(vcpu, gpa_to_gfn(svm->nested.hsave_msr), &map_save) == -EINVAL) in svm_leave_smm()
|
/linux-6.1.9/include/linux/ |
D | kvm_host.h | 1720 static inline gfn_t gpa_to_gfn(gpa_t gpa) in gpa_to_gfn() function 1732 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_error_gpa()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | nested.c | 585 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), map)) in nested_vmx_prepare_msr_bitmap() 1990 if (kvm_vcpu_map(vcpu, gpa_to_gfn(evmcs_gpa), in nested_vmx_handle_enlightened_vmptrld() 3185 if (!kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->apic_access_addr), map)) { in nested_get_vmcs12_pages() 3201 if (!kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->virtual_apic_page_addr), map)) { in nested_get_vmcs12_pages() 3227 if (!kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->posted_intr_desc_addr), map)) { in nested_get_vmcs12_pages() 3299 if (kvm_write_guest_page(vcpu->kvm, gpa_to_gfn(dst), &gpa, in nested_vmx_write_pml_buffer()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | guest.c | 1038 gfn = gpa_to_gfn(guest_ipa); in kvm_vm_ioctl_mte_copy_tags()
|
/linux-6.1.9/arch/x86/kvm/mmu/ |
D | paging_tmpl.h | 384 host_addr = kvm_vcpu_gfn_to_hva_prot(vcpu, gpa_to_gfn(real_gpa), in FNAME()
|
D | mmu.c | 5570 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(cr2_or_gpa)); in kvm_mmu_page_fault()
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 1615 if (kvmgt_gfn_is_write_protected(info, gpa_to_gfn(gpa))) in kvmgt_page_track_write()
|