Home
last modified time | relevance | path

Searched refs:pgtable_l4_enabled (Results 1 – 12 of 12) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dpgtable-64.h13 extern bool pgtable_l4_enabled;
20 (pgtable_l4_enabled ? PGDIR_SHIFT_L4 : PGDIR_SHIFT_L3))
30 (pgtable_l4_enabled ? P4D_SHIFT_L4 : P4D_SHIFT_L3))
243 if (pgtable_l4_enabled) in mm_pud_folded()
278 if (pgtable_l4_enabled) in set_p4d()
286 if (pgtable_l4_enabled) in p4d_none()
294 if (pgtable_l4_enabled) in p4d_present()
302 if (pgtable_l4_enabled) in p4d_bad()
310 if (pgtable_l4_enabled) in p4d_clear()
326 if (pgtable_l4_enabled) in p4d_pgtable()
H A Dvmalloc.h7 extern bool pgtable_l4_enabled, pgtable_l5_enabled;
14 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
H A Dpgtable-32.h36 static const __maybe_unused int pgtable_l4_enabled; variable
H A Dpgtable.h75 VA_BITS_SV57 : (pgtable_l4_enabled ? VA_BITS_SV48 : VA_BITS_SV39))
/linux/arch/riscv/mm/
H A Dkasan_init.c171 if (!pgtable_l4_enabled) { in kasan_early_clear_pud()
206 if (pgtable_l4_enabled && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_early_clear_p4d()
242 if (!pgtable_l4_enabled) { in kasan_early_populate_pud()
339 if (pgtable_l4_enabled) { in kasan_early_init()
475 if (pgtable_l4_enabled) { in create_tmp_mapping()
H A Dpgtable.c47 if (pgtable_l4_enabled) in pud_offset()
H A Dptdump.c410 pg_level[2].name = pgtable_l4_enabled ? "PUD" : "PGD"; in ptdump_init()
/linux/arch/arm64/include/asm/
H A Dpgtable.h819 static inline bool pgtable_l4_enabled(void);
823 if (!pgtable_l4_enabled() && in_swapper_pgdir(pudp)) { in set_pud()
880 static __always_inline bool pgtable_l4_enabled(void) in pgtable_l4_enabled() function
891 return !pgtable_l4_enabled(); in mm_pud_folded()
898 #define p4d_none(p4d) (pgtable_l4_enabled() && !p4d_val(p4d))
899 #define p4d_bad(p4d) (pgtable_l4_enabled() && !(p4d_val(p4d) & 2))
916 if (pgtable_l4_enabled()) in p4d_clear()
942 BUG_ON(!pgtable_l4_enabled()); in pud_offset_phys()
950 if (!pgtable_l4_enabled()) in pud_offset_lockless()
964 if (!pgtable_l4_enabled()) in pud_set_fixmap()
[all …]
H A Dtlb.h106 if (!pgtable_l4_enabled()) in __pud_free_tlb()
/linux/arch/arm64/mm/
H A Dpgd.c25 return !pgtable_l4_enabled(); in pgdir_is_page_size()
H A Dmmu.c1081 if (!pgtable_l4_enabled()) in free_empty_pud_table()
/linux/arch/riscv/kernel/
H A Dcpu.c299 else if (pgtable_l4_enabled) in print_mmu()