Home
last modified time | relevance | path

Searched refs:pgtable_l5_enabled (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.12.1/arch/riscv/include/asm/
Dpgtable-64.h14 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()
Dpgalloc.h73 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()
Dvmalloc.h7 extern bool pgtable_l4_enabled, pgtable_l5_enabled;
14 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
Dpgtable-32.h37 static const __maybe_unused int pgtable_l5_enabled; variable
/linux-6.12.1/arch/x86/include/asm/
Dpgtable_64_types.h32 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)
Dpgalloc.h136 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()
Dpgtable_32_types.h18 #define pgtable_l5_enabled() 0 macro
Dsparsemem.h29 # define MAX_PHYSMEM_BITS (pgtable_l5_enabled() ? 52 : 46)
Dpgtable_64.h59 return !pgtable_l5_enabled(); in mm_p4d_folded()
146 if (pgtable_l5_enabled() || in native_set_p4d()
Dpage_64_types.h57 #define __VIRTUAL_MASK_SHIFT (pgtable_l5_enabled() ? 56 : 47)
Dpgtable.h77 #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()
Dparavirt.h511 if (pgtable_l5_enabled()) \
518 if (pgtable_l5_enabled()) \
/linux-6.12.1/arch/riscv/mm/
Dinit.c57 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 …]
Dkasan_init.c196 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()
Dpgtable.c55 if (pgtable_l5_enabled) in p4d_offset()
/linux-6.12.1/arch/x86/mm/
Dkaslr.c84 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()
Dkasan_init_64.c181 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()
Dident_map.c62 if (pgtable_l5_enabled()) in free_p4d()
220 if (pgtable_l5_enabled()) { in kernel_ident_mapping_init()
Dinit_64.c220 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/
Dpgalloc.h76 if (pgtable_l5_enabled()) in __pgd_populate()
99 if (!pgtable_l5_enabled()) in p4d_free()
Dpgtable.h1007 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/
Dvmcore_info_64.c15 pgtable_l5_enabled()); in arch_crash_save_vmcoreinfo()
/linux-6.12.1/arch/arm64/mm/
Dpgd.c27 return !pgtable_l5_enabled(); in pgdir_is_page_size()
/linux-6.12.1/arch/x86/power/
Dhibernate_64.c54 if (pgtable_l5_enabled()) { in set_up_temporary_text_mapping()
/linux-6.12.1/arch/riscv/kernel/
Dcpu.c297 if (pgtable_l5_enabled) in print_mmu()

12