Searched refs:PT_PAGE_TABLE_LEVEL (Results 1 – 4 of 4) sorted by relevance
/arch/x86/kvm/ |
D | mmu.h | 45 #define PT_PAGE_TABLE_LEVEL 1 macro 46 #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 rmapp = __gfn_to_rmap(sp->gfn, PT_PAGE_TABLE_LEVEL, slot); in audit_write_protection()
|
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() 478 mmu_set_spte(vcpu, spte, pte_access, 0, NULL, PT_PAGE_TABLE_LEVEL, in FNAME() 500 if (level == PT_PAGE_TABLE_LEVEL) { in FNAME() 525 if (sp->role.level > PT_PAGE_TABLE_LEVEL) in FNAME() 700 int level = PT_PAGE_TABLE_LEVEL; in FNAME() 811 WARN_ON(sp->role.level != PT_PAGE_TABLE_LEVEL); in FNAME() 977 PT_PAGE_TABLE_LEVEL, gfn, in FNAME()
|
D | mmu.c | 321 if (level == PT_PAGE_TABLE_LEVEL) in is_last_spte() 849 for (i = PT_PAGE_TABLE_LEVEL; i <= PT_MAX_HUGEPAGE_LEVEL; ++i) { in host_mapping_level() 890 return PT_PAGE_TABLE_LEVEL; in mapping_level() 895 return PT_PAGE_TABLE_LEVEL; in mapping_level() 899 if (host_level == PT_PAGE_TABLE_LEVEL) in mapping_level() 1041 return &slot->arch.rmap[level - PT_PAGE_TABLE_LEVEL][idx]; in __gfn_to_rmap() 1165 PT_PAGE_TABLE_LEVEL); in __drop_large_spte() 1287 PT_PAGE_TABLE_LEVEL, slot); in kvm_mmu_write_protect_pt_masked() 1312 PT_PAGE_TABLE_LEVEL, slot); in kvm_mmu_clear_dirty_pt_masked() 1351 for (i = PT_PAGE_TABLE_LEVEL; i <= PT_MAX_HUGEPAGE_LEVEL; ++i) { in rmap_write_protect() [all …]
|