Home
last modified time | relevance | path

Searched refs:sptes (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dmmu.rst122 shadow page contains 512 sptes, which can be either leaf or nonleaf sptes. A
123 shadow page may contain a mix of leaf and nonleaf sptes.
153 1=4k sptes, 2=2M sptes, 3=1G sptes, etc.
155 If set, leaf sptes reachable from this page are for a linear range.
165 sptes. That means a guest page table contains more ptes than the host,
169 page tables, each 32-bit gpte is converted to two 64-bit sptes
212 A pageful of 64-bit sptes containing the translations for this page.
216 sptes in spt point either at guest pages, or at lower-level shadow pages.
234 sptes pointing at this page and (parent_ptes & ~0x1) points at a data
235 structure with a list of parent sptes.
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kvm/mmu/
H A Dmmu.c143 u64 *sptes[PTE_LIST_EXT]; member
848 desc->sptes[0] = (u64 *)rmap_head->val; in pte_list_add()
849 desc->sptes[1] = spte; in pte_list_add()
855 while (desc->sptes[PTE_LIST_EXT-1]) { in pte_list_add()
865 for (i = 0; desc->sptes[i]; ++i) in pte_list_add()
867 desc->sptes[i] = spte; in pte_list_add()
879 for (j = PTE_LIST_EXT - 1; !desc->sptes[j] && j > i; --j) in pte_list_desc_remove_entry()
881 desc->sptes[i] = desc->sptes[j]; in pte_list_desc_remove_entry()
882 desc->sptes[j] = NULL; in pte_list_desc_remove_entry()
916 for (i = 0; i < PTE_LIST_EXT && desc->sptes[i]; ++i) { in __pte_list_remove()
[all …]
H A Dtdp_mmu.h63 int kvm_tdp_mmu_get_walk(struct kvm_vcpu *vcpu, u64 addr, u64 *sptes,
H A Dtdp_mmu.c1176 int kvm_tdp_mmu_get_walk(struct kvm_vcpu *vcpu, u64 addr, u64 *sptes, in kvm_tdp_mmu_get_walk() argument
1188 sptes[leaf - 1] = iter.old_spte; in kvm_tdp_mmu_get_walk()