Searched refs:pgtable_l4_enabled (Results 1 – 16 of 16) sorted by relevance
13 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()
53 if (pgtable_l4_enabled) { in p4d_populate()63 if (pgtable_l4_enabled) { in p4d_populate_safe()94 if (pgtable_l4_enabled) in pud_alloc_one()103 if (pgtable_l4_enabled) in pud_free()110 if (pgtable_l4_enabled) { in __pud_free_tlb()
7 extern bool pgtable_l4_enabled, pgtable_l5_enabled;14 return pgtable_l4_enabled || pgtable_l5_enabled; in arch_vmap_pud_supported()
36 static const __maybe_unused int pgtable_l4_enabled; variable
75 VA_BITS_SV57 : (pgtable_l4_enabled ? VA_BITS_SV48 : VA_BITS_SV39))
56 bool pgtable_l4_enabled __ro_after_init = !IS_ENABLED(CONFIG_XIP_KERNEL);58 EXPORT_SYMBOL(pgtable_l4_enabled);637 pt_ops.alloc_p4d(__va) : (pgtable_l4_enabled ? \640 pt_ops.get_p4d_virt(__pa) : (pgd_next_t *)(pgtable_l4_enabled ? \645 (pgtable_l4_enabled ? \649 (uintptr_t)fixmap_p4d : (pgtable_l4_enabled ? \652 (uintptr_t)trampoline_p4d : (pgtable_l4_enabled ? \701 if (pgtable_l4_enabled && in best_map_size()774 pgtable_l4_enabled = false; in disable_pgtable_l4()1175 if (pgtable_l4_enabled) in setup_vm()[all …]
171 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()
47 if (pgtable_l4_enabled) in pud_offset()
410 pg_level[2].name = pgtable_l4_enabled ? "PUD" : "PGD"; in ptdump_init()
47 if (pgtable_l4_enabled()) in __p4d_populate()61 if (!pgtable_l4_enabled()) in pud_free()
820 static inline bool pgtable_l4_enabled(void);824 if (!pgtable_l4_enabled() && in_swapper_pgdir(pudp)) { in set_pud()881 static __always_inline bool pgtable_l4_enabled(void) in pgtable_l4_enabled() function892 return !pgtable_l4_enabled(); in mm_pud_folded()899 #define p4d_none(p4d) (pgtable_l4_enabled() && !p4d_val(p4d))900 #define p4d_bad(p4d) (pgtable_l4_enabled() && !(p4d_val(p4d) & 2))917 if (pgtable_l4_enabled()) in p4d_clear()940 BUG_ON(!pgtable_l4_enabled()); in pud_offset_phys()948 if (!pgtable_l4_enabled()) in pud_offset_lockless()962 if (!pgtable_l4_enabled()) in pud_set_fixmap()[all …]
106 if (!pgtable_l4_enabled()) in __pud_free_tlb()
25 return !pgtable_l4_enabled(); in pgdir_is_page_size()
1081 if (!pgtable_l4_enabled()) in free_empty_pud_table()
299 else if (pgtable_l4_enabled) in print_mmu()
1900 else if (levels == 4 && !pgtable_l4_enabled()) in __kpti_install_ng_mappings()