/Linux-v4.19/arch/x86/include/asm/ |
D | pgtable_64_types.h | 55 #define PGDIR_SHIFT pgdir_shift macro 74 #define PGDIR_SHIFT 39 macro 102 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 117 #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
D | pgtable-2level_types.h | 27 #define PGDIR_SHIFT 22 macro 39 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
D | pgtable-3level_types.h | 33 #define PGDIR_SHIFT 30 macro 49 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | pgtable_mm.h | 43 #define PGDIR_SHIFT 17 macro 45 #define PGDIR_SHIFT 22 macro 47 #define PGDIR_SHIFT 25 macro 49 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/Linux-v4.19/arch/arc/include/asm/ |
D | pgtable.h | 207 #define PGDIR_SHIFT 24 macro 209 #define PGDIR_SHIFT 21 macro 215 #define PGDIR_SHIFT 21 macro 218 #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT) 219 #define BITS_FOR_PGD (32 - PGDIR_SHIFT) 221 #define PGDIR_SIZE _BITUL(PGDIR_SHIFT) /* vaddr span, not PDG sz */ 341 #define pgd_index(addr) ((addr) >> PGDIR_SHIFT)
|
/Linux-v4.19/arch/riscv/kernel/ |
D | setup.c | 117 #define NUM_SWAPPER_PMDS ((uintptr_t)-PAGE_OFFSET >> PGDIR_SHIFT) 137 trampoline_pg_dir[(PAGE_OFFSET >> PGDIR_SHIFT) % PTRS_PER_PGD] = in setup_vm() 143 size_t o = (PAGE_OFFSET >> PGDIR_SHIFT) % PTRS_PER_PGD + i; in setup_vm() 151 trampoline_pg_dir[(PAGE_OFFSET >> PGDIR_SHIFT) % PTRS_PER_PGD] = in setup_vm() 155 size_t o = (PAGE_OFFSET >> PGDIR_SHIFT) % PTRS_PER_PGD + i; in setup_vm()
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | pgtable-32.h | 21 #define PGDIR_SHIFT 22 macro 22 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
D | pgtable-64.h | 19 #define PGDIR_SHIFT 30 macro 21 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | mmu-44x.h | 148 #define PPC44x_PGD_OFF_SHIFT (32 - PGDIR_SHIFT + PGD_T_LOG2) 149 #define PPC44x_PGD_OFF_MASK_BIT (PGDIR_SHIFT - PGD_T_LOG2) 150 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
|
/Linux-v4.19/arch/um/include/asm/ |
D | pgtable-3level.h | 16 #define PGDIR_SHIFT 30 macro 18 #define PGDIR_SHIFT 31 macro 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
D | pgtable-2level.h | 16 #define PGDIR_SHIFT 22 macro 17 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | pgtable.h | 53 #define PGDIR_SHIFT 22 macro 54 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 67 #define FIRST_USER_PGD_NR (FIRST_USER_ADDRESS >> PGDIR_SHIFT) 376 #define pgd_index(address) ((address) >> PGDIR_SHIFT) 419 #define _PGD_INDEX(rt,rs) extui rt, rs, PGDIR_SHIFT, 32-PGDIR_SHIFT
|
/Linux-v4.19/arch/mips/include/asm/ |
D | pgtable-64.h | 44 #define PGDIR_SHIFT (PAGE_SHIFT + PAGE_SHIFT + PTE_ORDER - 3) macro 53 # define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) macro 61 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_ORDER - 3)) macro 64 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 319 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
|
D | pgtable-32.h | 47 #define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2) macro 48 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 161 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
|
/Linux-v4.19/arch/sh/include/asm/ |
D | pgtable-3level.h | 17 #define PGDIR_SHIFT 30 macro 27 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 25 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 51 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 301 #define pgd_index(address) ((address) >> PGDIR_SHIFT)
|
/Linux-v4.19/arch/arm/include/asm/ |
D | pgtable-nommu.h | 34 #define PGDIR_SHIFT 21 macro 36 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
D | pgtable-2level.h | 86 #define PGDIR_SHIFT 21 macro 90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | pgtable.h | 126 #define PGDIR_SHIFT (PMD_SHIFT + BITS_PER_PMD) macro 127 #if (PGDIR_SHIFT + PAGE_SHIFT + PGD_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG 128 #define BITS_PER_PGD (BITS_PER_LONG - PGDIR_SHIFT) 132 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 138 #define MAX_ADDRBITS (PGDIR_SHIFT + BITS_PER_PGD) 420 #define pgd_index(address) ((address) >> PGDIR_SHIFT) 424 ((mm)->pgd + ((address) >> PGDIR_SHIFT))
|
/Linux-v4.19/arch/powerpc/mm/ |
D | hugetlbpage.c | 131 unsigned pdshift = PGDIR_SHIFT; in huge_pte_alloc() 138 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() 168 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc() 485 free_hugepd_range(tlb, (hugepd_t *)pgd, PGDIR_SHIFT, in hugetlb_free_pgd_range() 677 if (shift > PGDIR_SHIFT) in hugetlbpage_init() 680 pdshift = PGDIR_SHIFT; in hugetlbpage_init() 688 else if (shift < PGDIR_SHIFT) in hugetlbpage_init() 691 pdshift = PGDIR_SHIFT; in hugetlbpage_init() 783 unsigned pdshift = PGDIR_SHIFT; in __find_linux_pte()
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/64/ |
D | pgtable-4k.h | 40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE) macro 41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/Linux-v4.19/arch/nds32/mm/ |
D | mm-nds32.c | 86 pmdval = (i << PGDIR_SHIFT); in setup_mm_for_reboot() 87 pmd = pmd_offset(pgd + i, i << PGDIR_SHIFT); in setup_mm_for_reboot()
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | pgtable.h | 122 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro 124 #define PGDIR_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro 126 #define PGDIR_SIZE (__IA64_UL(1) << PGDIR_SHIFT) 243 #define RGN_MAP_SHIFT (PGDIR_SHIFT + PTRS_PER_PGD_SHIFT - 3) 365 unsigned long l1index = (address >> PGDIR_SHIFT) & ((PTRS_PER_PGD >> 3) - 1); in pgd_index() 381 (init_mm.pgd + (((addr) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)))
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | pgtable.h | 61 #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-2)) macro 62 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 73 #define PTRS_PER_PGD (1UL << (32-PGDIR_SHIFT)) 376 #define pgd_index(address) ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | pgtable.h | 149 #define PGDIR_SHIFT PMD_SHIFT macro 150 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 159 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) 164 #define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT) 481 #define pgd_index(address) ((address) >> PGDIR_SHIFT)
|