/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | kasan_init.c | 22 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_early_init() 59 ((n_pages + PTRS_PER_PTE) & -PTRS_PER_PTE) / PTRS_PER_PTE; in populate() 64 memblock_alloc(n_ptes * PTRS_PER_PTE * sizeof(pte_t), PAGE_SIZE); in populate() 74 for (i = 0, offset = 0; i < n_ptes; i++, offset += PTRS_PER_PTE) in populate() 116 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_init()
|
/kernel/linux/linux-5.10/arch/xtensa/mm/ |
D | kasan_init.c | 25 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_early_init() 40 unsigned long n_pmds = n_pages / PTRS_PER_PTE; in populate() 55 for (k = 0; k < PTRS_PER_PTE; ++k, ++j) { in populate() 68 for (i = 0; i < n_pmds ; ++i, pte += PTRS_PER_PTE) in populate() 93 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_init()
|
D | mmu.c | 28 n_pages = ALIGN(n_pages, PTRS_PER_PTE); in init_pmd() 41 for (i = 0; i < n_pages; i += PTRS_PER_PTE, ++pmd) { in init_pmd()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | pgalloc.c | 174 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 175 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 209 table += PTRS_PER_PTE; in page_table_alloc() 233 memset64((u64 *)table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc() 234 memset64((u64 *)table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc() 238 memset64((u64 *)table, _PAGE_INVALID, 2 * PTRS_PER_PTE); in page_table_alloc() 254 bit = (__pa(table) & ~PAGE_MASK)/(PTRS_PER_PTE*sizeof(pte_t)); in page_table_free() 290 bit = (__pa(table) & ~PAGE_MASK) / (PTRS_PER_PTE*sizeof(pte_t)); in page_table_free_rcu() 342 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in base_pgt_alloc()
|
D | pageattr.c | 71 mask = ~(PTRS_PER_PTE * sizeof(pte_t) - 1); in pgt_set() 126 for (i = 0; i < PTRS_PER_PTE; i++) { in split_pmd_page() 133 update_page_count(PG_DIRECT_MAP_4K, PTRS_PER_PTE); in split_pmd_page() 346 nr = PTRS_PER_PTE - (nr & (PTRS_PER_PTE - 1)); in __kernel_map_pages()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | pgtable_mm.h | 60 #define PTRS_PER_PTE 16 macro 65 #define PTRS_PER_PTE 512 macro 70 #define PTRS_PER_PTE 64 macro
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | pgtable.h | 77 #define PTRS_PER_PTE 1024 macro 81 #define PTRS_PER_PTE 256 macro 85 #define PTRS_PER_PTE 64 macro 89 #define PTRS_PER_PTE 16 macro 93 #define PTRS_PER_PTE 4 macro
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | pgtable-2level.h | 70 #define PTRS_PER_PTE 512 macro 74 #define PTE_HWTABLE_PTRS (PTRS_PER_PTE) 76 #define PTE_HWTABLE_SIZE (PTRS_PER_PTE * sizeof(u32))
|
D | highmem.h | 8 #define LAST_PKMAP PTRS_PER_PTE
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | highmem.c | 112 BUILD_BUG_ON(KM_TYPE_NR > PTRS_PER_PTE); in kmap_init() 115 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | sun3mmu.c | 71 next_pgtable += PTRS_PER_PTE * sizeof (pte_t); in paging_init() 77 for (i=0; i<PTRS_PER_PTE; ++i, ++pg_table) { in paging_init()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | subpage_prot.c | 120 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in subpage_prot_clear() 121 nw = PTRS_PER_PTE - i; in subpage_prot_clear() 267 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in SYSCALL_DEFINE3() 268 nw = PTRS_PER_PTE - i; in SYSCALL_DEFINE3()
|
D | hash_64k.c | 89 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_4K() 216 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K() 264 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_64K() 329 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE); in __hash_page_64K()
|
D | hash_4k.c | 58 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_4K() 120 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE); in __hash_page_4K()
|
D | hash_tlb.c | 83 offset = PTRS_PER_PTE; in hpte_need_flush() 242 for (pte = start_pte; pte < start_pte + PTRS_PER_PTE; pte++) { in flush_tlb_pmd_range()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable-32.h | 90 # define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t) / 2) macro 92 # define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) macro 121 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
D | pgtable-64.h | 137 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) macro 150 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 173 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | pgalloc.h | 87 return get_order(PTRS_PER_PTE * sizeof(pte_t)); in __get_order_pte() 109 memzero((void *)pte_pg, PTRS_PER_PTE * sizeof(pte_t)); in pte_alloc_one()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | pgtable-hwdef.h | 43 #define PTRS_PER_PTE (1 << (PAGE_SHIFT - 3)) macro 52 #define PTRS_PER_PMD PTRS_PER_PTE 62 #define PTRS_PER_PUD PTRS_PER_PTE
|
/kernel/linux/linux-5.10/arch/x86/power/ |
D | hibernate_32.c | 111 pfn += PTRS_PER_PTE; in resume_physical_mapping_init() 119 max_pte = pte + PTRS_PER_PTE; in resume_physical_mapping_init()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable-2level_types.h | 38 #define PTRS_PER_PTE 1024 macro
|
D | pgtable-3level_types.h | 43 #define PTRS_PER_PTE 512 macro
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | init_32.c | 180 for (i = 0; i < PTRS_PER_PTE; i++) in page_table_kmap_check() 194 && lastpte && lastpte + PTRS_PER_PTE != pte); in page_table_kmap_check() 333 addr2 = (pfn + PTRS_PER_PTE-1) * PAGE_SIZE + in kernel_physical_mapping_init() 346 pfn += PTRS_PER_PTE; in kernel_physical_mapping_init() 353 for (; pte_ofs < PTRS_PER_PTE && pfn < end_pfn; in kernel_physical_mapping_init()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | highmem.h | 30 #define LAST_PKMAP PTRS_PER_PTE
|
/kernel/linux/linux-5.10/Documentation/xtensa/ |
D | mmu.rst | 93 | KMAP area | PKMAP_BASE PTRS_PER_PTE * 136 | KMAP area | PKMAP_BASE PTRS_PER_PTE * 180 | KMAP area | PKMAP_BASE PTRS_PER_PTE *
|