Home
last modified time | relevance | path

Searched refs:spt (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/mm/
Dsubpage-prot.c28 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_free() local
33 if (spt->low_prot[i]) { in subpage_prot_free()
34 free_page((unsigned long)spt->low_prot[i]); in subpage_prot_free()
35 spt->low_prot[i] = NULL; in subpage_prot_free()
40 p = spt->protptrs[i]; in subpage_prot_free()
43 spt->protptrs[i] = NULL; in subpage_prot_free()
44 for (j = 0; j < SBP_L2_COUNT && addr < spt->maxaddr; in subpage_prot_free()
50 spt->maxaddr = 0; in subpage_prot_free()
55 struct subpage_prot_table *spt = &mm->context.spt; in subpage_prot_init_new_context() local
57 memset(spt, 0, sizeof(*spt)); in subpage_prot_init_new_context()
[all …]
Dhash_utils_64.c1128 struct subpage_prot_table *spt = &mm->context.spt; in subpage_protection() local
1132 if (ea >= spt->maxaddr) in subpage_protection()
1136 sbpm = spt->low_prot; in subpage_protection()
1138 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
/arch/x86/kvm/
Dmmu_audit.c43 u64 *ent = sp->spt; in __mmu_spte_walk()
116 gfn = kvm_mmu_page_get_gfn(sp, sptep - sp->spt); in audit_mappings()
139 gfn = kvm_mmu_page_get_gfn(rev_sp, sptep - rev_sp->spt); in inspect_spte_has_rmap()
148 (long int)(sptep - rev_sp->spt), rev_sp->gfn); in inspect_spte_has_rmap()
186 if (!is_shadow_present_pte(sp->spt[i])) in check_mappings_rmap()
189 inspect_spte_has_rmap(kvm, sp->spt + i); in check_mappings_rmap()
Dpaging_tmpl.h552 i = (sptep - sp->spt) & ~(PTE_PREFETCH_NUM - 1); in FNAME()
553 spte = sp->spt + i; in FNAME()
870 pte_gpa += (sptep - sp->spt) * sizeof(pt_element_t); in FNAME()
960 if (!sp->spt[i]) in FNAME()
969 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) { in FNAME()
985 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access, in FNAME()
990 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME()
1002 host_writable = sp->spt[i] & SPTE_HOST_WRITEABLE; in FNAME()
1004 set_spte(vcpu, &sp->spt[i], pte_access, in FNAME()
1006 spte_to_pfn(sp->spt[i]), true, false, in FNAME()
Dmmu.c1078 kvm_mmu_page_set_gfn(sp, spte - sp->spt, gfn); in rmap_add()
1090 gfn = kvm_mmu_page_get_gfn(sp, spte - sp->spt); in rmap_remove()
1684 static int is_empty_shadow_page(u64 *spt) in is_empty_shadow_page() argument
1689 for (pos = spt, end = pos + PAGE_SIZE / sizeof(u64); pos != end; pos++) in is_empty_shadow_page()
1713 MMU_WARN_ON(!is_empty_shadow_page(sp->spt)); in kvm_mmu_free_page()
1716 free_page((unsigned long)sp->spt); in kvm_mmu_free_page()
1754 sp->spt = mmu_memory_cache_alloc(&vcpu->arch.mmu_page_cache); in kvm_mmu_alloc_page()
1757 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in kvm_mmu_alloc_page()
1786 index = spte - sp->spt; in mark_unsync()
1851 u64 ent = sp->spt[i]; in __mmu_unsync_walk()
[all …]
/arch/powerpc/include/asm/book3s/64/
Dmmu.h77 struct subpage_prot_table spt; member
/arch/s390/kernel/
Dswsusp.S232 spt 0x328(%r13) /* reprogram timer */
Dhead.S307 spt 6f-.LPG0(%r13)
Dentry.S1086 spt __LC_CPU_TIMER_SAVE_AREA-4095(%r1) # revalidate cpu timer
1108 2: spt 0(%r14)
/arch/x86/include/asm/
Dkvm_host.h271 u64 *spt; member