/linux-6.12.1/arch/riscv/mm/ |
D | kasan_init.c | 128 if (p4d_none(p4dp_get(p4dp)) && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_populate_p4d() 129 (next - vaddr) >= P4D_SIZE) { in kasan_populate_p4d() 130 phys_addr = memblock_phys_alloc(P4D_SIZE, P4D_SIZE); in kasan_populate_p4d() 133 memset(__va(phys_addr), KASAN_SHADOW_INIT, P4D_SIZE); in kasan_populate_p4d() 206 if (pgtable_l4_enabled && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_early_clear_p4d() 207 (next - vaddr) >= P4D_SIZE) { in kasan_early_clear_p4d() 290 if (p4d_none(p4dp_get(p4dp)) && IS_ALIGNED(vaddr, P4D_SIZE) && in kasan_early_populate_p4d() 291 (next - vaddr) >= P4D_SIZE) { in kasan_early_populate_p4d()
|
D | tlbflush.c | 153 else if (stride_size >= P4D_SIZE) in flush_tlb_range() 154 stride_size = P4D_SIZE; in flush_tlb_range()
|
D | init.c | 616 if (sz == P4D_SIZE) { in create_p4d_mapping() 698 !(pa & (P4D_SIZE - 1)) && !(va & (P4D_SIZE - 1)) && size >= P4D_SIZE) in best_map_size() 699 return P4D_SIZE; in best_map_size() 820 P4D_SIZE, PAGE_TABLE); in set_satp_mode() 1173 (uintptr_t)fixmap_pud, P4D_SIZE, PAGE_TABLE); in setup_vm() 1185 (uintptr_t)trampoline_pud, P4D_SIZE, PAGE_TABLE); in setup_vm() 1728 free_vmemmap_storage(p4d_page(p4d), P4D_SIZE, altmap); in remove_p4d_mapping()
|
D | hugetlbpage.c | 135 return P4D_SIZE - PUD_SIZE; in hugetlb_mask_last_page() 234 else if (sz >= P4D_SIZE) in set_huge_pte_at()
|
D | pageattr.c | 196 if (next - vaddr >= P4D_SIZE && in __split_linear_mapping_p4d()
|
/linux-6.12.1/include/asm-generic/ |
D | pgtable-nop4d.h | 13 #define P4D_SIZE (1UL << P4D_SHIFT) macro 14 #define P4D_MASK (~(P4D_SIZE-1))
|
D | tlb.h | 644 if (_sz >= P4D_SIZE) \
|
/linux-6.12.1/arch/x86/include/asm/ |
D | pgtable_64_types.h | 65 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro 66 #define P4D_MASK (~(P4D_SIZE - 1))
|
D | pgtable_areas.h | 19 #define CPU_ENTRY_AREA_MAP_SIZE P4D_SIZE
|
/linux-6.12.1/mm/kasan/ |
D | init.c | 202 if (IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { in zero_p4d_populate() 447 if (IS_ALIGNED(addr, P4D_SIZE) && in kasan_remove_p4d_table() 448 IS_ALIGNED(next, P4D_SIZE)) { in kasan_remove_p4d_table()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable-64.h | 31 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro 32 #define P4D_MASK (~(P4D_SIZE - 1))
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 78 else if (sz < P4D_SIZE) in pte_update() 81 pdsize = P4D_SIZE; in pte_update()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | pgtable-hwdef.h | 67 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro 68 #define P4D_MASK (~(P4D_SIZE-1))
|
/linux-6.12.1/arch/powerpc/mm/ |
D | pgtable.c | 359 else if (sz < P4D_SIZE) in set_huge_pte_at() 362 pdsize = P4D_SIZE; in set_huge_pte_at()
|
D | hugetlbpage.c | 53 if (!mm_pud_folded(mm) && sz >= P4D_SIZE) in huge_pte_alloc()
|
/linux-6.12.1/arch/x86/mm/ |
D | mem_encrypt_identity.c | 271 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc() 282 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
|
D | ident_map.c | 157 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init()
|
D | kasan_init_64.c | 188 for (; start < end; start += P4D_SIZE) in clear_pgds()
|
/linux-6.12.1/arch/s390/boot/ |
D | vmem.c | 124 IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { in kasan_p4d_populate_zero_shadow()
|
/linux-6.12.1/mm/ |
D | page_vma_mapped.c | 221 step_forward(pvmw, P4D_SIZE); in page_vma_mapped_walk()
|
/linux-6.12.1/arch/arm64/mm/ |
D | kasan_init.c | 182 #define SHADOW_ALIGN P4D_SIZE
|
/linux-6.12.1/arch/arm/mm/ |
D | dump.c | 389 addr = start + i * P4D_SIZE; in walk_p4d()
|
/linux-6.12.1/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 443 addr = start + i * P4D_SIZE; in walk_p4d()
|
/linux-6.12.1/include/linux/ |
D | pgtable.h | 1204 ({ unsigned long __boundary = ((addr) + P4D_SIZE) & P4D_MASK; \ 1908 #define p4d_leaf_size(x) P4D_SIZE
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 925 if (!IS_ALIGNED(addr, P4D_SIZE) || in remove_pagetable() 926 !IS_ALIGNED(next, P4D_SIZE)) { in remove_pagetable()
|