Searched refs:PG_LEVEL_4K (Results 1 – 22 of 22) sorted by relevance
/linux/arch/x86/include/asm/ |
A D | kfence.h | 33 if (level != PG_LEVEL_4K) in arch_kfence_init_pool() 46 if (WARN_ON(!pte || level != PG_LEVEL_4K)) in kfence_protect_page()
|
A D | pgtable_types.h | 540 PG_LEVEL_4K, enumerator
|
A D | kvm_host.h | 131 #define KVM_NR_PAGE_SIZES (KVM_MAX_HUGEPAGE_LEVEL - PG_LEVEL_4K + 1)
|
/linux/arch/x86/kvm/mmu/ |
A D | page_track.c | 91 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in update_gfn_track() 134 if (kvm_mmu_slot_gfn_write_protect(kvm, slot, gfn, PG_LEVEL_4K)) in kvm_slot_page_track_add_page() 192 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in kvm_slot_page_track_is_active()
|
A D | mmu_audit.c | 103 if (level != PG_LEVEL_4K) { in audit_mappings() 179 if (sp->role.level != PG_LEVEL_4K) in check_mappings_rmap() 203 rmap_head = gfn_to_rmap(sp->gfn, PG_LEVEL_4K, slot); in audit_write_protection()
|
A D | spte.c | 117 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte() 130 if (level > PG_LEVEL_4K) in make_spte() 186 WARN_ON(level > PG_LEVEL_4K); in make_spte()
|
A D | paging_tmpl.h | 78 #define gpte_to_gfn(pte) gpte_to_gfn_lvl((pte), PG_LEVEL_4K) 201 if (FNAME(is_rsvd_bits_set)(vcpu->arch.mmu, gpte, PG_LEVEL_4K)) in FNAME() 333 gpte |= level - PG_LEVEL_4K - 1; in FNAME() 467 if (PTTYPE == 32 && walker->level > PG_LEVEL_4K && is_cpuid_PSE36()) in FNAME() 600 if (level == PG_LEVEL_4K) { in FNAME() 625 if (sp->role.level > PG_LEVEL_4K) in FNAME() 880 fault->max_level = PG_LEVEL_4K; in FNAME() 935 WARN_ON(sp->role.level != PG_LEVEL_4K); in FNAME()
|
A D | mmu.c | 844 if (sp->role.level > PG_LEVEL_4K) in account_shadowed() 872 if (sp->role.level > PG_LEVEL_4K) in unaccount_shadowed() 1319 PG_LEVEL_4K, slot); in kvm_mmu_write_protect_pt_masked() 1352 PG_LEVEL_4K, slot); in kvm_mmu_clear_dirty_pt_masked() 1969 if (level == PG_LEVEL_4K) in mmu_pages_next() 1991 WARN_ON(level == PG_LEVEL_4K); in mmu_pages_first() 2848 return PG_LEVEL_4K; in host_pfn_mapping_level() 2862 return PG_LEVEL_4K; in host_pfn_mapping_level() 2881 if (max_level == PG_LEVEL_4K) in kvm_mmu_max_mapping_level() 2882 return PG_LEVEL_4K; in kvm_mmu_max_mapping_level() [all …]
|
A D | tdp_iter.h | 66 for_each_tdp_pte_min_level(iter, root, root_level, PG_LEVEL_4K, start, end)
|
A D | tdp_mmu.c | 242 if (level > PG_LEVEL_4K) in handle_changed_spte_dirty_log() 407 WARN_ON(level < PG_LEVEL_4K); in __handle_changed_spte() 714 int min_level = zap_all ? root->role.level : PG_LEVEL_4K; in zap_gfn_range() 1128 if (iter->level != PG_LEVEL_4K || in set_spte_gfn() 1321 if (iter.level > PG_LEVEL_4K || in clear_dirty_pt_masked()
|
A D | spte.h | 262 return (level == PG_LEVEL_4K) || is_large_pte(pte); in is_last_spte()
|
/linux/arch/x86/xen/ |
A D | p2m.c | 250 BUG_ON(!ptep || level != PG_LEVEL_4K); in xen_build_mfn_list_list() 448 BUG_ON(!ptep || level != PG_LEVEL_4K); in get_phys_to_machine() 542 BUG_ON(!ptep || level != PG_LEVEL_4K); in xen_alloc_p2m_entry() 667 BUG_ON(!ptep || level != PG_LEVEL_4K); in __set_phys_to_machine()
|
/linux/arch/x86/kvm/ |
A D | mmu.h | 194 .req_level = PG_LEVEL_4K, in kvm_mmu_do_page_fault() 195 .goal_level = PG_LEVEL_4K, in kvm_mmu_do_page_fault()
|
A D | x86.c | 11774 kvm_mmu_slot_remove_write_access(kvm, new, PG_LEVEL_4K); in kvm_mmu_slot_apply_flags()
|
/linux/arch/x86/mm/ |
A D | mem_encrypt.c | 238 case PG_LEVEL_4K: in pg_level_to_pfn() 353 if (level == PG_LEVEL_4K) { in early_set_memory_enc_dec()
|
A D | pti.c | 283 if (!pte || WARN_ON(level != PG_LEVEL_4K) || pte_none(*pte)) in pti_setup_vsyscall()
|
A D | kmmio.c | 168 case PG_LEVEL_4K: in clear_page_presence()
|
A D | init_32.c | 376 update_page_count(PG_LEVEL_4K, pages_4k); in kernel_physical_mapping_init()
|
A D | init_64.c | 492 update_page_count(PG_LEVEL_4K, pages); in phys_pte_init() 1098 update_page_count(PG_LEVEL_4K, -pages); in remove_pte_table()
|
/linux/arch/x86/mm/pat/ |
A D | cpa-test.c | 206 if (level != PG_LEVEL_4K) { in pageattr_test()
|
A D | set_memory.c | 111 direct_pages_count[PG_LEVEL_4K] << 2); in arch_report_meminfo() 496 if (lookup_address(start, &level) && (level != PG_LEVEL_4K)) in protect_kernel_text_ro() 622 *level = PG_LEVEL_4K; in lookup_address_in_pgd() 1537 if (level == PG_LEVEL_4K) { in __change_page_attr()
|
/linux/arch/x86/kvm/vmx/ |
A D | vmx.c | 7830 ept_lpage_level = PG_LEVEL_4K; in hardware_setup()
|
Completed in 83 milliseconds