Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kvm/mmu/
Dpaging_tmpl.h86 gpa_t pte_gpa[PT_MAX_FULL_LEVELS]; member
313 gpa_t pte_gpa; in FNAME() local
373 pte_gpa = gfn_to_gpa(table_gfn) + offset; in FNAME()
377 walker->pte_gpa[walker->level - 1] = pte_gpa; in FNAME()
565 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME() local
571 base_gpa = pte_gpa & ~mask; in FNAME()
572 index = (pte_gpa - base_gpa) / sizeof(pt_element_t); in FNAME()
578 r = kvm_vcpu_read_guest_atomic(vcpu, pte_gpa, in FNAME()
911 gpa_t pte_gpa; in FNAME() local
918 pte_gpa = first_pte_gpa + i * sizeof(pt_element_t); in FNAME()
[all …]
/Linux-v6.6/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c472 uint64_t pte_gpa, pte_pg; in handle_cmd() local
476 pte_gpa = addr_hva2gpa(vm, virt_get_pte_hva(vm, TEST_GVA)); in handle_cmd()
477 pte_pg = (pte_gpa - pt_region->region.guest_phys_addr) / getpagesize(); in handle_cmd()
556 uint64_t pte_gpa; in setup_gva_maps() local
562 pte_gpa = addr_hva2gpa(vm, virt_get_pte_hva(vm, TEST_GVA)); in setup_gva_maps()
563 virt_pg_map(vm, TEST_PTE_GVA, pte_gpa); in setup_gva_maps()