Searched refs:PT_PAGE_TABLE_LEVEL (Results 1 – 5 of 5) sorted by relevance
/arch/x86/kvm/ |
D | mmu.h | 46 #define PT_PAGE_TABLE_LEVEL 1 macro 47 #define PT_MAX_HUGEPAGE_LEVEL (PT_PAGE_TABLE_LEVEL + KVM_NR_PAGE_SIZES - 1)
|
D | mmu_audit.c | 106 if (level != PT_PAGE_TABLE_LEVEL) { in audit_mappings() 182 if (sp->role.level != PT_PAGE_TABLE_LEVEL) in check_mappings_rmap() 206 rmap_head = __gfn_to_rmap(sp->gfn, PT_PAGE_TABLE_LEVEL, slot); in audit_write_protection()
|
D | page_track.c | 67 index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL); in update_gfn_track() 155 index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL); in kvm_page_track_is_active()
|
D | mmu.c | 320 if (level == PT_PAGE_TABLE_LEVEL) in is_last_spte() 825 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in account_shadowed() 842 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in unaccount_shadowed() 878 for (i = PT_PAGE_TABLE_LEVEL; i <= PT_MAX_HUGEPAGE_LEVEL; ++i) { in host_mapping_level() 919 return PT_PAGE_TABLE_LEVEL; in mapping_level() 924 return PT_PAGE_TABLE_LEVEL; in mapping_level() 928 if (host_level == PT_PAGE_TABLE_LEVEL) in mapping_level() 1050 return &slot->arch.rmap[level - PT_PAGE_TABLE_LEVEL][idx]; in __gfn_to_rmap() 1182 PT_PAGE_TABLE_LEVEL); in __drop_large_spte() 1305 PT_PAGE_TABLE_LEVEL, slot); in kvm_mmu_write_protect_pt_masked() [all …]
|
D | paging_tmpl.h | 88 #define gpte_to_gfn(pte) gpte_to_gfn_lvl((pte), PT_PAGE_TABLE_LEVEL) 167 if (is_rsvd_bits_set(&vcpu->arch.mmu, gpte, PT_PAGE_TABLE_LEVEL)) in FNAME() 499 mmu_set_spte(vcpu, spte, pte_access, 0, PT_PAGE_TABLE_LEVEL, gfn, pfn, in FNAME() 521 if (level == PT_PAGE_TABLE_LEVEL) { in FNAME() 546 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in FNAME() 719 int level = PT_PAGE_TABLE_LEVEL; in FNAME() 828 WARN_ON(sp->role.level != PT_PAGE_TABLE_LEVEL); in FNAME() 1005 PT_PAGE_TABLE_LEVEL, gfn, in FNAME()
|