| /linux/arch/arm/include/asm/ |
| H A D | pgtable-3level-types.h | 36 #define __pgd(x) ((pgd_t) { (x) } ) macro 53 #define __pgd(x) (x) macro
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgalloc.h | 67 set_pgd(pgd, __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate() 78 __pgd((pfn << _PAGE_PFN_SHIFT) | _PAGE_TABLE)); in pgd_populate_safe()
|
| H A D | page.h | 76 #define __pgd(x) ((pgd_t) { (x) }) macro
|
| H A D | pgtable-64.h | 378 set_pgd(pgd, __pgd(0)); in pgd_clear()
|
| H A D | pgtable.h | 246 return __pgd((pfn << _PAGE_PFN_SHIFT) | prot_val); in pfn_pgd()
|
| /linux/arch/x86/mm/ |
| H A D | kaslr.c | 206 __pgd(_KERNPG_TABLE | __pa(p4d_page_tramp)); in init_trampoline_kaslr() 209 __pgd(_KERNPG_TABLE | __pa(pud_page_tramp)); in init_trampoline_kaslr()
|
| H A D | kasan_init_64.c | 212 pgd_entry = __pgd(_KERNPG_TABLE | in kasan_early_p4d_populate() 367 __pgd(__pa(tmp_p4d_table) | _KERNPG_TABLE)); in kasan_init()
|
| H A D | pti.c | 198 set_pgd(pgd, __pgd(_KERNPG_TABLE | __pa(new_p4d_page))); in pti_user_pagetable_walk_p4d()
|
| /linux/arch/x86/power/ |
| H A D | hibernate_32.c | 41 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); in resume_one_md_table_init() 141 __pgd(__pa(empty_zero_page) | _PAGE_PRESENT)); in resume_init_first_level_page_table()
|
| /linux/arch/x86/include/asm/ |
| H A D | pgalloc.h | 137 set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(p4d))); in pgd_populate() 145 set_pgd_safe(pgd, __pgd(_PAGE_TABLE | __pa(p4d))); in pgd_populate_safe()
|
| H A D | pgtable.h | 92 #define __pgd(x) native_make_pgd(x) macro
|
| /linux/arch/m68k/include/asm/ |
| H A D | page.h | 44 #define __pgd(x) ((pgd_t) { (x) } ) macro
|
| /linux/include/asm-generic/ |
| H A D | pgtable-nop4d.h | 41 #define __p4d(x) ((p4d_t) { __pgd(x) })
|
| /linux/arch/arm64/include/asm/ |
| H A D | pgtable-types.h | 55 #define __pgd(x) ((pgd_t) { (x) } ) macro
|
| H A D | pgtable.h | 828 set_swapper_pgd((pgd_t *)pmdp, __pgd(pmd_val(pmd))); in set_pmd() 893 set_swapper_pgd((pgd_t *)pudp, __pgd(pud_val(pud))); in set_pud() 974 set_swapper_pgd((pgd_t *)p4dp, __pgd(p4d_val(p4d))); in set_p4d() 1102 set_swapper_pgd(pgdp, __pgd(pgd_val(pgd))); in set_pgd() 1113 set_pgd(pgdp, __pgd(0)); in pgd_clear()
|
| /linux/arch/csky/include/asm/ |
| H A D | page.h | 61 #define __pgd(x) ((pgd_t) { (x) }) macro
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable-types.h | 67 #define __pgd(x) ((pgd_t) { (x) }) macro
|
| H A D | pgtable-be-types.h | 54 #define __pgd(x) ((pgd_t) { cpu_to_be64(x) }) macro
|
| /linux/arch/loongarch/include/asm/ |
| H A D | page.h | 47 #define __pgd(x) ((pgd_t) { (x) }) macro
|
| /linux/arch/arm64/mm/ |
| H A D | kasan_init.c | 220 set_pgd(pgdp, __pgd(__pa_symbol(tbl) | PGD_TYPE_TABLE)); in kasan_early_init() 263 tmp_pg_dir[idx] = __pgd(__phys_to_pgd_val(__pa_symbol(pud)) | in clone_next_level()
|
| /linux/arch/sh/include/asm/ |
| H A D | page.h | 81 #define __pgd(x) ((pgd_t) { (x) } ) macro
|
| /linux/arch/x86/kernel/ |
| H A D | machine_kexec_32.c | 89 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); in machine_kexec_page_table_set_one()
|
| /linux/arch/arm/mm/ |
| H A D | kasan_init.c | 237 __pgd(__pa(tmp_pmd_table) | PMD_TYPE_TABLE | L_PGD_SWAPPER)); in kasan_init()
|
| /linux/arch/riscv/kernel/ |
| H A D | hibernate.c | 328 set_pgd(dst_pgdp, __pgd(pgd_val(pgd) | pgprot_val(prot))); in temp_pgtable_mapping()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 1474 __pgd(__pa(level3_user_vsyscall) | _PAGE_TABLE); in xen_pgd_alloc() 1781 init_top_pgt[0] = __pgd(0); in xen_setup_kernel_pagetable() 2030 set_pgd(pgd + 2 + idx_pud, __pgd(_PAGE_TABLE | pud_phys)); in xen_relocate_p2m() 2047 set_pgd(pgd + 1, __pgd(0)); in xen_relocate_p2m()
|