/openbmc/linux/arch/x86/mm/ |
H A D | kaslr.c | 193 __p4d(_KERNPG_TABLE | __pa(pud_page_tramp))); in init_trampoline_kaslr() 196 __pgd(_KERNPG_TABLE | __pa(p4d_page_tramp)); in init_trampoline_kaslr() 199 __pgd(_KERNPG_TABLE | __pa(pud_page_tramp)); in init_trampoline_kaslr()
|
H A D | kasan_init_64.c | 213 pgd_entry = __pgd(_KERNPG_TABLE | in kasan_early_p4d_populate() 225 p4d_entry = __p4d(_KERNPG_TABLE | in kasan_early_p4d_populate() 293 pmdval_t pmd_val = __pa_nodebug(kasan_early_shadow_pte) | _KERNPG_TABLE; in kasan_early_init() 294 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init() 295 p4dval_t p4d_val = __pa_nodebug(kasan_early_shadow_pud) | _KERNPG_TABLE; in kasan_early_init() 368 __pgd(__pa(tmp_p4d_table) | _KERNPG_TABLE)); in kasan_init()
|
H A D | pti.c | 186 set_pgd(pgd, __pgd(_KERNPG_TABLE | __pa(new_p4d_page))); in pti_user_pagetable_walk_p4d() 215 set_p4d(p4d, __p4d(_KERNPG_TABLE | __pa(new_pud_page))); in pti_user_pagetable_walk_pmd() 229 set_pud(pud, __pud(_KERNPG_TABLE | __pa(new_pmd_page))); in pti_user_pagetable_walk_pmd() 270 set_pmd(pmd, __pmd(_KERNPG_TABLE | __pa(new_pte_page))); in pti_user_pagetable_walk_pte()
|
H A D | ident_map.c | 107 info->kernpg_flag = _KERNPG_TABLE; in kernel_ident_mapping_init()
|
H A D | init_64.c | 382 set_pgd(pgd, __pgd(__pa(p4d) | _KERNPG_TABLE | in __init_extra_mapping() 388 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE | in __init_extra_mapping() 394 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE | in __init_extra_mapping()
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | pgalloc.h | 29 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte))) 34 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
|
H A D | pgtable.h | 154 #define _KERNPG_TABLE \ macro 208 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK)) != _KERNPG_TABLE) 346 pmd_val(*pmdp) = _KERNPG_TABLE | (unsigned long) ptep; in pmd_set()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 170 set_pgd(pgd, __pgd(__pa(p4d) | _KERNPG_TABLE)); in init_transition_pgtable() 178 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE)); in init_transition_pgtable() 186 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in init_transition_pgtable() 194 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); in init_transition_pgtable()
|
H A D | head64.c | 363 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 378 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 393 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
|
H A D | espfix_64.c | 93 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
|
/openbmc/linux/arch/um/kernel/ |
H A D | mem.c | 92 set_pmd(pmd, __pmd(_KERNPG_TABLE + in one_page_table_init() 106 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); in one_md_table_init()
|
/openbmc/linux/arch/um/include/asm/ |
H A D | pgtable.h | 57 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) macro 84 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
H A D | pgtable-3level.h | 56 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
/openbmc/linux/arch/x86/power/ |
H A D | hibernate_64.c | 33 pgprot_t pgtable_prot = __pgprot(_KERNPG_TABLE); in set_up_temporary_text_mapping()
|
/openbmc/linux/arch/openrisc/mm/ |
H A D | init.c | 102 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); in map_ram()
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 1154 __set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE))); in __split_large_page() 1342 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); in alloc_pte_page() 1352 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in alloc_pmd_page() 1533 pgprot_t pgprot = __pgprot(_KERNPG_TABLE); in populate_pgd() 1546 set_pgd(pgd_entry, __pgd(__pa(p4d) | _KERNPG_TABLE)); in populate_pgd() 1558 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE)); in populate_pgd()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pgtable.h | 1042 (_KERNPG_TABLE & ~_PAGE_ACCESSED); in pmd_bad() 1081 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad() 1115 unsigned long ignore_flags = _KERNPG_TABLE | _PAGE_USER; in p4d_bad() 1166 return (pgd_flags(pgd) & ~ignore_flags) != _KERNPG_TABLE; in pgd_bad()
|
H A D | pgtable_types.h | 219 #define _KERNPG_TABLE (__PP|__RW| 0|___A| 0|___D| 0| 0| _ENC) macro
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | ident_map_64.c | 122 mapping_info.kernpg_flag = _KERNPG_TABLE; in initialize_identity_maps()
|
/openbmc/linux/arch/x86/xen/ |
H A D | p2m.c | 403 set_pmd(pmdp, __pmd(__pa(ptep) | _KERNPG_TABLE)); in xen_rebuild_p2m_list() 502 __pmd(__pa(pte_newpg[i]) | _KERNPG_TABLE)); in alloc_p2m_pmd()
|