/linux/arch/xtensa/mm/ |
A 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()
|
A 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()
|
/linux/arch/s390/mm/ |
A D | pgalloc.c | 165 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 166 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 200 table += PTRS_PER_PTE; in page_table_alloc() 224 memset64((u64 *)table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc() 225 memset64((u64 *)table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc() 229 memset64((u64 *)table, _PAGE_INVALID, 2 * PTRS_PER_PTE); in page_table_alloc() 245 bit = ((unsigned long) table & ~PAGE_MASK)/(PTRS_PER_PTE*sizeof(pte_t)); in page_table_free() 279 bit = ((unsigned long) table & ~PAGE_MASK) / (PTRS_PER_PTE*sizeof(pte_t)); in page_table_free_rcu() 331 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in base_pgt_alloc()
|
A D | pageattr.c | 72 mask = ~(PTRS_PER_PTE * sizeof(pte_t) - 1); in pgt_set() 129 for (i = 0; i < PTRS_PER_PTE; i++) { in split_pmd_page() 136 update_page_count(PG_DIRECT_MAP_4K, PTRS_PER_PTE); in split_pmd_page() 357 nr = PTRS_PER_PTE - (nr & (PTRS_PER_PTE - 1)); in __kernel_map_pages()
|
/linux/arch/hexagon/include/asm/ |
A 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
|
/linux/arch/m68k/include/asm/ |
A 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
|
/linux/arch/arm/include/asm/ |
A 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/arch/arc/mm/ |
A 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/arch/csky/mm/ |
A 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/arch/powerpc/mm/book3s64/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
/linux/arch/m68k/mm/ |
A 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()
|
A D | mcfmmu.c | 66 next_pgtable += PTRS_PER_PTE * sizeof(pte_t); in paging_init() 71 for (i = 0; i < PTRS_PER_PTE; ++i, ++pg_table) { in paging_init()
|
/linux/arch/mips/include/asm/ |
A 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 120 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
A D | pgtable-64.h | 137 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) macro 149 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 172 extern pte_t invalid_pte_table[PTRS_PER_PTE];
|
/linux/arch/riscv/mm/ |
A D | kasan_init.c | 23 for (i = 0; i < PTRS_PER_PTE; ++i) in kasan_early_init() 60 base_pte = memblock_alloc(PTRS_PER_PTE * sizeof(pte_t), PAGE_SIZE); in kasan_populate_pte() 198 for (i = 0; i < PTRS_PER_PTE; i++) in kasan_init()
|
/linux/arch/x86/mm/ |
A 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() 329 addr2 = (pfn + PTRS_PER_PTE-1) * PAGE_SIZE + in kernel_physical_mapping_init() 342 pfn += PTRS_PER_PTE; in kernel_physical_mapping_init() 349 for (; pte_ofs < PTRS_PER_PTE && pfn < end_pfn; in kernel_physical_mapping_init()
|
/linux/arch/arm64/include/asm/ |
A 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
|
/linux/arch/x86/power/ |
A 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/Documentation/xtensa/ |
A 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/arch/x86/include/asm/ |
A D | pgtable-2level_types.h | 38 #define PTRS_PER_PTE 1024 macro
|
A D | pgtable-3level_types.h | 43 #define PTRS_PER_PTE 512 macro
|
/linux/arch/nds32/include/asm/ |
A D | highmem.h | 29 #define LAST_PKMAP PTRS_PER_PTE
|