Home
last modified time | relevance | path

Searched refs:pte_gpa (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/x86/kvm/
Dpaging_tmpl.h90 gpa_t pte_gpa[PT_MAX_FULL_LEVELS]; member
307 gpa_t pte_gpa; in FNAME() local
357 pte_gpa = gfn_to_gpa(table_gfn) + offset; in FNAME()
361 walker->pte_gpa[walker->level - 1] = pte_gpa; in FNAME()
559 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME() local
565 base_gpa = pte_gpa & ~mask; in FNAME()
566 index = (pte_gpa - base_gpa) / sizeof(pt_element_t); in FNAME()
572 r = kvm_vcpu_read_guest_atomic(vcpu, pte_gpa, in FNAME()
920 gpa_t pte_gpa; in FNAME() local
925 pte_gpa = FNAME(get_level1_sp_gpa)(sp); in FNAME()
[all …]
/Linux-v5.4/arch/mips/kvm/
Dmmu.c1008 pte_t pte_gpa[2], *ptep_gva; in kvm_mips_handle_kseg0_tlb_fault() local
1020 if (kvm_mips_map_page(vcpu, gpa, write_fault, &pte_gpa[idx], in kvm_mips_handle_kseg0_tlb_fault()
1021 &pte_gpa[!idx]) < 0) in kvm_mips_handle_kseg0_tlb_fault()
1032 ptep_gva[0] = kvm_mips_gpa_pte_to_gva_unmapped(pte_gpa[0]); in kvm_mips_handle_kseg0_tlb_fault()
1033 ptep_gva[1] = kvm_mips_gpa_pte_to_gva_unmapped(pte_gpa[1]); in kvm_mips_handle_kseg0_tlb_fault()
1047 pte_t pte_gpa[2], *ptep_buddy, *ptep_gva; in kvm_mips_handle_mapped_seg_tlb_fault() local
1063 write_fault, &pte_gpa[idx], NULL) < 0) in kvm_mips_handle_mapped_seg_tlb_fault()
1067 pte_gpa[!idx] = pfn_pte(0, __pgprot(0)); in kvm_mips_handle_mapped_seg_tlb_fault()
1073 pte_gpa[!idx] = *ptep_buddy; in kvm_mips_handle_mapped_seg_tlb_fault()
1085 ptep_gva[0] = kvm_mips_gpa_pte_to_gva_mapped(pte_gpa[0], tlb_lo[0]); in kvm_mips_handle_mapped_seg_tlb_fault()
[all …]