Home
last modified time | relevance | path

Searched refs:PMD_SHIFT (Results 1 – 25 of 76) sorted by relevance

1234

/linux/arch/x86/include/asm/
A Dpage_types.h14 #define PMD_PAGE_SIZE (_AC(1, UL) << PMD_SHIFT)
29 #define HPAGE_SHIFT PMD_SHIFT
50 #define IOREMAP_MAX_ORDER (PMD_SHIFT)
A Dpgtable_64_types.h90 #define PMD_SHIFT 21 macro
98 #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
A Dpgtable_32_types.h12 # define PMD_SIZE (1UL << PMD_SHIFT)
A Dpgtable-3level_types.h37 #define PMD_SHIFT 21 macro
A Dboot.h16 # define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT
/linux/arch/powerpc/include/asm/nohash/64/
A Dpgtable-4k.h30 #define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro
31 #define PMD_SIZE (1UL << PMD_SHIFT)
35 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE)
/linux/arch/powerpc/mm/
A Dhugetlbpage.c142 else if (pshift > PMD_SHIFT) { in huge_pte_alloc()
146 pdshift = PMD_SHIFT; in huge_pte_alloc()
150 if (pshift == PMD_SHIFT) in huge_pte_alloc()
172 pdshift = PMD_SHIFT; in huge_pte_alloc()
184 if (IS_ENABLED(CONFIG_PPC_8xx) && pshift < PMD_SHIFT) in huge_pte_alloc()
398 free_hugepd_range(tlb, (hugepd_t *)pmd, PMD_SHIFT, in hugetlb_free_pmd_range()
631 else if (shift > PMD_SHIFT) in hugetlbpage_init()
634 pdshift = PMD_SHIFT; in hugetlbpage_init()
637 pdshift = PMD_SHIFT; in hugetlbpage_init()
/linux/arch/arm64/include/asm/
A Dkernel-pgtable.h94 #define SWAPPER_BLOCK_SHIFT PMD_SHIFT
100 #define SWAPPER_TABLE_SHIFT PMD_SHIFT
127 #define ARM64_MEMSTART_SHIFT PMD_SHIFT
A Dpgtable-hwdef.h49 #define PMD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(2) macro
50 #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
82 #define CONT_PMD_SHIFT (CONFIG_ARM64_CONT_PMD_SHIFT + PMD_SHIFT)
83 #define CONT_PMDS (1 << (CONT_PMD_SHIFT - PMD_SHIFT))
/linux/arch/arc/include/asm/
A Dpgtable-levels.h65 #define PMD_SHIFT 21 macro
81 #define PMD_SIZE BIT(PMD_SHIFT)
83 #define PTRS_PER_PMD BIT(PUD_SHIFT - PMD_SHIFT)
86 #define PTRS_PER_PTE BIT(PMD_SHIFT - PAGE_SHIFT)
/linux/arch/x86/mm/
A Dinit_32.c132 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_range_init_count()
133 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_range_init_count()
147 if ((vaddr >> PMD_SHIFT) >= pmd_idx_kmap_begin && in page_table_range_init_count()
148 (vaddr >> PMD_SHIFT) <= pmd_idx_kmap_end) in page_table_range_init_count()
169 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_kmap_check()
170 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_kmap_check()
173 && (vaddr >> PMD_SHIFT) >= pmd_idx_kmap_begin in page_table_kmap_check()
174 && (vaddr >> PMD_SHIFT) <= pmd_idx_kmap_end) { in page_table_kmap_check()
A Dioremap.c818 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
820 WARN_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
834 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_ioremap_init()
835 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in early_ioremap_init()
/linux/arch/mips/include/asm/
A Dpgtable-64.h49 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT + PTE_ORDER - 3)) macro
50 #define PMD_SIZE (1UL << PMD_SHIFT)
54 # define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3))
59 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3))
/linux/arch/arm/include/asm/
A Dpgtable-3level.h38 #define PMD_SHIFT 21 macro
40 #define PMD_SIZE (1UL << PMD_SHIFT)
41 #define PMD_MASK (~((1 << PMD_SHIFT) - 1))
57 #define HPAGE_SHIFT PMD_SHIFT
A Dpgtable-2level.h84 #define PMD_SHIFT 21 macro
87 #define PMD_SIZE (1UL << PMD_SHIFT)
/linux/arch/sh/include/asm/
A Dpgtable-3level.h22 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - PTE_MAGNITUDE)) macro
23 #define PMD_SIZE (1UL << PMD_SHIFT)
/linux/include/asm-generic/
A Dpgtable-nopmd.h20 #define PMD_SHIFT PUD_SHIFT macro
22 #define PMD_SIZE (1UL << PMD_SHIFT)
/linux/arch/riscv/include/asm/
A Dpgtable-64.h16 #define PMD_SHIFT 21 macro
18 #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
/linux/arch/m68k/include/asm/
A Dpgtable_mm.h39 #define PMD_SHIFT 18 macro
41 #define PMD_SIZE (1UL << PMD_SHIFT)
/linux/arch/um/include/asm/
A Dpgtable-3level.h26 #define PMD_SHIFT 21 macro
27 #define PMD_SIZE (1UL << PMD_SHIFT)
/linux/arch/sparc/include/asm/
A Dtsb.h176 sllx VADDR, 64 - (PMD_SHIFT + PMD_BITS), REG2; \
191 698: sllx VADDR, 64 - PMD_SHIFT, REG2; \
283 sllx VADDR, 64 - (PMD_SHIFT + PMD_BITS), REG2; \
288 sllx VADDR, 64 - PMD_SHIFT, REG2; \
/linux/arch/parisc/include/asm/
A Dpgtable.h136 #define PMD_SHIFT (PLD_SHIFT + BITS_PER_PTE) macro
137 #define PMD_SIZE (1UL << PMD_SHIFT)
169 #if (KERNEL_INITIAL_ORDER) >= (PMD_SHIFT)
170 # define PT_INITIAL (1 << (KERNEL_INITIAL_ORDER - PMD_SHIFT))
/linux/arch/ia64/include/asm/
A Dpgtable.h98 #define PMD_SHIFT (PAGE_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
99 #define PMD_SIZE (1UL << PMD_SHIFT)
110 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT))
124 #define PGDIR_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT))
/linux/arch/alpha/include/asm/
A Dpgtable.h32 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3)) macro
33 #define PMD_SIZE (1UL << PMD_SHIFT)
292 pmd_t *ret = pud_pgtable(*dir) + ((address >> PMD_SHIFT) & (PTRS_PER_PAGE - 1)); in pmd_offset()
/linux/arch/x86/mm/pat/
A Dcpa-test.c28 LPS = (1 << PMD_SHIFT),
30 LPS = (1 << PMD_SHIFT),

Completed in 36 milliseconds

1234