Home
last modified time | relevance | path

Searched refs:PTRS_PER_PUD (Results 1 – 25 of 42) sorted by relevance

12

/linux/arch/x86/kernel/
H A Dhead64.c188 RIP_REL_REF(level3_kernel_pgt)[PTRS_PER_PUD - 2].pud += load_delta; in __startup_64()
189 RIP_REL_REF(level3_kernel_pgt)[PTRS_PER_PUD - 1].pud += load_delta; in __startup_64()
224 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
225 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
329 memset(pud_p, 0, sizeof(*pud_p) * PTRS_PER_PUD); in __early_make_pgtable()
H A Despfix_64.c65 static __page_aligned_bss pud_t espfix_pud_page[PTRS_PER_PUD]
/linux/arch/riscv/mm/
H A Dkasan_init.c27 static pud_t tmp_pud[PTRS_PER_PUD] __page_aligned_bss;
88 p = memblock_alloc(PTRS_PER_PUD * sizeof(pud_t), PAGE_SIZE); in kasan_populate_pud()
340 for (i = 0; i < PTRS_PER_PUD; ++i) in kasan_early_init()
477 memcpy(tmp_pud, ptr, sizeof(pud_t) * PTRS_PER_PUD); in create_tmp_mapping()
/linux/include/asm-generic/
H A Dpgtable-nopud.h19 #define PTRS_PER_PUD 1 macro
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
/linux/arch/riscv/include/asm/
H A Dpgtable-64.h60 #define PTRS_PER_PUD (PAGE_SIZE / sizeof(pud_t)) macro
338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
/linux/arch/powerpc/mm/kasan/
H A Dinit_book3s_64.c75 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_init()
H A Dinit_book3e_64.c100 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
/linux/arch/mips/mm/
H A Dpgtable-64.c76 end = p + PTRS_PER_PUD; in pud_init()
H A Dinit.c254 for ( ; (j < PTRS_PER_PUD) && (vaddr < end); pud++, j++) { in fixrange_init()
572 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
/linux/arch/arc/mm/
H A Dinit.c190 BUILD_BUG_ON((PTRS_PER_PUD * sizeof(pud_t)) > PAGE_SIZE); in mem_init()
/linux/arch/um/include/asm/
H A Dpgtable-4level.h40 #define PTRS_PER_PUD 512 macro
/linux/arch/loongarch/mm/
H A Dpgtable.c102 end = p + PTRS_PER_PUD; in pud_init()
H A Dinit.c245 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
/linux/arch/powerpc/mm/book3s64/
H A Dhugetlbpage.c82 offset = PTRS_PER_PUD; in __hash_page_huge()
H A Dhash_tlb.c67 offset = PTRS_PER_PUD; in hpte_need_flush()
/linux/arch/x86/xen/
H A Dxen-head.S157 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
H A Dmmu_pv.c105 static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss;
573 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk()
599 if (PTRS_PER_PUD > 1) in xen_p4d_walk()
1113 for (i = 0; i < PTRS_PER_PUD; i++) { in xen_cleanmfnmap_p4d()
1932 for (idx_pmd = 0; idx_pmd < min(n_pmd, PTRS_PER_PUD); in xen_relocate_p2m()
1963 n_pmd -= PTRS_PER_PUD; in xen_relocate_p2m()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT) macro
/linux/arch/csky/mm/
H A Dinit.c172 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in fixrange_init()
/linux/arch/x86/include/asm/
H A Dpgtable_64.h276 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
/linux/arch/x86/mm/
H A Dident_map.c37 for (i = 0; i < PTRS_PER_PUD; i++) { in free_pud()
/linux/arch/sh/mm/
H A Dinit.c191 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in page_table_range_init()
H A Dfault.c83 if (PTRS_PER_PUD != 1) in show_pte()
/linux/arch/arm64/include/asm/
H A Dpgtable-hwdef.h62 #define PTRS_PER_PUD (1 << (PAGE_SHIFT - 3)) macro

12