Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpgtable_64_types.h53 * PGDIR_SHIFT determines what a top-level page table entry can map
55 #define PGDIR_SHIFT pgdir_shift macro
72 * PGDIR_SHIFT determines what a top-level page table entry can map
74 #define PGDIR_SHIFT 39 macro
102 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
115 #define GUARD_HOLE_SIZE (16UL << PGDIR_SHIFT)
116 #define GUARD_HOLE_BASE_ADDR (GUARD_HOLE_PGD_ENTRY << PGDIR_SHIFT)
120 #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
H A Dpgtable-2level_types.h29 #define PGDIR_SHIFT 22 macro
41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
H A Dpgtable-3level_types.h28 * PGDIR_SHIFT determines what a top-level page table entry can map
30 #define PGDIR_SHIFT 30 macro
46 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
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)
H A Dpgtable-2level_types.h29 #define PGDIR_SHIFT 22 macro
41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> 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)
/kernel/linux/linux-5.10/arch/nds32/mm/
H A Dmm-nds32.c90 pmdval = (i << PGDIR_SHIFT); in setup_mm_for_reboot()
91 p4d = p4d_offset(pgd, i << PGDIR_SHIFT); in setup_mm_for_reboot()
92 pud = pud_offset(p4d, i << PGDIR_SHIFT); in setup_mm_for_reboot()
93 pmd = pmd_offset(pud + i, i << PGDIR_SHIFT); in setup_mm_for_reboot()
/kernel/linux/linux-5.10/arch/arc/include/asm/
H A Dpgtable.h179 * | | <------------ PGDIR_SHIFT ----------> |
191 * - PGDIR_SHIFT 21 -> 11:8:13 address split
192 * - PGDIR_SHIFT 24 -> 8:11:13 address split
194 * If Super Page is configured, PGDIR_SHIFT becomes fixed too,
199 #define PGDIR_SHIFT 24 macro
201 #define PGDIR_SHIFT 21 macro
207 #define PGDIR_SHIFT 21 macro
210 #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT)
211 #define BITS_FOR_PGD (32 - PGDIR_SHIFT)
213 #define PGDIR_SIZE BIT(PGDIR_SHIFT) /* vadd
[all...]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Dpgtable_mm.h44 /* PGDIR_SHIFT determines what a third-level page table entry can map */
46 #define PGDIR_SHIFT 17 macro
48 #define PGDIR_SHIFT 22 macro
50 #define PGDIR_SHIFT 25 macro
52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpgtable-32.h13 #define PGDIR_SHIFT 22 macro
14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
/kernel/linux/linux-6.6/arch/um/include/asm/
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)
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)
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dpgtable-hwdef.h66 * PGDIR_SHIFT determines the size a top-level page table entry can map
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))
281 #define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \
282 (UL(1) << (48 - PGDIR_SHIFT))) * 8)
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpgtable-32.h14 #define PGDIR_SHIFT 22 macro
15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dhugetlbpage.c117 unsigned pdshift = PGDIR_SHIFT; in huge_pte_alloc()
125 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
159 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc()
514 free_hugepd_range(tlb, (hugepd_t *)p4d, PGDIR_SHIFT, in hugetlb_free_pgd_range()
639 if (shift > PGDIR_SHIFT) in hugetlbpage_init()
642 pdshift = PGDIR_SHIFT; in hugetlbpage_init()
650 else if (shift < PGDIR_SHIFT) in hugetlbpage_init()
653 pdshift = PGDIR_SHIFT; in hugetlbpage_init()
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dhugetlbpage.c119 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()
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Dpgtable-3level.h16 #define PGDIR_SHIFT 30 macro
26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dpgtable-nommu.h28 * PGDIR_SHIFT determines what a third-level page table entry can map
30 #define PGDIR_SHIFT 21 macro
32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Dpgtable-3level.h16 #define PGDIR_SHIFT 30 macro
26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
/kernel/linux/linux-5.10/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)

Completed in 9 milliseconds

123456