/Linux-v6.6/arch/xtensa/mm/ |
D | kasan_init.c | 24 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_early_init() 38 unsigned long n_pmds = n_pages / PTRS_PER_PTE; in populate() 53 for (k = 0; k < PTRS_PER_PTE; ++k, ++j) { in populate() 66 for (i = 0; i < n_pmds ; ++i, pte += PTRS_PER_PTE) in populate() 91 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_init()
|
D | mmu.c | 30 n_pages = ALIGN(n_pages, PTRS_PER_PTE); in init_pmd() 43 for (i = 0; i < n_pages; i += PTRS_PER_PTE, ++pmd) { in init_pmd()
|
/Linux-v6.6/arch/s390/mm/ |
D | pgalloc.c | 149 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 150 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 270 table += PTRS_PER_PTE; in page_table_alloc() 295 memset64((u64 *)table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc() 296 memset64((u64 *)table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc() 300 memset64((u64 *)table, _PAGE_INVALID, 2 * PTRS_PER_PTE); in page_table_alloc() 339 bit = ((unsigned long) table & ~PAGE_MASK)/(PTRS_PER_PTE*sizeof(pte_t)); in page_table_free() 392 bit = ((unsigned long) table & ~PAGE_MASK) / (PTRS_PER_PTE*sizeof(pte_t)); in page_table_free_rcu() 477 memset64((u64 *)table, _PAGE_INVALID, PTRS_PER_PTE); in base_pgt_alloc()
|
D | pageattr.c | 74 mask = ~(PTRS_PER_PTE * sizeof(pte_t) - 1); in pgt_set() 139 for (i = 0; i < PTRS_PER_PTE; i++) { in split_pmd_page() 146 update_page_count(PG_DIRECT_MAP_4K, PTRS_PER_PTE); in split_pmd_page() 436 nr = PTRS_PER_PTE - (nr & (PTRS_PER_PTE - 1)); in __kernel_map_pages()
|
/Linux-v6.6/arch/hexagon/include/asm/ |
D | pgtable.h | 80 #define PTRS_PER_PTE 1024 macro 84 #define PTRS_PER_PTE 256 macro 88 #define PTRS_PER_PTE 64 macro 92 #define PTRS_PER_PTE 16 macro 96 #define PTRS_PER_PTE 4 macro
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | pgtable_mm.h | 58 #define PTRS_PER_PTE 16 macro 63 #define PTRS_PER_PTE 512 macro 68 #define PTRS_PER_PTE 64 macro
|
/Linux-v6.6/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))
|
/Linux-v6.6/arch/arc/mm/ |
D | highmem.c | 68 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init() 69 BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE); in kmap_init()
|
/Linux-v6.6/arch/powerpc/mm/book3s64/ |
D | subpage_prot.c | 122 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in subpage_prot_clear() 123 nw = PTRS_PER_PTE - i; in subpage_prot_clear() 261 i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in SYSCALL_DEFINE3() 262 nw = PTRS_PER_PTE - i; in SYSCALL_DEFINE3()
|
D | hash_64k.c | 91 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_4K() 218 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K() 269 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_64K() 334 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE); in __hash_page_64K()
|
D | hash_4k.c | 60 rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); in __hash_page_4K() 122 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() 244 for (pte = start_pte; pte < start_pte + PTRS_PER_PTE; pte++) { in flush_hash_table_pmd_range()
|
/Linux-v6.6/arch/csky/mm/ |
D | init.c | 34 ((PTRS_PER_PGD - USER_PTRS_PER_PGD) * PTRS_PER_PTE) 37 pte_t invalid_pte_table[PTRS_PER_PTE] __page_aligned_bss; 137 __pa(kernel_pte_tables + (PTRS_PER_PTE * (i - USER_PTRS_PER_PGD))); in mmu_init()
|
/Linux-v6.6/arch/powerpc/mm/kasan/ |
D | init_book3s_64.c | 67 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_init() 84 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_init()
|
D | init_book3e_64.c | 92 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_early_init() 120 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_init()
|
/Linux-v6.6/arch/mips/include/asm/ |
D | pgtable-32.h | 89 # define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t) / 2) macro 91 # define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t)) macro 119 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
D | pgtable-64.h | 132 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t)) macro 144 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 167 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
/Linux-v6.6/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()
|
/Linux-v6.6/arch/riscv/kvm/ |
D | tlb.c | 26 if (PTRS_PER_PTE < (gpsz >> order)) { in kvm_riscv_local_hfence_gvma_vmid_gpa() 54 if (PTRS_PER_PTE < (gpsz >> order)) { in kvm_riscv_local_hfence_gvma_gpa() 85 if (PTRS_PER_PTE < (gvsz >> order)) { in kvm_riscv_local_hfence_vvma_asid_gva() 125 if (PTRS_PER_PTE < (gvsz >> order)) { in kvm_riscv_local_hfence_vvma_gva()
|
/Linux-v6.6/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()
|
/Linux-v6.6/arch/x86/mm/ |
D | init_32.c | 177 for (i = 0; i < PTRS_PER_PTE; i++) in page_table_kmap_check() 189 && lastpte && lastpte + PTRS_PER_PTE != pte); in page_table_kmap_check() 324 addr2 = (pfn + PTRS_PER_PTE-1) * PAGE_SIZE + in kernel_physical_mapping_init() 337 pfn += PTRS_PER_PTE; in kernel_physical_mapping_init() 344 for (; pte_ofs < PTRS_PER_PTE && pfn < end_pfn; in kernel_physical_mapping_init()
|
/Linux-v6.6/arch/x86/include/asm/ |
D | pgtable-2level_types.h | 38 #define PTRS_PER_PTE 1024 macro
|
D | pgtable-3level_types.h | 50 #define PTRS_PER_PTE 512 macro
|
/Linux-v6.6/Documentation/arch/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 *
|
/Linux-v6.6/mm/ |
D | page_table_check.c | 239 for (i = 0; i < PTRS_PER_PTE; i++) { in __page_table_check_pte_clear_range() 244 pte_unmap(ptep - PTRS_PER_PTE); in __page_table_check_pte_clear_range()
|