Home
last modified time | relevance | path

Searched refs:_KERNPG_TABLE (Results 1 – 22 of 22) sorted by relevance

/arch/x86/mm/
Dkaslr.c183 __p4d(_KERNPG_TABLE | __pa(pud_page_tramp))); in init_trampoline_pud()
186 __pgd(_KERNPG_TABLE | __pa(p4d_page_tramp)); in init_trampoline_pud()
189 __pgd(_KERNPG_TABLE | __pa(pud_page_tramp)); in init_trampoline_pud()
Dkasan_init_64.c216 pgd_entry = __pgd(_KERNPG_TABLE | in kasan_early_p4d_populate()
228 p4d_entry = __p4d(_KERNPG_TABLE | in kasan_early_p4d_populate()
270 pmdval_t pmd_val = __pa_nodebug(kasan_early_shadow_pte) | _KERNPG_TABLE; in kasan_early_init()
271 pudval_t pud_val = __pa_nodebug(kasan_early_shadow_pmd) | _KERNPG_TABLE; in kasan_early_init()
272 p4dval_t p4d_val = __pa_nodebug(kasan_early_shadow_pud) | _KERNPG_TABLE; in kasan_early_init()
326 __pgd(__pa(tmp_p4d_table) | _KERNPG_TABLE)); in kasan_init()
Dpti.c187 set_pgd(pgd, __pgd(_KERNPG_TABLE | __pa(new_p4d_page))); in pti_user_pagetable_walk_p4d()
216 set_p4d(p4d, __p4d(_KERNPG_TABLE | __pa(new_pud_page))); in pti_user_pagetable_walk_pmd()
230 set_pud(pud, __pud(_KERNPG_TABLE | __pa(new_pmd_page))); in pti_user_pagetable_walk_pmd()
266 set_pmd(pmd, __pmd(_KERNPG_TABLE | __pa(new_pte_page))); in pti_user_pagetable_walk_pte()
Dident_map.c107 info->kernpg_flag = _KERNPG_TABLE; in kernel_ident_mapping_init()
Dpageattr.c1019 __set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE))); in __split_large_page()
1207 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); in alloc_pte_page()
1217 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in alloc_pmd_page()
1398 pgprot_t pgprot = __pgprot(_KERNPG_TABLE); in populate_pgd()
1411 set_pgd(pgd_entry, __pgd(__pa(p4d) | _KERNPG_TABLE)); in populate_pgd()
1423 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE)); in populate_pgd()
Dinit_64.c376 set_pgd(pgd, __pgd(__pa(p4d) | _KERNPG_TABLE | in __init_extra_mapping()
382 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE | in __init_extra_mapping()
388 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE | in __init_extra_mapping()
/arch/openrisc/include/asm/
Dpgalloc.h26 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
31 set_pmd(pmd, __pmd(_KERNPG_TABLE + in pmd_populate()
Dpgtable.h156 #define _KERNPG_TABLE \ macro
225 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK)) != _KERNPG_TABLE)
365 pmd_val(*pmdp) = _KERNPG_TABLE | (unsigned long) ptep; in pmd_set()
/arch/sh/include/asm/
Dpgtable_64.h66 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
162 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ macro
168 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER)
194 #define PAGE_KERNEL __pgprot(_KERNPG_TABLE)
/arch/um/kernel/
Dmem.c74 set_pmd(pmd, __pmd(_KERNPG_TABLE + in one_page_table_init()
89 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); in one_md_table_init()
/arch/x86/kernel/
Dhead64.c333 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
348 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
363 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
Dmachine_kexec_64.c142 set_pgd(pgd, __pgd(__pa(p4d) | _KERNPG_TABLE)); in init_transition_pgtable()
150 set_p4d(p4d, __p4d(__pa(pud) | _KERNPG_TABLE)); in init_transition_pgtable()
158 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); in init_transition_pgtable()
166 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); in init_transition_pgtable()
Despfix_64.c93 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
/arch/x86/boot/compressed/
Dkaslr_64.c90 mapping_info.kernpg_flag = _KERNPG_TABLE; in initialize_identity_maps()
/arch/x86/power/
Dhibernate_64.c33 pgprot_t pgtable_prot = __pgprot(_KERNPG_TABLE); in set_up_temporary_text_mapping()
/arch/um/include/asm/
Dpgtable-3level.h58 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
Dpgtable.h54 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) macro
98 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
/arch/openrisc/mm/
Dinit.c107 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); in map_ram()
/arch/x86/include/asm/
Dpgtable_64.h175 #define mk_kernel_pgd(address) __pgd((address) | _KERNPG_TABLE)
Dpgtable_types.h189 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ macro
191 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER)
Dpgtable.h845 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; in pmd_bad()
889 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad()
933 unsigned long ignore_flags = _KERNPG_TABLE | _PAGE_USER; in p4d_bad()
984 return (pgd_flags(pgd) & ~ignore_flags) != _KERNPG_TABLE; in pgd_bad()
/arch/x86/xen/
Dp2m.c410 set_pmd(pmdp, __pmd(__pa(ptep) | _KERNPG_TABLE)); in xen_rebuild_p2m_list()
509 __pmd(__pa(pte_newpg[i]) | _KERNPG_TABLE)); in alloc_p2m_pmd()