Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c205 pdpe = virt_create_upper_pte(vm, PTE_GET_PFN(*pml4e), vaddr, paddr, PG_LEVEL_1G, level); in __virt_pg_map()
209 pde = virt_create_upper_pte(vm, PTE_GET_PFN(*pdpe), vaddr, paddr, PG_LEVEL_2M, level); in __virt_pg_map()
214 pte = virt_get_pte(vm, PTE_GET_PFN(*pde), vaddr, PG_LEVEL_4K); in __virt_pg_map()
293 pdpe = addr_gpa2hva(vm, PTE_GET_PFN(pml4e[index[3]]) * vm->page_size); in _vm_get_page_table_entry()
301 pde = addr_gpa2hva(vm, PTE_GET_PFN(pdpe[index[2]]) * vm->page_size); in _vm_get_page_table_entry()
309 pte = addr_gpa2hva(vm, PTE_GET_PFN(pde[index[1]]) * vm->page_size); in _vm_get_page_table_entry()
356 addr_hva2gpa(vm, pml4e), PTE_GET_PFN(*pml4e), in virt_arch_dump()
369 PTE_GET_PFN(*pdpe), !!(*pdpe & PTE_WRITABLE_MASK), in virt_arch_dump()
381 PTE_GET_PFN(*pde), !!(*pde & PTE_WRITABLE_MASK), in virt_arch_dump()
395 PTE_GET_PFN(*pte), in virt_arch_dump()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h180 #define PTE_GET_PFN(pte) (((pte) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT) macro