Searched refs:_KERNPG_TABLE (Results 1 - 23 of 23) sorted by relevance

/linux-4.1.27/arch/x86/mm/
H A Dkasan_init_64.c59 | _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 Dinit_64.c92 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 Dpageattr.c664 __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 Dpgalloc.h31 set_pmd(pmd, __pmd(_KERNPG_TABLE + __pa(pte)))
36 set_pmd(pmd, __pmd(_KERNPG_TABLE + pmd_populate()
H A Dpgtable.h159 #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 Dhead64.c86 *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 Dhead_64.S113 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 Dmachine_kexec_64.c58 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 Despfix_64.c101 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
/linux-4.1.27/arch/um/kernel/
H A Dmem.c70 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 Dpgtable-3level.h57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
H A Dpgtable.h56 #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 Dpgtable_64.h131 #define mk_kernel_pgd(address) __pgd((address) | _KERNPG_TABLE) pgd_large()
H A Dpgtable.h546 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 Dpgtable_types.h96 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ macro
/linux-4.1.27/arch/sh/include/asm/
H A Dpgtable_64.h69 #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 Dmmu.h81 #define _KERNPG_TABLE (_PAGE_TABLE | _PAGE_KERNEL) macro
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dmmu.h86 #define _KERNPG_TABLE (_PAGE_TABLE | _PAGE_KERNEL) macro
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable.h107 #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 Dinit.c110 set_pmd(pme, __pmd(_KERNPG_TABLE + __pa(pte))); for_each_memblock()
/linux-4.1.27/arch/m32r/mm/
H A Dmmu.S156 add3 r2, r2, #-355 ; _KERNPG_TABLE(=0x163)
271 ldi r4, #0x163 ; _KERNPG_TABLE(=0x163)
/linux-4.1.27/arch/x86/xen/
H A Dp2m.c386 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 Dpgtable.h101 * works for both _PAGE_TABLE and _KERNPG_TABLE pmd entries.

Completed in 435 milliseconds