| /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)
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 50 #define PGDIR_SHIFT pgdir_shift macro 86 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) 99 #define GUARD_HOLE_SIZE (16UL << PGDIR_SHIFT) 100 #define GUARD_HOLE_BASE_ADDR (GUARD_HOLE_PGD_ENTRY << PGDIR_SHIFT) 104 #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
|
| H A D | pgtable_32_types.h | 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
| /linux/arch/loongarch/mm/ |
| H A D | tlbex.S | 72 PTR_BSTRPICK ra, t0, 31, PGDIR_SHIFT 74 PTR_BSTRPICK ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 235 PTR_BSTRPICK ra, t0, 31, PGDIR_SHIFT 237 PTR_BSTRPICK ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 423 PTR_BSTRPICK ra, t0, 31, PGDIR_SHIFT 425 PTR_BSTRPICK ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 601 srli.w t1, t1, PGDIR_SHIFT 608 slli.w t1, t1, (32 - PGDIR_SHIFT) 609 srli.w t1, t1, (32 - PGDIR_SHIFT + PAGE_SHIFT + 1)
|
| /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 | 17 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 45 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 46 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
| /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)
|
| H A D | pgtable-64.h | 19 #define PGDIR_SHIFT (pgtable_l5_enabled ? PGDIR_SHIFT_L5 : \ macro 22 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-2level.h | 15 #define PGDIR_SHIFT 22 macro 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
| H A D | pgtable-4level.h | 14 #define PGDIR_SHIFT 39 macro 15 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
| /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-3level.h | 33 #define PGDIR_SHIFT 30 macro 42 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 43 #define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1))
|
| /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)
|
| H A D | pgtable-2level.h | 19 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) macro
|
| /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)
|
| /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)
|
| /linux/arch/x86/kernel/ |
| H A D | head32.c | 45 *(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0}; in zap_early_initrd_mapping() 115 *(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2; in init_map()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 31 #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - PTRLOG)) macro 36 #define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT - PTRLOG)) macro 44 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT - PTRLOG)) macro 47 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 53 #define VA_BITS (PGDIR_SHIFT + (PAGE_SHIFT - PTRLOG))
|
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 158 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64() 166 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; in __startup_64()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 100 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 129 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 130 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
| /linux/arch/m68k/include/asm/ |
| H A D | sun3_pgalloc.h | 46 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT)); in pgd_alloc()
|
| H A D | mcf_pgalloc.h | 95 memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT); in pgd_alloc()
|
| /linux/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/include/asm-generic/ |
| H A D | pgtable-nop4d.h | 11 #define P4D_SHIFT PGDIR_SHIFT
|
| /linux/arch/mips/mm/ |
| H A D | tlbex.c | 783 uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3); in build_get_pmde64() 825 uasm_i_dsrl_safe(p, tmp, tmp, PGDIR_SHIFT - 3); in build_get_pmde64() 947 uasm_i_srl(p, tmp, tmp, PGDIR_SHIFT); /* get pgd only bits */ in build_get_pgde32() 1076 PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3); in build_fast_tlb_refill_handler() 1120 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler() 1132 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler() 1440 pgd_i = PGDIR_SHIFT; /* 1st level PGD */ in setup_pw() 1442 pgd_w = PGDIR_SHIFT - PMD_SHIFT + PGD_TABLE_ORDER; in setup_pw() 1447 pgd_w = PGDIR_SHIFT - PAGE_SHIFT + PGD_TABLE_ORDER; in setup_pw() 1486 PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3); in build_loongson3_tlb_refill_handler() [all …]
|