Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s64/
A Dsubpage_prot.c28 if (!spt) in subpage_prot_free()
32 if (spt->low_prot[i]) { in subpage_prot_free()
39 p = spt->protptrs[i]; in subpage_prot_free()
49 spt->maxaddr = 0; in subpage_prot_free()
50 kfree(spt); in subpage_prot_free()
102 if (!spt) in subpage_prot_clear()
107 limit = spt->maxaddr; in subpage_prot_clear()
111 spm = spt->low_prot; in subpage_prot_clear()
219 if (!spt) { in SYSCALL_DEFINE3()
225 if (!spt) { in SYSCALL_DEFINE3()
[all …]
A Dmmu_context.c126 if (current->mm->context.hash_context->spt) { in hash__init_new_context()
127 mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table), in hash__init_new_context()
129 if (!mm->context.hash_context->spt) { in hash__init_new_context()
140 kfree(mm->context.hash_context->spt); in hash__init_new_context()
A Dhash_utils.c1624 struct subpage_prot_table *spt = mm_ctx_subpage_prot(&mm->context); in subpage_protection() local
1628 if (!spt) in subpage_protection()
1631 if (ea >= spt->maxaddr) in subpage_protection()
1635 sbpm = spt->low_prot; in subpage_protection()
1637 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
/arch/x86/kvm/mmu/
A Dtdp_mmu.c59 free_page((unsigned long)sp->spt); in tdp_mmu_free_sp()
219 sp->spt = kvm_mmu_memory_cache_alloc(&vcpu->arch.mmu_shadow_page_cache); in tdp_mmu_alloc_sp()
229 set_page_private(virt_to_page(sp->spt), (unsigned long)sp); in tdp_mmu_init_sp()
316 mmu->mirror_root_hpa = __pa(root->spt); in kvm_tdp_mmu_alloc_root()
318 mmu->root.hpa = __pa(root->spt); in kvm_tdp_mmu_alloc_root()
329 kvm_account_pgtable_pages((void *)sp->spt, +1); in tdp_account_mmu_page()
337 kvm_account_pgtable_pages((void *)sp->spt, -1); in tdp_unaccount_mmu_page()
1216 u64 spte = make_nonleaf_spte(sp->spt, !kvm_ad_enabled); in tdp_mmu_link_sp()
1484 sp->spt = (void *)get_zeroed_page(GFP_KERNEL_ACCOUNT); in tdp_mmu_alloc_sp_for_split()
1485 if (!sp->spt) { in tdp_mmu_alloc_sp_for_split()
[all …]
A Dpaging_tmpl.h595 spte = sp->spt + i; in FNAME()
906 if (WARN_ON_ONCE(sp->spt[i] == SHADOW_NONPRESENT_VALUE || in FNAME()
917 if (FNAME(prefetch_invalid_gpte)(vcpu, sp, &sp->spt[i], gpte)) in FNAME()
925 if (sync_mmio_spte(vcpu, &sp->spt[i], gfn, pte_access)) in FNAME()
937 drop_spte(vcpu->kvm, &sp->spt[i]); in FNAME()
952 sptep = &sp->spt[i]; in FNAME()
A Dtdp_iter.c53 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start()
A Dmmu_internal.h85 u64 *spt; member
A Dmmu.c1797 sp->spt[i], &sp->spt[i], in kvm_mmu_check_sptes_at_free()
1806 kvm_account_pgtable_pages((void *)sp->spt, +1); in kvm_account_mmu_page()
1812 kvm_account_pgtable_pages((void *)sp->spt, -1); in kvm_unaccount_mmu_page()
1821 free_page((unsigned long)sp->spt); in kvm_mmu_free_shadow_page()
1917 u64 ent = sp->spt[i]; in __mmu_unsync_walk()
2053 if (sp->spt[i] == SHADOW_NONPRESENT_VALUE) in kvm_sync_spte()
2551 spte = make_nonleaf_spte(sp->spt, sp_ad_disabled(sp)); in __link_shadow_page()
3155 spte = sp->spt + i; in __direct_pte_prefetch()
3857 return __pa(sp->spt); in mmu_alloc_root()
6135 spte = &sp->spt[page_offset / sizeof(*spte)]; in get_written_sptes()
[all …]
/arch/powerpc/include/asm/book3s/64/
A Dmmu.h189 return ctx->hash_context->spt; in mm_ctx_subpage_prot()
A Dmmu-hash.h730 struct subpage_prot_table *spt; member
/arch/s390/boot/
A Dhead.S261 spt 0(%r13)
/arch/s390/tools/
A Dopcodes.txt199 b208 spt S_RD

Completed in 46 milliseconds