Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c139 static void *virt_get_pte(struct kvm_vm *vm, uint64_t *parent_pte, in virt_get_pte() argument
142 uint64_t pt_gpa = PTE_GET_PA(*parent_pte); in virt_get_pte()
146 TEST_ASSERT((*parent_pte & PTE_PRESENT_MASK) || parent_pte == &vm->pgd, in virt_get_pte()
154 uint64_t *parent_pte, in virt_create_upper_pte() argument
160 uint64_t *pte = virt_get_pte(vm, parent_pte, vaddr, current_level); in virt_create_upper_pte()
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmu.c1740 struct kvm_mmu_page *sp, u64 *parent_pte) in mmu_page_add_parent_pte() argument
1742 if (!parent_pte) in mmu_page_add_parent_pte()
1745 pte_list_add(cache, parent_pte, &sp->parent_ptes); in mmu_page_add_parent_pte()
1749 u64 *parent_pte) in mmu_page_remove_parent_pte() argument
1751 pte_list_remove(kvm, parent_pte, &sp->parent_ptes); in mmu_page_remove_parent_pte()
1755 u64 *parent_pte) in drop_parent_pte() argument
1757 mmu_page_remove_parent_pte(kvm, sp, parent_pte); in drop_parent_pte()
1758 mmu_spte_clear_no_track(parent_pte); in drop_parent_pte()
/linux-6.12.1/Documentation/virt/kvm/x86/
Dmmu.rst231 at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte.