/openbmc/linux/arch/arc/include/asm/ |
H A D | pgtable-levels.h | 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 - PUD_SHIFT)
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pgtable_64_types.h | 56 #define PGDIR_SHIFT pgdir_shift macro 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 | 37 #define PGDIR_SHIFT 30 macro 53 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 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)
|
/openbmc/linux/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 | 21 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 49 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/openbmc/linux/arch/um/include/asm/ |
H A D | pgtable-3level.h | 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 | 15 #define PGDIR_SHIFT 22 macro 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/openbmc/linux/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()
|
/openbmc/linux/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)
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | pgtable-hwdef.h | 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)) 300 #define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \ 301 (UL(1) << (48 - PGDIR_SHIFT))) * 8)
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | pgtable-nommu.h | 28 #define PGDIR_SHIFT 21 macro 30 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
H A D | pgtable-2level.h | 85 #define PGDIR_SHIFT 21 macro 89 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
H A D | pgtable-3level.h | 33 #define PGDIR_SHIFT 30 macro 42 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 43 #define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1))
|
/openbmc/linux/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)
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgtable-64.h | 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)
|
H A D | pgtable-32.h | 65 # define PGDIR_SHIFT (2 * PAGE_SHIFT - PTE_T_LOG2 - 1) macro 67 # define PGDIR_SHIFT (2 * PAGE_SHIFT - PTE_T_LOG2) macro 70 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/openbmc/linux/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
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | pgtable.h | 125 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro 127 #define PGDIR_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro 129 #define PGDIR_SIZE (__IA64_UL(1) << PGDIR_SHIFT) 206 #define RGN_MAP_SHIFT (PGDIR_SHIFT + PTRS_PER_PGD_SHIFT - 3) 326 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index() 339 (init_mm.pgd + (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)))
|
/openbmc/linux/arch/powerpc/include/asm/nohash/64/ |
H A D | pgtable-4k.h | 40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE) macro 41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | pgtable.h | 89 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_SHIFT) macro 90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 99 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) 104 #define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pgtable.h | 122 #define PGDIR_SHIFT (PLD_SHIFT + BITS_PER_PTE + BITS_PER_PMD) macro 123 #if (PGDIR_SHIFT + PAGE_SHIFT + PGD_TABLE_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG 124 #define BITS_PER_PGD (BITS_PER_LONG - PGDIR_SHIFT) 128 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 134 #define MAX_ADDRBITS (PGDIR_SHIFT + BITS_PER_PGD)
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | tlbex.S | 60 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 213 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 369 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 26 #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - 3)) macro 31 #define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT - 3)) macro 39 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT - 3)) macro 42 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 45 #define VA_BITS (PGDIR_SHIFT + (PAGE_SHIFT - 3))
|