/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | kasan_init.c | 27 for (i = 0; i < PTRS_PER_PMD; ++i) in kasan_early_init() 62 ((n_ptes + PTRS_PER_PMD) & -PTRS_PER_PMD) / PTRS_PER_PMD; in populate() 67 memblock_alloc(n_pmds * PTRS_PER_PMD * sizeof(pmd_t), PAGE_SIZE); in populate() 80 for (i = 0, offset = 0; i < n_pmds; i++, offset += PTRS_PER_PMD) in populate()
|
D | init.c | 297 pmd_t trampoline_pmd[PTRS_PER_PMD] __page_aligned_bss; 298 pmd_t fixmap_pmd[PTRS_PER_PMD] __page_aligned_bss; 299 pmd_t early_pmd[PTRS_PER_PMD] __initdata __aligned(PAGE_SIZE); 300 pmd_t early_dtb_pmd[PTRS_PER_PMD] __initdata __aligned(PAGE_SIZE);
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | pgtable_mm.h | 62 #define PTRS_PER_PMD 1 macro 67 #define PTRS_PER_PMD 1 macro 71 #define PTRS_PER_PMD 128 macro
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable_32.h | 74 #if PTRS_PER_PMD > 1 75 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD)
|
D | pgtable-3level_types.h | 38 #define PTRS_PER_PMD 512 macro
|
D | pgtable_64_types.h | 91 #define PTRS_PER_PMD 512 macro
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | pgtable-3level.h | 36 #define PTRS_PER_PMD 512 macro 39 #define PTRS_PER_PMD 1024 macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable-64.h | 135 #define PTRS_PER_PMD ((PAGE_SIZE << PMD_ORDER) / sizeof(pmd_t)) macro 150 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 240 extern pmd_t invalid_pmd_table[PTRS_PER_PMD];
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_pgtable.c | 275 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_deposit() 293 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pgtable_trans_huge_withdraw() 359 pgtable_slot = (pgtable_t *)pmdp + PTRS_PER_PMD; in hash__pmdp_huge_get_and_clear()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | head64.c | 48 extern pmd_t early_dynamic_pgts[EARLY_DYNAMIC_PAGE_TABLES][PTRS_PER_PMD]; 240 pmd[idx % PTRS_PER_PMD] = pmd_entry + i * PMD_SIZE; in __startup_64() 271 for (; i < PTRS_PER_PMD; i++) in __startup_64() 385 memset(pmd_p, 0, sizeof(*pmd_p) * PTRS_PER_PMD); in __early_make_pgtable()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mem_encrypt_identity.c | 140 memset(pmd, 0, sizeof(*pmd) * PTRS_PER_PMD); in sme_prepare_pgd() 141 ppd->pgtable_area += sizeof(*pmd) * PTRS_PER_PMD; in sme_prepare_pgd() 273 entries += (DIV_ROUND_UP(len, PUD_SIZE) + 1) * sizeof(pmd_t) * PTRS_PER_PMD; in sme_pgtable_calc() 284 tables += DIV_ROUND_UP(entries, PUD_SIZE) * sizeof(pmd_t) * PTRS_PER_PMD; in sme_pgtable_calc()
|
D | pgtable.c | 313 sizeof(pmd_t) * PTRS_PER_PMD); in pgd_prepopulate_pmd() 339 sizeof(pmd_t) * PTRS_PER_PMD); in pgd_prepopulate_user_pmd() 813 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page() 824 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page()
|
D | init_32.c | 145 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init_count() 230 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init() 313 for (; pmd_idx < PTRS_PER_PMD && pfn < end_pfn; in kernel_physical_mapping_init()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | pageattr.c | 68 mask = ~(PTRS_PER_PMD * sizeof(pmd_t) - 1); in pgt_set() 203 for (i = 0; i < PTRS_PER_PMD; i++) { in split_pud_page() 210 update_page_count(PG_DIRECT_MAP_1M, PTRS_PER_PMD); in split_pud_page()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | pgtable-3level.h | 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE) macro
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
D | pgtable.c | 27 PTRS_PER_PMD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | pgtable-nopmd.h | 21 #define PTRS_PER_PMD 1 macro
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | pgtable-64.h | 29 #define PTRS_PER_PMD (PAGE_SIZE / sizeof(pmd_t)) macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/ |
D | pgtable-4k.h | 25 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | init.c | 137 for (j = 0; j < PTRS_PER_PMD; j++) { in init_pointer_tables()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | pgtsrmmu.h | 21 #define SRMMU_PMD_TABLE_SIZE (PTRS_PER_PMD*4)
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | pgtable-64.c | 51 end = p + PTRS_PER_PMD; in pmd_init()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | pgtable-2level.h | 71 #define PTRS_PER_PMD 1 macro
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | idmap.c | 42 PTRS_PER_PMD * sizeof(pmd_t)); in idmap_add_pmd()
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | init.c | 45 pmd_t pmd0[PTRS_PER_PMD] __section(".data..vm0.pmd") __attribute__ ((aligned(PAGE_SIZE))); 374 start_pmd = ((start_vaddr >> PMD_SHIFT) & (PTRS_PER_PMD - 1)); in map_pages() 395 for (tmp1 = start_pmd; tmp1 < PTRS_PER_PMD; tmp1++, pmd++) { in map_pages()
|