| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 136 level3_kernel_pgt[PTRS_PER_PUD - 2].pud += load_delta; in __startup_64() 137 level3_kernel_pgt[PTRS_PER_PUD - 1].pud += load_delta; in __startup_64() 172 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 173 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
|
| /linux/arch/riscv/mm/ |
| H A D | kasan_init.c | 27 static pud_t tmp_pud[PTRS_PER_PUD] __page_aligned_bss; 88 p = memblock_alloc_or_panic(PTRS_PER_PUD * sizeof(pud_t), PAGE_SIZE); in kasan_populate_pud() 340 for (i = 0; i < PTRS_PER_PUD; ++i) in kasan_early_init() 477 memcpy(tmp_pud, ptr, sizeof(pud_t) * PTRS_PER_PUD); in create_tmp_mapping()
|
| /linux/include/asm-generic/ |
| H A D | pgtable-nopud.h | 19 #define PTRS_PER_PUD 1 macro
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 60 #define PTRS_PER_PUD (PAGE_SIZE / sizeof(pud_t)) macro 338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
|
| /linux/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable-4k.h | 26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
|
| /linux/arch/powerpc/mm/kasan/ |
| H A D | init_book3s_64.c | 73 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_init()
|
| H A D | init_book3e_64.c | 100 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
|
| /linux/arch/mips/mm/ |
| H A D | pgtable-64.c | 76 end = p + PTRS_PER_PUD; in pud_init()
|
| H A D | init.c | 246 for ( ; (j < PTRS_PER_PUD) && (vaddr < end); pud++, j++) { in fixrange_init() 556 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 68 #define PTRS_PER_PUD 512 macro
|
| H A D | pgtable_64.h | 272 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-4level.h | 40 #define PTRS_PER_PUD 512 macro
|
| /linux/arch/loongarch/mm/ |
| H A D | pgtable.c | 101 end = p + PTRS_PER_PUD; in pud_init()
|
| /linux/arch/x86/xen/ |
| H A D | xen-head.S | 152 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|
| H A D | mmu_pv.c | 105 static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss; 108 static pud_t level3_ident_pgt[PTRS_PER_PUD] __page_aligned_bss; 622 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk() 648 if (PTRS_PER_PUD > 1) in xen_p4d_walk() 1170 for (i = 0; i < PTRS_PER_PUD; i++) { in xen_cleanmfnmap_p4d() 1995 for (idx_pmd = 0; idx_pmd < min(n_pmd, PTRS_PER_PUD); in xen_relocate_p2m() 2026 n_pmd -= PTRS_PER_PUD; in xen_relocate_p2m()
|
| /linux/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT) macro
|
| /linux/arch/x86/kernel/ |
| H A D | espfix_64.c | 65 static __page_aligned_bss pud_t espfix_pud_page[PTRS_PER_PUD]
|
| H A D | head64.c | 126 memset(pud_p, 0, sizeof(*pud_p) * PTRS_PER_PUD); in __early_make_pgtable()
|
| /linux/arch/sh/mm/ |
| H A D | fault.c | 83 if (PTRS_PER_PUD != 1) in show_pte()
|
| /linux/arch/arm64/mm/ |
| H A D | kasan_init.c | 302 static pud_t pud[2][PTRS_PER_PUD] __initdata __aligned(PAGE_SIZE); in kasan_init_shadow()
|
| /linux/arch/arm/mm/ |
| H A D | dump.c | 372 for (i = 0; i < PTRS_PER_PUD; i++, pud++) { in walk_pud()
|
| H A D | fault.c | 67 if (PTRS_PER_PUD != 1) in show_pte()
|
| /linux/arch/x86/mm/ |
| H A D | kasan_init_64.c | 308 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
|
| /linux/mm/kasan/ |
| H A D | init.c | 319 for (i = 0; i < PTRS_PER_PUD; i++) { in kasan_free_pud()
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A D | hashpagetable.c | 434 for (i = 0; i < PTRS_PER_PUD; i++, pud++) { in walk_pud()
|