/linux-6.3-rc2/arch/m68k/include/asm/ |
A 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
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | pgtable_32.h | 59 #if PTRS_PER_PMD > 1 60 #define PAGE_TABLE_SIZE(pages) (((pages) / PTRS_PER_PMD) + PTRS_PER_PGD)
|
A D | pgtable-3level_types.h | 45 #define PTRS_PER_PMD 512 macro
|
A D | pgtable_64_types.h | 92 #define PTRS_PER_PMD 512 macro
|
/linux-6.3-rc2/arch/um/include/asm/ |
A D | pgtable-3level.h | 36 #define PTRS_PER_PMD 512 macro 39 #define PTRS_PER_PMD 1024 macro
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | head64.c | 48 extern pmd_t early_dynamic_pgts[EARLY_DYNAMIC_PAGE_TABLES][PTRS_PER_PMD]; 159 early_snp_set_memory_shared(__pa(vaddr), __pa(vaddr), PTRS_PER_PMD); in sme_postprocess_startup() 279 pmd[idx % PTRS_PER_PMD] = pmd_entry + i * PMD_SIZE; in __startup_64() 310 for (; i < PTRS_PER_PMD; i++) in __startup_64() 393 memset(pmd_p, 0, sizeof(*pmd_p) * PTRS_PER_PMD); in __early_make_pgtable()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | pgtable-64.h | 130 #define PTRS_PER_PMD ((PAGE_SIZE << PMD_TABLE_ORDER) / sizeof(pmd_t)) macro 144 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 234 extern pmd_t invalid_pmd_table[PTRS_PER_PMD];
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
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()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | mem_encrypt_identity.c | 143 memset(pmd, 0, sizeof(*pmd) * PTRS_PER_PMD); in sme_prepare_pgd() 144 ppd->pgtable_area += sizeof(*pmd) * PTRS_PER_PMD; in sme_prepare_pgd() 276 entries += (DIV_ROUND_UP(len, PUD_SIZE) + 1) * sizeof(pmd_t) * PTRS_PER_PMD; in sme_pgtable_calc() 287 tables += DIV_ROUND_UP(entries, PUD_SIZE) * sizeof(pmd_t) * PTRS_PER_PMD; in sme_pgtable_calc()
|
A D | pgtable.c | 310 sizeof(pmd_t) * PTRS_PER_PMD); in pgd_prepopulate_pmd() 336 sizeof(pmd_t) * PTRS_PER_PMD); in pgd_prepopulate_user_pmd() 821 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page() 832 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page()
|
A 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() 309 for (; pmd_idx < PTRS_PER_PMD && pfn < end_pfn; in kernel_physical_mapping_init()
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | pgtable-3level.h | 26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE) macro
|
/linux-6.3-rc2/arch/s390/mm/ |
A D | pageattr.c | 69 mask = ~(PTRS_PER_PMD * sizeof(pmd_t) - 1); in pgt_set() 210 for (i = 0; i < PTRS_PER_PMD; i++) { in split_pud_page() 217 update_page_count(PG_DIRECT_MAP_1M, PTRS_PER_PMD); in split_pud_page()
|
/linux-6.3-rc2/arch/sh/mm/ |
A D | pgtable.c | 27 PTRS_PER_PMD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/linux-6.3-rc2/arch/parisc/mm/ |
A D | init.c | 40 pmd_t pmd0[PTRS_PER_PMD] __section(".data..vm0.pmd") __attribute__ ((aligned(PAGE_SIZE))); 365 start_pmd = ((start_vaddr >> PMD_SHIFT) & (PTRS_PER_PMD - 1)); in map_pages() 386 for (tmp1 = start_pmd; tmp1 < PTRS_PER_PMD; tmp1++, pmd++) { in map_pages() 553 BUILD_BUG_ON(PT_INITIAL > PTRS_PER_PMD); in mem_init()
|
/linux-6.3-rc2/include/asm-generic/ |
A D | pgtable-nopmd.h | 21 #define PTRS_PER_PMD 1 macro
|
/linux-6.3-rc2/arch/m68k/mm/ |
A D | init.c | 111 for (j = 0; j < PTRS_PER_PMD; j++) { in init_pointer_tables()
|
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/64/ |
A D | pgtable-4k.h | 25 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
|
/linux-6.3-rc2/arch/riscv/mm/ |
A D | kasan_init.c | 65 base_pmd = memblock_alloc(PTRS_PER_PMD * sizeof(pmd_t), PAGE_SIZE); in kasan_populate_pmd() 69 base_pmd = memblock_alloc(PTRS_PER_PMD * sizeof(pmd_t), PAGE_SIZE); in kasan_populate_pmd() 276 for (i = 0; i < PTRS_PER_PMD; ++i) in kasan_early_init()
|
A D | pgtable.c | 43 for (i = 0; i < PTRS_PER_PMD; i++) { in pud_free_pmd_page()
|
/linux-6.3-rc2/arch/powerpc/mm/kasan/ |
A D | init_book3s_64.c | 71 for (i = 0; i < PTRS_PER_PMD; i++) in kasan_init()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | pgtable-64.h | 72 #define PTRS_PER_PMD (PAGE_SIZE / sizeof(pmd_t)) macro 213 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | pgtable.h | 52 #define PTRS_PER_PMD (PAGE_SIZE >> 3) macro 91 …min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, (1UL << cpu_vabits)) - … 163 extern pmd_t invalid_pmd_table[PTRS_PER_PMD];
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | pgtsrmmu.h | 21 #define SRMMU_PMD_TABLE_SIZE (PTRS_PER_PMD*4)
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | pgtable-64.c | 52 end = p + PTRS_PER_PMD; in pmd_init()
|