/linux-master/arch/x86/include/asm/ |
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_32_types.h | 20 #define PGDIR_SIZE (1UL << 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)
|
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)
|
/linux-master/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)
|
/linux-master/arch/sh/include/asm/ |
H A D | pgtable-2level.h | 19 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) macro
|
H A D | pgtable-3level.h | 16 #define PGDIR_SHIFT 30 macro 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
|
/linux-master/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)
|
/linux-master/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)
|
H A D | pgtable-2level.h | 82 * PGDIR_SHIFT determines what a third-level page table entry can map 85 #define PGDIR_SHIFT 21 macro 89 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/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...] |
/linux-master/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)
|
H A D | sun3_pgalloc.h | 48 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
|
/linux-master/arch/powerpc/include/asm/nohash/64/ |
H A D | pgtable-4k.h | 39 /* PGDIR_SHIFT determines what a fourth-level page table entry can map */ 40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE) macro 41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/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)
|
H A D | pgtable.h | 17 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 44 /* PGDIR_SHIFT determines what a top-level page table entry can map */ 45 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 46 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/hexagon/include/asm/ |
H A D | mem-layout.h | 54 #define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
|
/linux-master/arch/arm64/include/asm/ |
H A D | pgtable-hwdef.h | 73 * PGDIR_SHIFT determines the size a top-level page table entry can map 76 #define PGDIR_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(4 - CONFIG_PGTABLE_LEVELS) macro 77 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 79 #define PTRS_PER_PGD (1 << (VA_BITS - PGDIR_SHIFT)) 322 #define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \ 323 (UL(1) << (48 - PGDIR_SHIFT))) * 8)
|
/linux-master/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 119 unsigned pdshift = PGDIR_SHIFT; 127 if (pshift == PGDIR_SHIFT) 161 if (pshift >= PGDIR_SHIFT) { 503 free_hugepd_range(tlb, (hugepd_t *)p4d, PGDIR_SHIFT, 563 if (shift > PGDIR_SHIFT) 566 pdshift = PGDIR_SHIFT; 574 else if (shift < PGDIR_SHIFT) 577 pdshift = PGDIR_SHIFT;
|
/linux-master/include/asm-generic/ |
H A D | pgtable-nop4d.h | 11 #define P4D_SHIFT PGDIR_SHIFT
|
/linux-master/arch/loongarch/include/asm/ |
H A D | kasan.h | 19 #define XRANGE_SHADOW_SHIFT (PGDIR_SHIFT + PAGE_SHIFT - 3)
|
/linux-master/arch/mips/include/asm/ |
H A D | pgtable-64.h | 43 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 45 #define PGDIR_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3) macro 54 # define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_TABLE_ORDER - 3)) macro 62 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_TABLE_ORDER - 3)) macro 65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/xtensa/include/asm/ |
H A D | pgtable.h | 49 #define PGDIR_SHIFT 22 macro 50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 61 #define FIRST_USER_PGD_NR (FIRST_USER_ADDRESS >> PGDIR_SHIFT) 391 #define _PGD_INDEX(rt,rs) extui rt, rs, PGDIR_SHIFT, 32-PGDIR_SHIFT
|
/linux-master/arch/x86/kernel/ |
H A D | head32.c | 45 *(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0}; 115 *(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2;
|