Lines Matching defs:spt
583 kvm_mmu_page_set_gfn(sp, spte - sp->spt, gfn);
645 gfn = kvm_mmu_page_get_gfn(sp, spte - sp->spt);
935 static int is_empty_shadow_page(u64 *spt)
940 for (pos = spt, end = pos + PAGE_SIZE / sizeof(u64); pos != end; pos++)
952 ASSERT(is_empty_shadow_page(sp->spt));
955 __free_page(virt_to_page(sp->spt));
973 sp->spt = mmu_memory_cache_alloc(&vcpu->arch.mmu_page_cache, PAGE_SIZE);
977 set_page_private(virt_to_page(sp->spt), (unsigned long)sp);
1095 index = spte - sp->spt;
1109 sp->spt[i] = shadow_trap_nonpresent_pte;
1160 u64 ent = sp->spt[i];
1495 spte = __pa(sp->spt)
1539 pt = sp->spt;
1750 u64 *pt = sp->spt;
2099 __pa(sp->spt)
2250 root = __pa(sp->spt);
2285 root = __pa(sp->spt);
2902 spte = &sp->spt[page_offset / sizeof(*spte)];
3081 pt = sp->spt;
3383 u64 ent = sp->spt[i];
3391 fn(kvm, &sp->spt[i]);
3525 gfn = kvm_mmu_page_get_gfn(rev_sp, sptep - rev_sp->spt);
3533 audit_msg, (long int)(sptep - rev_sp->spt),
3562 u64 *pt = sp->spt;