Home
last modified time | relevance | path

Searched refs:parent_pte (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c137 static void *virt_get_pte(struct kvm_vm *vm, uint64_t *parent_pte, in virt_get_pte() argument
140 uint64_t pt_gpa = PTE_GET_PA(*parent_pte); in virt_get_pte()
144 TEST_ASSERT((*parent_pte & PTE_PRESENT_MASK) || parent_pte == &vm->pgd, in virt_get_pte()
152 uint64_t *parent_pte, in virt_create_upper_pte() argument
158 uint64_t *pte = virt_get_pte(vm, parent_pte, vaddr, current_level); in virt_create_upper_pte()
/linux-6.6.21/arch/x86/kvm/mmu/
Dmmu.c1749 struct kvm_mmu_page *sp, u64 *parent_pte) in mmu_page_add_parent_pte() argument
1751 if (!parent_pte) in mmu_page_add_parent_pte()
1754 pte_list_add(cache, parent_pte, &sp->parent_ptes); in mmu_page_add_parent_pte()
1758 u64 *parent_pte) in mmu_page_remove_parent_pte() argument
1760 pte_list_remove(kvm, parent_pte, &sp->parent_ptes); in mmu_page_remove_parent_pte()
1764 u64 *parent_pte) in drop_parent_pte() argument
1766 mmu_page_remove_parent_pte(kvm, sp, parent_pte); in drop_parent_pte()
1767 mmu_spte_clear_no_track(parent_pte); in drop_parent_pte()
/linux-6.6.21/Documentation/virt/kvm/x86/
Dmmu.rst219 at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte.