/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable-64.h | 14 extern bool pgtable_l5_enabled; 19 #define PGDIR_SHIFT (pgtable_l5_enabled ? PGDIR_SHIFT_L5 : \ 29 #define P4D_SHIFT (pgtable_l5_enabled ? P4D_SHIFT_L5 : \ 234 if (pgtable_l5_enabled) in mm_p4d_folded() 345 if (pgtable_l5_enabled) in set_pgd() 353 if (pgtable_l5_enabled) in pgd_none() 361 if (pgtable_l5_enabled) in pgd_present() 369 if (pgtable_l5_enabled) in pgd_bad() 377 if (pgtable_l5_enabled) in pgd_clear() 383 if (pgtable_l5_enabled) in pgd_pgtable()
|
D | pgalloc.h | 73 if (pgtable_l5_enabled) { in pgd_populate() 83 if (pgtable_l5_enabled) { in pgd_populate_safe() 121 if (pgtable_l5_enabled) { in p4d_alloc_one() 141 if (pgtable_l5_enabled) in p4d_free() 148 if (pgtable_l5_enabled) in __p4d_free_tlb()
|
D | vmalloc.h | 7 extern bool pgtable_l4_enabled, pgtable_l5_enabled; 14 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
|
D | pgtable-32.h | 37 static const __maybe_unused int pgtable_l5_enabled; variable
|
/linux-6.12.1/arch/x86/include/asm/ |
D | pgtable_64_types.h | 32 static inline bool pgtable_l5_enabled(void) in pgtable_l5_enabled() function 37 #define pgtable_l5_enabled() cpu_feature_enabled(X86_FEATURE_LA57) macro 41 #define pgtable_l5_enabled() 0 macro 135 # define VMALLOC_SIZE_TB (pgtable_l5_enabled() ? VMALLOC_SIZE_TB_L5 : VMALLOC_SIZE_TB_L4)
|
D | pgalloc.h | 136 if (!pgtable_l5_enabled()) in pgd_populate() 144 if (!pgtable_l5_enabled()) in pgd_populate_safe() 161 if (!pgtable_l5_enabled()) in p4d_free() 173 if (pgtable_l5_enabled()) in __p4d_free_tlb()
|
D | pgtable_32_types.h | 18 #define pgtable_l5_enabled() 0 macro
|
D | sparsemem.h | 29 # define MAX_PHYSMEM_BITS (pgtable_l5_enabled() ? 52 : 46)
|
D | pgtable_64.h | 59 return !pgtable_l5_enabled(); in mm_p4d_folded() 146 if (pgtable_l5_enabled() || in native_set_p4d()
|
D | page_64_types.h | 57 #define __VIRTUAL_MASK_SHIFT (pgtable_l5_enabled() ? 56 : 47)
|
D | pgtable.h | 77 #define pgd_clear(pgd) (pgtable_l5_enabled() ? native_pgd_clear(pgd) : 0) 1185 if (!pgtable_l5_enabled()) in pgd_present() 1204 if (!pgtable_l5_enabled()) in p4d_offset() 1213 if (!pgtable_l5_enabled()) in pgd_bad() 1224 if (!pgtable_l5_enabled()) in pgd_none()
|
D | paravirt.h | 511 if (pgtable_l5_enabled()) \ 518 if (pgtable_l5_enabled()) \
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 57 bool pgtable_l5_enabled __ro_after_init = !IS_ENABLED(CONFIG_XIP_KERNEL); 59 EXPORT_SYMBOL(pgtable_l5_enabled); 636 #define alloc_pgd_next(__va) (pgtable_l5_enabled ? \ 639 #define get_pgd_next_virt(__pa) (pgtable_l5_enabled ? \ 643 (pgtable_l5_enabled ? \ 648 #define fixmap_pgd_next (pgtable_l5_enabled ? \ 651 #define trampoline_pgd_next (pgtable_l5_enabled ? \ 697 if (pgtable_l5_enabled && in best_map_size() 767 pgtable_l5_enabled = false; in disable_pgtable_l5() 835 pgtable_l5_enabled ? in set_satp_mode() [all …]
|
D | kasan_init.c | 196 if (!pgtable_l5_enabled) { in kasan_early_clear_p4d() 224 if (pgtable_l5_enabled && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_early_clear_pgd() 280 if (!pgtable_l5_enabled) { in kasan_early_populate_p4d() 347 if (pgtable_l5_enabled) { in kasan_early_init() 464 if (pgtable_l5_enabled) { in create_tmp_mapping()
|
D | pgtable.c | 55 if (pgtable_l5_enabled) in p4d_offset()
|
/linux-6.12.1/arch/x86/mm/ |
D | kaslr.c | 84 vaddr_start = pgtable_l5_enabled() ? __PAGE_OFFSET_BASE_L5 : __PAGE_OFFSET_BASE_L4; in kernel_randomize_memory() 187 if (pgtable_l5_enabled()) { in init_trampoline_kaslr()
|
D | kasan_init_64.c | 181 if (pgtable_l5_enabled()) in clear_pgds() 196 if (!pgtable_l5_enabled()) in early_p4d_offset() 312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init() 362 if (pgtable_l5_enabled()) { in kasan_init()
|
D | ident_map.c | 62 if (pgtable_l5_enabled()) in free_p4d() 220 if (pgtable_l5_enabled()) { in kernel_ident_mapping_init()
|
D | init_64.c | 220 if (pgtable_l5_enabled()) in sync_global_pgds() 690 if (!pgtable_l5_enabled()) in phys_p4d_init() 767 if (pgtable_l5_enabled()) in __kernel_physical_mapping_init() 1219 if (pgtable_l5_enabled()) in remove_p4d_table() 1311 if (pgtable_l5_enabled()) in preallocate_vmalloc_pages()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | pgalloc.h | 76 if (pgtable_l5_enabled()) in __pgd_populate() 99 if (!pgtable_l5_enabled()) in p4d_free()
|
D | pgtable.h | 1007 static __always_inline bool pgtable_l5_enabled(void) in pgtable_l5_enabled() function 1016 return !pgtable_l5_enabled(); in mm_p4d_folded() 1023 #define pgd_none(pgd) (pgtable_l5_enabled() && !pgd_val(pgd)) 1024 #define pgd_bad(pgd) (pgtable_l5_enabled() && !(pgd_val(pgd) & 2)) 1041 if (pgtable_l5_enabled()) in pgd_clear() 1059 BUG_ON(!pgtable_l5_enabled()); in p4d_offset_phys() 1067 if (!pgtable_l5_enabled()) in p4d_offset_lockless() 1080 if (!pgtable_l5_enabled()) in p4d_set_fixmap() 1087 if (!pgtable_l5_enabled()) in p4d_set_fixmap_offset() 1094 if (pgtable_l5_enabled()) in p4d_clear_fixmap() [all …]
|
/linux-6.12.1/arch/x86/kernel/ |
D | vmcore_info_64.c | 15 pgtable_l5_enabled()); in arch_crash_save_vmcoreinfo()
|
/linux-6.12.1/arch/arm64/mm/ |
D | pgd.c | 27 return !pgtable_l5_enabled(); in pgdir_is_page_size()
|
/linux-6.12.1/arch/x86/power/ |
D | hibernate_64.c | 54 if (pgtable_l5_enabled()) { in set_up_temporary_text_mapping()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | cpu.c | 297 if (pgtable_l5_enabled) in print_mmu()
|