Searched refs:gpa_to_gfn (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/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 | svm.c | 2937 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(__sme_clr(cr3)), &pdpte, in nested_svm_get_tdp_pdptr() 3319 rc = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(svm->nested.vmcb), &map); in nested_svm_vmexit() 3609 ret = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(vmcb_gpa), &map); in nested_svm_vmrun() 3710 ret = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(svm->vmcb->save.rax), &map); in vmload_interception() 3736 ret = kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(svm->vmcb->save.rax), &map); in vmsave_interception() 6252 if (kvm_vcpu_map(&svm->vcpu, gpa_to_gfn(vmcb), &map) == -EINVAL) in svm_pre_leave_smm()
|
| D | paging_tmpl.h | 380 real_gfn = gpa_to_gfn(real_gfn); in FNAME()
|
| D | x86.c | 665 real_gfn = gpa_to_gfn(real_gfn); in kvm_read_guest_page_mmu() 5780 if (kvm_vcpu_map(vcpu, gpa_to_gfn(gpa), &map)) in emulator_cmpxchg_emulated() 6393 pfn = gfn_to_pfn(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 6413 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 6423 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in reexecute_instruction() 6475 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(gpa)); in retry_instruction()
|
| D | mmu.c | 5559 kvm_mmu_unprotect_page(vcpu->kvm, gpa_to_gfn(cr2)); in kvm_mmu_page_fault()
|
| /Linux-v5.4/arch/s390/kvm/ |
| D | priv.c | 268 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_iske() 315 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(gaddr)); in handle_rrbe() 382 unsigned long vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_sske() 1073 vmaddr = gfn_to_hva(vcpu->kvm, gpa_to_gfn(start)); in handle_pfmf() 1473 hva = gfn_to_hva_prot(vcpu->kvm, gpa_to_gfn(gpa), &writable); in handle_tprot()
|
| D | vsie.c | 647 page = gfn_to_page(kvm, gpa_to_gfn(gpa)); in pin_guest_page() 659 mark_page_dirty(kvm, gpa_to_gfn(gpa)); in unpin_guest_page()
|
| D | kvm-s390.c | 3684 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf()
|
| /Linux-v5.4/include/linux/ |
| D | kvm_host.h | 1064 static inline gfn_t gpa_to_gfn(gpa_t gpa) in gpa_to_gfn() function 1077 return kvm_vcpu_gfn_to_page(vcpu, gpa_to_gfn(gpa)); in kvm_vcpu_gpa_to_page() 1082 unsigned long hva = gfn_to_hva(kvm, gpa_to_gfn(gpa)); in kvm_is_error_gpa()
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_xive_native.c | 626 gfn = gpa_to_gfn(kvm_eq.qaddr); in kvmppc_xive_native_set_queue_config() 886 mark_page_dirty(vcpu->kvm, gpa_to_gfn(q->guest_qaddr)); in kvmppc_xive_native_vcpu_eq_sync()
|
| /Linux-v5.4/arch/x86/kvm/vmx/ |
| D | nested.c | 574 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->msr_bitmap), map)) in nested_vmx_prepare_msr_bitmap() 670 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->vmcs_link_pointer), &map)) in nested_cache_shadow_vmcs12() 1837 if (kvm_vcpu_map(vcpu, gpa_to_gfn(evmcs_gpa), in nested_vmx_handle_enlightened_vmptrld() 2736 if (CC(kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->vmcs_link_pointer), &map))) in nested_vmx_check_vmcs_link_ptr() 2958 if (!kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->virtual_apic_page_addr), map)) { in nested_get_vmcs12_pages() 2984 if (!kvm_vcpu_map(vcpu, gpa_to_gfn(vmcs12->posted_intr_desc_addr), map)) { in nested_get_vmcs12_pages() 4842 if (kvm_vcpu_map(vcpu, gpa_to_gfn(vmptr), &map)) { in handle_vmptrld()
|
| D | vmx.c | 7267 if (kvm_write_guest_page(vcpu->kvm, gpa_to_gfn(dst), &gpa, in vmx_write_pml_buffer()
|
| /Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
| D | kvmgt.c | 1709 if (kvmgt_gfn_is_write_protected(info, gpa_to_gfn(gpa))) in kvmgt_page_track_write()
|