/linux/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 60 #define PTRS_PER_PMD 1 macro 65 #define PTRS_PER_PMD 1 macro 69 #define PTRS_PER_PMD 128 macro
|
/linux/arch/x86/include/asm/ |
H A D | pgtable_32.h | 59 #if PTRS_PER_PMD > 1 60 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD)
|
H A D | pgtable-2level_types.h | 36 #define PTRS_PER_PMD 1 macro
|
H A D | pgtable-3level_types.h | 45 #define PTRS_PER_PMD 512 macro
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | hash_pgtable.c | 276 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_deposit() 294 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_withdraw() 360 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pmdp_huge_get_and_clear()
|
H A D | hugetlbpage.c | 84 offset = PTRS_PER_PMD; in __hash_page_huge()
|
/linux/arch/x86/mm/ |
H A D | pgtable.c | 327 sizeof(pmd_t) * PTRS_PER_PMD); 353 sizeof(pmd_t) * PTRS_PER_PMD); in pgd_prepopulate_user_pmd() 842 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page() 853 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page()
|
H A D | init_32.c | 142 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init_count() 225 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init() 304 for (; pmd_idx < PTRS_PER_PMD && pfn < end_pfn; in kernel_physical_mapping_init()
|
/linux/arch/sh/include/asm/ |
H A D | pgtable-3level.h | 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE) macro
|
/linux/arch/x86/platform/pvh/ |
H A D | head.S | 148 movl $PTRS_PER_PMD, %ecx 277 PMDS(0, __PAGE_KERNEL_IDENT_LARGE_EXEC, PTRS_PER_PMD)
|
/linux/arch/sh/mm/ |
H A D | pgtable.c | 29 PTRS_PER_PMD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/linux/arch/parisc/mm/ |
H A D | init.c | 43 pmd_t pmd0[PTRS_PER_PMD] __section(".data..vm0.pmd") __attribute__ ((aligned(PAGE_SIZE))); 367 /* for 2-level configuration PTRS_PER_PMD is 0 so start_pmd will be 0 */ in map_pages() 368 start_pmd = ((start_vaddr >> PMD_SHIFT) & (PTRS_PER_PMD - 1)); in map_pages() 387 for (tmp1 = start_pmd; tmp1 < PTRS_PER_PMD; tmp1++, pmd++) { in map_pages() 554 BUILD_BUG_ON(PT_INITIAL > PTRS_PER_PMD); in mem_init()
|
/linux/arch/m68k/mm/ |
H A D | init.c | 108 for (j = 0; j < PTRS_PER_PMD; j++) { in init_pointer_tables()
|
/linux/include/asm-generic/ |
H A D | pgtable-nopmd.h | 21 #define PTRS_PER_PMD 1 macro
|
/linux/arch/powerpc/include/asm/nohash/64/ |
H A D | pgtable-4k.h | 25 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
|
/linux/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 70 #define PTRS_PER_PMD (PAGE_SIZE / sizeof(pmd_t)) macro 249 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
|
/linux/arch/powerpc/mm/kasan/ |
H A D | init_book3s_64.c | 71 for (i = 0; i < PTRS_PER_PMD; i++) in kasan_init()
|
/linux/arch/sparc/include/asm/ |
H A D | pgtsrmmu.h | 21 #define SRMMU_PMD_TABLE_SIZE (PTRS_PER_PMD*4)
|
/linux/arch/mips/mm/ |
H A D | pgtable-64.c | 52 end = p + PTRS_PER_PMD; in pmd_init()
|
/linux/arch/arc/mm/ |
H A D | init.c | 191 BUILD_BUG_ON((PTRS_PER_PMD * sizeof(pmd_t)) > PAGE_SIZE); in mem_init()
|
/linux/arch/arm/mm/ |
H A D | idmap.c | 42 PTRS_PER_PMD * sizeof(pmd_t)); in idmap_add_pmd()
|
/linux/arch/riscv/mm/ |
H A D | pgtable.c | 97 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page()
|
/linux/arch/um/include/asm/ |
H A D | pgtable-4level.h | 39 #define PTRS_PER_PMD 512 macro
|
/linux/arch/x86/power/ |
H A D | hibernate_32.c | 101 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
|
/linux/arch/loongarch/mm/ |
H A D | pgtable.c | 77 end = p + PTRS_PER_PMD; in pmd_init()
|