Home
last modified time | relevance | path

Searched refs:PTRS_PER_PTE (Results 1 – 25 of 104) sorted by relevance

12345

/linux/arch/xtensa/mm/
A Dkasan_init.c25 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 Dmmu.c28 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 Dpgalloc.c165 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 Dpageattr.c72 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 Dpgtable.h77 #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 Dpgtable_mm.h60 #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 Dpgtable-2level.h70 #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 Dhighmem.c68 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 Dinit.c34 ((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 Dsubpage_prot.c120 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 Dhash_64k.c89 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 Dhash_4k.c58 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 Dhash_tlb.c83 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 Dsun3mmu.c71 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 Dmcfmmu.c66 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 Dpgtable-32.h90 # 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 Dpgtable-64.h137 #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 Dkasan_init.c23 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 Dinit_32.c180 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 Dpgtable-hwdef.h43 #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 Dhibernate_32.c111 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 Dmmu.rst93 | 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 Dpgtable-2level_types.h38 #define PTRS_PER_PTE 1024 macro
A Dpgtable-3level_types.h43 #define PTRS_PER_PTE 512 macro
/linux/arch/nds32/include/asm/
A Dhighmem.h29 #define LAST_PKMAP PTRS_PER_PTE

Completed in 56 milliseconds

12345