Searched refs:spte (Results 1 – 3 of 3) sorted by relevance
/arch/x86/kvm/ |
D | mmu.c | 150 u64 addr, u64 *spte, int level); 256 static void set_shadow_pte(u64 *sptep, u64 spte) in set_shadow_pte() argument 259 set_64bit((unsigned long *)sptep, spte); in set_shadow_pte() 261 set_64bit((unsigned long long *)sptep, spte); in set_shadow_pte() 486 static void rmap_add(struct kvm_vcpu *vcpu, u64 *spte, gfn_t gfn, int lpage) in rmap_add() argument 493 if (!is_rmap_pte(*spte)) in rmap_add() 496 sp = page_header(__pa(spte)); in rmap_add() 497 sp->gfns[spte - sp->spt] = gfn; in rmap_add() 500 rmap_printk("rmap_add: %p %llx 0->1\n", spte, *spte); in rmap_add() 501 *rmapp = (unsigned long)spte; in rmap_add() [all …]
|
D | paging_tmpl.h | 254 u64 *spte, const void *pte) in FNAME() 264 set_shadow_pte(spte, shadow_notrap_nonpresent_pte); in FNAME() 267 pgprintk("%s: gpte %llx spte %p\n", __func__, (u64)gpte, spte); in FNAME() 277 mmu_set_spte(vcpu, spte, page->role.access, pte_access, 0, 0, in FNAME() 295 u64 spte; in FNAME() local 344 spte = __pa(shadow_page->spt) | PT_PRESENT_MASK | PT_ACCESSED_MASK in FNAME() 346 *sptep = spte; in FNAME()
|
/arch/x86/mm/ |
D | hugetlbpage.c | 67 pte_t *spte = NULL; in huge_pmd_share() local 79 spte = huge_pte_offset(svma->vm_mm, saddr); in huge_pmd_share() 80 if (spte) { in huge_pmd_share() 81 get_page(virt_to_page(spte)); in huge_pmd_share() 87 if (!spte) in huge_pmd_share() 92 pud_populate(mm, pud, (pmd_t *)((unsigned long)spte & PAGE_MASK)); in huge_pmd_share() 94 put_page(virt_to_page(spte)); in huge_pmd_share()
|