/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | pgtable_64_types.h | 53 * PGDIR_SHIFT determines what a top-level page table entry can map 55 #define PGDIR_SHIFT pgdir_shift macro 72 * PGDIR_SHIFT determines what a top-level page table entry can map 74 #define PGDIR_SHIFT 39 macro 102 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 115 #define GUARD_HOLE_SIZE (16UL << PGDIR_SHIFT) 116 #define GUARD_HOLE_BASE_ADDR (GUARD_HOLE_PGD_ENTRY << PGDIR_SHIFT) 120 #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
H A D | pgtable-2level_types.h | 29 #define PGDIR_SHIFT 22 macro 41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
H A D | pgtable-3level_types.h | 28 * PGDIR_SHIFT determines what a top-level page table entry can map 30 #define PGDIR_SHIFT 30 macro 46 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
/kernel/linux/linux-6.6/arch/arc/include/asm/ |
H A D | pgtable-levels.h | 20 * | | <---------- PGDIR_SHIFT ----------> | 29 * However enabling of super page in a 2 level regime pegs PGDIR_SHIFT to 34 #define PGDIR_SHIFT 24 macro 36 #define PGDIR_SHIFT 21 macro 45 #define PGDIR_SHIFT 22 macro 47 #define PGDIR_SHIFT 21 macro 60 #define PGDIR_SHIFT 28 macro 70 #define PGDIR_SIZE BIT(PGDIR_SHIFT) 72 #define PTRS_PER_PGD BIT(32 - PGDIR_SHIFT) 77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | pgtable_64_types.h | 54 * PGDIR_SHIFT determines what a top-level page table entry can map 56 #define PGDIR_SHIFT pgdir_shift macro 73 * PGDIR_SHIFT determines what a top-level page table entry can map 75 #define PGDIR_SHIFT 39 macro 103 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 116 #define GUARD_HOLE_SIZE (16UL << PGDIR_SHIFT) 117 #define GUARD_HOLE_BASE_ADDR (GUARD_HOLE_PGD_ENTRY << PGDIR_SHIFT) 121 #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
H A D | pgtable-2level_types.h | 29 #define PGDIR_SHIFT 22 macro 41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
H A D | pgtable-3level_types.h | 35 * PGDIR_SHIFT determines what a top-level page table entry can map 37 #define PGDIR_SHIFT 30 macro 53 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
H A D | mm-nds32.c | 90 pmdval = (i << PGDIR_SHIFT); in setup_mm_for_reboot() 91 p4d = p4d_offset(pgd, i << PGDIR_SHIFT); in setup_mm_for_reboot() 92 pud = pud_offset(p4d, i << PGDIR_SHIFT); in setup_mm_for_reboot() 93 pmd = pmd_offset(pud + i, i << PGDIR_SHIFT); in setup_mm_for_reboot()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
H A D | pgtable.h | 179 * | | <------------ PGDIR_SHIFT ----------> | 191 * - PGDIR_SHIFT 21 -> 11:8:13 address split 192 * - PGDIR_SHIFT 24 -> 8:11:13 address split 194 * If Super Page is configured, PGDIR_SHIFT becomes fixed too, 199 #define PGDIR_SHIFT 24 macro 201 #define PGDIR_SHIFT 21 macro 207 #define PGDIR_SHIFT 21 macro 210 #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT) 211 #define BITS_FOR_PGD (32 - PGDIR_SHIFT) 213 #define PGDIR_SIZE BIT(PGDIR_SHIFT) /* vadd [all...] |
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 44 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 46 #define PGDIR_SHIFT 17 macro 48 #define PGDIR_SHIFT 22 macro 50 #define PGDIR_SHIFT 25 macro 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 42 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 44 #define PGDIR_SHIFT 17 macro 46 #define PGDIR_SHIFT 22 macro 48 #define PGDIR_SHIFT 25 macro 50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | pgtable-32.h | 13 #define PGDIR_SHIFT 22 macro 14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
/kernel/linux/linux-6.6/arch/um/include/asm/ |
H A D | pgtable-3level.h | 12 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 15 #define PGDIR_SHIFT 30 macro 17 #define PGDIR_SHIFT 31 macro 19 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
H A D | pgtable-2level.h | 13 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 15 #define PGDIR_SHIFT 22 macro 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | pgtable-hwdef.h | 66 * PGDIR_SHIFT determines the size a top-level page table entry can map 69 #define PGDIR_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(4 - CONFIG_PGTABLE_LEVELS) macro 70 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 72 #define PTRS_PER_PGD (1 << (VA_BITS - PGDIR_SHIFT)) 281 #define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \ 282 (UL(1) << (48 - PGDIR_SHIFT))) * 8)
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | pgtable-32.h | 14 #define PGDIR_SHIFT 22 macro 15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 117 unsigned pdshift = PGDIR_SHIFT; in huge_pte_alloc() 125 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() 159 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc() 514 free_hugepd_range(tlb, (hugepd_t *)p4d, PGDIR_SHIFT, in hugetlb_free_pgd_range() 639 if (shift > PGDIR_SHIFT) in hugetlbpage_init() 642 pdshift = PGDIR_SHIFT; in hugetlbpage_init() 650 else if (shift < PGDIR_SHIFT) in hugetlbpage_init() 653 pdshift = PGDIR_SHIFT; in hugetlbpage_init()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 119 unsigned pdshift = PGDIR_SHIFT; in huge_pte_alloc() 127 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() 161 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc() 503 free_hugepd_range(tlb, (hugepd_t *)p4d, PGDIR_SHIFT, in hugetlb_free_pgd_range() 563 if (shift > PGDIR_SHIFT) in hugetlbpage_init() 566 pdshift = PGDIR_SHIFT; in hugetlbpage_init() 574 else if (shift < PGDIR_SHIFT) in hugetlbpage_init() 577 pdshift = PGDIR_SHIFT; in hugetlbpage_init()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | pgtable-3level.h | 16 #define PGDIR_SHIFT 30 macro 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
H A D | pgtable-2level.h | 13 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 15 #define PGDIR_SHIFT 22 macro 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
H A D | pgtable-3level.h | 12 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 15 #define PGDIR_SHIFT 30 macro 17 #define PGDIR_SHIFT 31 macro 19 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | pgtable-nommu.h | 28 * PGDIR_SHIFT determines what a third-level page table entry can map 30 #define PGDIR_SHIFT 21 macro 32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | pgtable-nommu.h | 26 * PGDIR_SHIFT determines what a third-level page table entry can map 28 #define PGDIR_SHIFT 21 macro 30 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | pgtable-3level.h | 16 #define PGDIR_SHIFT 30 macro 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-44x.h | 151 #define PPC44x_PGD_OFF_SHIFT (32 - PGDIR_SHIFT + PGD_T_LOG2) 152 #define PPC44x_PGD_OFF_MASK_BIT (PGDIR_SHIFT - PGD_T_LOG2) 153 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
|