/linux-4.1.27/arch/x86/mm/ |
H A D | kasan_init_64.c | 59 | _KERNPG_TABLE); kasan_map_early_shadow() 88 | _KERNPG_TABLE)); zero_pmd_populate() 97 set_pmd(pmd, __pmd(__pa_nodebug(p) | _KERNPG_TABLE)); zero_pmd_populate() 114 | _KERNPG_TABLE)); zero_pud_populate() 124 set_pud(pud, __pud(__pa_nodebug(p) | _KERNPG_TABLE)); zero_pud_populate() 139 | _KERNPG_TABLE)); zero_pgd_populate() 149 set_pgd(pgd, __pgd(__pa_nodebug(p) | _KERNPG_TABLE)); zero_pgd_populate() 185 pmdval_t pmd_val = __pa_nodebug(kasan_zero_pte) | _KERNPG_TABLE; kasan_early_init() 186 pudval_t pud_val = __pa_nodebug(kasan_zero_pmd) | _KERNPG_TABLE; kasan_early_init()
|
H A D | init_64.c | 92 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); ident_pud_init() 127 set_pgd(pgd, __pgd(__pa(pud) | _KERNPG_TABLE)); kernel_ident_mapping_init() 340 set_pgd(pgd, __pgd(__pa(pud) | _KERNPG_TABLE | __init_extra_mapping() 346 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE | __init_extra_mapping()
|
H A D | pageattr.c | 664 __set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE))); __split_large_page() 864 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); alloc_pte_page() 874 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); alloc_pmd_page() 1058 pgprot_t pgprot = __pgprot(_KERNPG_TABLE); populate_pgd() 1073 set_pgd(pgd_entry, __pgd(__pa(pud) | _KERNPG_TABLE)); populate_pgd()
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | pgalloc.h | 31 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte))) 36 set_pmd(pmd, __pmd(_KERNPG_TABLE + pmd_populate()
|
H A D | pgtable.h | 159 #define _KERNPG_TABLE \ macro 228 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK)) != _KERNPG_TABLE) 368 pmd_val(*pmdp) = _KERNPG_TABLE | (unsigned long) ptep; pmd_set()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | head64.c | 86 *pgd_p = (pgdval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; early_make_pgtable() 102 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; early_make_pgtable()
|
H A D | head_64.S | 113 leaq (4096 + _KERNPG_TABLE)(%rbx), %rdx 467 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE 469 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE 475 .quad level2_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE 487 .quad level2_kernel_pgt - __START_KERNEL_map + _KERNPG_TABLE
|
H A D | machine_kexec_64.c | 58 set_pgd(pgd, __pgd(__pa(pud) | _KERNPG_TABLE)); init_transition_pgtable() 66 set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE)); init_transition_pgtable() 74 set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE)); init_transition_pgtable()
|
H A D | espfix_64.c | 101 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
|
/linux-4.1.27/arch/um/kernel/ |
H A D | mem.c | 70 set_pmd(pmd, __pmd(_KERNPG_TABLE + one_page_table_init() 81 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); one_md_table_init()
|
/linux-4.1.27/arch/um/include/asm/ |
H A D | pgtable-3level.h | 57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
H A D | pgtable.h | 56 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) macro 100 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | pgtable_64.h | 131 #define mk_kernel_pgd(address) __pgd((address) | _KERNPG_TABLE) pgd_large()
|
H A D | pgtable.h | 546 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; pmd_bad() 590 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; pud_bad() 629 return (pgd_flags(pgd) & ~_PAGE_USER) != _KERNPG_TABLE; pgd_bad()
|
H A D | pgtable_types.h | 96 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ macro
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | pgtable_64.h | 69 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) 165 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ macro 171 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER) 197 #define PAGE_KERNEL __pgprot(_KERNPG_TABLE)
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | mmu.h | 81 #define _KERNPG_TABLE (_PAGE_TABLE | _PAGE_KERNEL) macro
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 86 #define _KERNPG_TABLE (_PAGE_TABLE | _PAGE_KERNEL) macro
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | pgtable.h | 107 #define _KERNPG_TABLE \ macro 183 #define pmd_bad(x) ((pmd_val(x) & ~PAGE_MASK) != _KERNPG_TABLE)
|
/linux-4.1.27/arch/openrisc/mm/ |
H A D | init.c | 110 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); for_each_memblock()
|
/linux-4.1.27/arch/m32r/mm/ |
H A D | mmu.S | 156 add3 r2, r2, #-355 ; _KERNPG_TABLE(=0x163) 271 ldi r4, #0x163 ; _KERNPG_TABLE(=0x163)
|
/linux-4.1.27/arch/x86/xen/ |
H A D | p2m.c | 386 set_pmd(pmdp, __pmd(__pa(ptep) | _KERNPG_TABLE)); xen_rebuild_p2m_list() 481 __pmd(__pa(pte_newpg[i]) | _KERNPG_TABLE)); alloc_p2m_pmd()
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | pgtable.h | 101 * works for both _PAGE_TABLE and _KERNPG_TABLE pmd entries.
|