Home
last modified time | relevance | path

Searched refs:P4D_SIZE (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/arch/s390/mm/
Dkasan_init.c129 address = (address + P4D_SIZE) & P4D_MASK; in kasan_early_pgtable_populate()
136 IS_ALIGNED(address, P4D_SIZE) && in kasan_early_pgtable_populate()
137 end - address >= P4D_SIZE) { in kasan_early_pgtable_populate()
140 address = (address + P4D_SIZE) & P4D_MASK; in kasan_early_pgtable_populate()
285 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); in kasan_early_init()
286 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); in kasan_early_init()
Dvmem.c367 const unsigned long end = start + P4D_SIZE; in try_free_pud_table()
/Linux-v5.15/include/asm-generic/
Dpgtable-nop4d.h13 #define P4D_SIZE (1UL << P4D_SHIFT) macro
14 #define P4D_MASK (~(P4D_SIZE-1))
/Linux-v5.15/arch/x86/include/asm/
Dpgtable_64_types.h64 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro
65 #define P4D_MASK (~(P4D_SIZE - 1))
/Linux-v5.15/mm/kasan/
Dinit.c187 if (IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { in zero_p4d_populate()
428 if (IS_ALIGNED(addr, P4D_SIZE) && in kasan_remove_p4d_table()
429 IS_ALIGNED(next, P4D_SIZE)) { in kasan_remove_p4d_table()
/Linux-v5.15/arch/x86/mm/
Dident_map.c71 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init()
Dmem_encrypt_identity.c263 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
274 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
Dkasan_init_64.c188 for (; start < end; start += P4D_SIZE) in clear_pgds()
Dinit_64.c692 vaddr_next = (vaddr & P4D_MASK) + P4D_SIZE; in phys_p4d_init()
/Linux-v5.15/mm/
Dpage_vma_mapped.c204 step_forward(pvmw, P4D_SIZE); in page_vma_mapped_walk()
Dvmalloc.c244 if ((end - addr) != P4D_SIZE) in vmap_try_huge_p4d()
247 if (!IS_ALIGNED(addr, P4D_SIZE)) in vmap_try_huge_p4d()
250 if (!IS_ALIGNED(phys_addr, P4D_SIZE)) in vmap_try_huge_p4d()
/Linux-v5.15/arch/powerpc/mm/book3s64/
Dradix_pgtable.c848 if (!IS_ALIGNED(addr, P4D_SIZE) || in remove_pagetable()
849 !IS_ALIGNED(next, P4D_SIZE)) { in remove_pagetable()
/Linux-v5.15/include/linux/
Dpgtable.h766 ({ unsigned long __boundary = ((addr) + P4D_SIZE) & P4D_MASK; \
1601 #define p4d_leaf_size(x) P4D_SIZE
/Linux-v5.15/arch/arm/mm/
Ddump.c385 addr = start + i * P4D_SIZE; in walk_p4d()
/Linux-v5.15/arch/powerpc/mm/ptdump/
Dhashpagetable.c440 addr = start + i * P4D_SIZE; in walk_p4d()
/Linux-v5.15/arch/um/kernel/
Dtlb.c384 last = ADD_ROUND(addr, P4D_SIZE); in flush_tlb_kernel_range_common()
/Linux-v5.15/arch/x86/xen/
Dmmu_pv.c1094 xen_free_ro_pages(pa, P4D_SIZE); in xen_cleanmfnmap_p4d()
1873 n_pud = roundup(size, P4D_SIZE) >> P4D_SHIFT; in xen_relocate_p2m()
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c1371 gpa = (gpa & P4D_MASK) + P4D_SIZE; in debugfs_radix_read()
/Linux-v5.15/arch/s390/include/asm/
Dpgtable.h332 #define P4D_SIZE _REGION2_SIZE macro