Searched refs:PG_LEVEL_1G (Results 1 – 15 of 15) sorted by relevance
| /linux/arch/x86/coco/tdx/ |
| H A D | tdx-shared.c | 30 case PG_LEVEL_1G: in try_accept_one() 60 accept_size = try_accept_one(start, len, PG_LEVEL_1G); in tdx_accept_memory()
|
| /linux/arch/x86/mm/ |
| H A D | init.c | 256 page_size_mask |= 1 << PG_LEVEL_1G; in probe_page_size_mask() 365 if ((page_size_mask & (1<<PG_LEVEL_1G)) && in adjust_range_page_size_mask() 366 !(mr[i].page_size_mask & (1<<PG_LEVEL_1G))) { in adjust_range_page_size_mask() 371 mr[i].page_size_mask |= 1<<PG_LEVEL_1G; in adjust_range_page_size_mask() 383 if (mr->page_size_mask & (1<<PG_LEVEL_1G)) in page_size_string() 457 ((1<<PG_LEVEL_2M)|(1<<PG_LEVEL_1G))); in split_mem_range()
|
| H A D | init_64.c | 655 if (page_size_mask & (1 << PG_LEVEL_1G)) { in phys_pud_init() 664 if (page_size_mask & (1<<PG_LEVEL_1G)) { in phys_pud_init() 684 update_page_count(PG_LEVEL_1G, pages); in phys_pud_init() 1214 update_page_count(PG_LEVEL_1G, -pages); in remove_pud_table()
|
| H A D | mem_encrypt_amd.c | 231 case PG_LEVEL_1G: in pg_level_to_pfn()
|
| /linux/arch/x86/mm/pat/ |
| H A D | set_memory.c | 103 else if (level == PG_LEVEL_1G) in split_page_count() 115 else if (level == PG_LEVEL_1G) in collapse_page_count() 134 direct_pages_count[PG_LEVEL_1G] << 20); in arch_report_meminfo() 168 if (level == PG_LEVEL_1G) in cpa_inc_lp_sameprot() 176 if (level == PG_LEVEL_1G) in cpa_inc_lp_preserved() 737 *level = PG_LEVEL_1G; in lookup_address_in_pgd_attr() 861 case PG_LEVEL_1G: in slow_virt_to_phys() 945 case PG_LEVEL_1G: in __should_split_large_page() 1157 case PG_LEVEL_1G: in __split_large_page() 1357 collapse_page_count(PG_LEVEL_1G); in collapse_pud_page()
|
| H A D | cpa-test.c | 69 if (level == PG_LEVEL_1G && sizeof(long) == 8) { in print_split()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | capabilities.h | 336 return PG_LEVEL_1G; in ept_caps_to_lpage_level()
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | mmu_stress_test.c | 365 virt_map_level(vm, gpa, gpa, slot_size, PG_LEVEL_1G); in main()
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_types.h | 548 PG_LEVEL_1G, enumerator
|
| H A D | kvm_host.h | 155 #define KVM_MAX_HUGEPAGE_LEVEL PG_LEVEL_1G
|
| /linux/tools/testing/selftests/kvm/include/x86/ |
| H A D | processor.h | 1456 PG_LEVEL_1G, enumerator 1466 #define PG_SIZE_1G PG_LEVEL_SIZE(PG_LEVEL_1G)
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 3279 level = PG_LEVEL_1G; in host_pfn_mapping_level() 3297 BUILD_BUG_ON(KVM_MAX_HUGEPAGE_LEVEL > PG_LEVEL_1G); in kvm_max_level_for_order() 3299 KVM_MMU_WARN_ON(order != KVM_HPAGE_GFN_SHIFT(PG_LEVEL_1G) && in kvm_max_level_for_order() 3303 if (order >= KVM_HPAGE_GFN_SHIFT(PG_LEVEL_1G)) in kvm_max_level_for_order() 3304 return PG_LEVEL_1G; in kvm_max_level_for_order() 5390 if (huge_page_level < PG_LEVEL_1G) in __reset_rsvds_bits_mask_ept() 6617 max_huge_page_level = PG_LEVEL_1G; in kvm_configure_mmu()
|
| H A D | tdp_mmu.c | 917 __tdp_mmu_zap_root(kvm, root, shared, PG_LEVEL_1G); in tdp_mmu_zap_root()
|
| /linux/tools/testing/selftests/kvm/lib/x86/ |
| H A D | processor.c | 549 __tdp_map(vm, addr, addr, size, PG_LEVEL_1G); in tdp_identity_map_1g()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm.c | 5469 get_npt_level(), PG_LEVEL_1G); in svm_hardware_setup()
|