Home
last modified time | relevance | path

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

/Linux-v6.6/arch/riscv/include/asm/
Dpgtable-64.h13 extern bool pgtable_l4_enabled;
22 (pgtable_l4_enabled ? PGDIR_SHIFT_L4 : PGDIR_SHIFT_L3))
32 (pgtable_l4_enabled ? P4D_SHIFT_L4 : P4D_SHIFT_L3))
241 if (pgtable_l4_enabled) in mm_pud_folded()
276 if (pgtable_l4_enabled) in set_p4d()
284 if (pgtable_l4_enabled) in p4d_none()
292 if (pgtable_l4_enabled) in p4d_present()
300 if (pgtable_l4_enabled) in p4d_bad()
308 if (pgtable_l4_enabled) in p4d_clear()
324 if (pgtable_l4_enabled) in p4d_pgtable()
[all …]
Dpgalloc.h44 if (pgtable_l4_enabled) { in p4d_populate()
54 if (pgtable_l4_enabled) { in p4d_populate_safe()
85 if (pgtable_l4_enabled) in pud_alloc_one()
94 if (pgtable_l4_enabled) in pud_free()
Dvmalloc.h6 extern bool pgtable_l4_enabled, pgtable_l5_enabled;
13 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
Dpgtable.h72 VA_BITS_SV57 : (pgtable_l4_enabled ? VA_BITS_SV48 : VA_BITS_SV39))
917 extern bool pgtable_l4_enabled;
/Linux-v6.6/arch/riscv/mm/
Dkasan_init.c168 if (!pgtable_l4_enabled) { in kasan_early_clear_pud()
203 if (pgtable_l4_enabled && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_early_clear_p4d()
239 if (!pgtable_l4_enabled) { in kasan_early_populate_pud()
336 if (pgtable_l4_enabled) { in kasan_early_init()
464 if (pgtable_l4_enabled) { in create_tmp_mapping()
Dinit.c52 bool pgtable_l4_enabled = IS_ENABLED(CONFIG_64BIT) && !IS_ENABLED(CONFIG_XIP_KERNEL); variable
54 EXPORT_SYMBOL(pgtable_l4_enabled);
608 pt_ops.alloc_p4d(__va) : (pgtable_l4_enabled ? \
611 pt_ops.get_p4d_virt(__pa) : (pgd_next_t *)(pgtable_l4_enabled ? \
616 (pgtable_l4_enabled ? \
620 (uintptr_t)fixmap_p4d : (pgtable_l4_enabled ? \
623 (uintptr_t)trampoline_p4d : (pgtable_l4_enabled ? \
746 pgtable_l4_enabled = false; in disable_pgtable_l4()
1136 if (pgtable_l4_enabled) in setup_vm()
1147 if (pgtable_l4_enabled) in setup_vm()
[all …]
/Linux-v6.6/arch/riscv/kernel/
Dcpu.c238 else if (pgtable_l4_enabled) in print_mmu()