Searched refs:PGDIR_SHIFT (Results 1 - 25 of 67) sorted by relevance

123

/linux-master/arch/x86/include/asm/
H A Dpgtable-2level_types.h29 #define PGDIR_SHIFT 22 macro
41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
H A Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
H A Dpgtable-3level_types.h35 * 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 Dpgtable_64_types.h54 * 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 Dpgtable-32.h14 #define PGDIR_SHIFT 22 macro
15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
/linux-master/arch/sh/include/asm/
H A Dpgtable-2level.h19 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) macro
H A Dpgtable-3level.h16 #define PGDIR_SHIFT 30 macro
26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
/linux-master/arch/um/include/asm/
H A Dpgtable-2level.h13 /* 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 Dpgtable-3level.h12 /* 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 Dpgtable-nommu.h26 * 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 Dpgtable-2level.h82 * 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 Dpgtable-levels.h20 * | | <---------- 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 Dpgtable_mm.h42 /* 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 Dsun3_pgalloc.h48 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
/linux-master/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h39 /* 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 Dmmu-44x.h151 #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 Dpgtable.h17 #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 Dmem-layout.h54 #define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
/linux-master/arch/arm64/include/asm/
H A Dpgtable-hwdef.h73 * 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))
321 #define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \
322 (UL(1) << (48 - PGDIR_SHIFT))) * 8)
/linux-master/arch/powerpc/mm/
H A Dhugetlbpage.c119 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 Dpgtable-nop4d.h11 #define P4D_SHIFT PGDIR_SHIFT
/linux-master/arch/mips/include/asm/
H A Dpgtable-64.h43 /* 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/loongarch/include/asm/
H A Dkasan.h19 #define XRANGE_SHADOW_SHIFT (PGDIR_SHIFT + PAGE_SHIFT - 3)
/linux-master/arch/xtensa/include/asm/
H A Dpgtable.h49 #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 Dhead32.c45 *(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0};
115 *(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2;

Completed in 226 milliseconds

123