Searched refs:pte_gpa (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/arch/x86/kvm/mmu/ |
D | paging_tmpl.h | 90 gpa_t pte_gpa[PT_MAX_FULL_LEVELS]; member 322 gpa_t pte_gpa; in FNAME() local 371 pte_gpa = gfn_to_gpa(table_gfn) + offset; in FNAME() 375 walker->pte_gpa[walker->level - 1] = pte_gpa; in FNAME() 572 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME() local 578 base_gpa = pte_gpa & ~mask; in FNAME() 579 index = (pte_gpa - base_gpa) / sizeof(pt_element_t); in FNAME() 585 r = kvm_vcpu_read_guest_atomic(vcpu, pte_gpa, in FNAME() 931 gpa_t pte_gpa; in FNAME() local 936 pte_gpa = FNAME(get_level1_sp_gpa)(sp); in FNAME() [all …]
|
/Linux-v5.10/arch/mips/kvm/ |
D | mmu.c | 983 pte_t pte_gpa[2], *ptep_gva; in kvm_mips_handle_kseg0_tlb_fault() local 995 if (kvm_mips_map_page(vcpu, gpa, write_fault, &pte_gpa[idx], in kvm_mips_handle_kseg0_tlb_fault() 996 &pte_gpa[!idx]) < 0) in kvm_mips_handle_kseg0_tlb_fault() 1007 ptep_gva[0] = kvm_mips_gpa_pte_to_gva_unmapped(pte_gpa[0]); in kvm_mips_handle_kseg0_tlb_fault() 1008 ptep_gva[1] = kvm_mips_gpa_pte_to_gva_unmapped(pte_gpa[1]); in kvm_mips_handle_kseg0_tlb_fault() 1022 pte_t pte_gpa[2], *ptep_buddy, *ptep_gva; in kvm_mips_handle_mapped_seg_tlb_fault() local 1038 write_fault, &pte_gpa[idx], NULL) < 0) in kvm_mips_handle_mapped_seg_tlb_fault() 1042 pte_gpa[!idx] = pfn_pte(0, __pgprot(0)); in kvm_mips_handle_mapped_seg_tlb_fault() 1048 pte_gpa[!idx] = *ptep_buddy; in kvm_mips_handle_mapped_seg_tlb_fault() 1060 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 …]
|