Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/mm/
Dkasan_init.c131 address = (address + P4D_SIZE) & P4D_MASK; in kasan_early_vmemmap_populate()
138 IS_ALIGNED(address, P4D_SIZE) && in kasan_early_vmemmap_populate()
139 end - address >= P4D_SIZE) { in kasan_early_vmemmap_populate()
142 address = (address + P4D_SIZE) & P4D_MASK; in kasan_early_vmemmap_populate()
308 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); in kasan_early_init()
309 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); in kasan_early_init()
Dvmem.c366 const unsigned long end = start + P4D_SIZE; in try_free_pud_table()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgtable-nop4d.h14 #define P4D_SIZE (1UL << P4D_SHIFT) macro
15 #define P4D_MASK (~(P4D_SIZE-1))
Dtlb.h570 if (_sz >= P4D_SIZE) \
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_64_types.h64 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro
65 #define P4D_MASK (~(P4D_SIZE - 1))
Dpgtable_areas.h19 #define CPU_ENTRY_AREA_MAP_SIZE P4D_SIZE
/kernel/linux/linux-5.10/mm/
Dioremap.c183 if ((end - addr) != P4D_SIZE) in ioremap_try_huge_p4d()
186 if (!IS_ALIGNED(addr, P4D_SIZE)) in ioremap_try_huge_p4d()
189 if (!IS_ALIGNED(phys_addr, P4D_SIZE)) in ioremap_try_huge_p4d()
Dpage_vma_mapped.c200 step_forward(pvmw, P4D_SIZE); in page_vma_mapped_walk()
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c191 if (IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { in zero_p4d_populate()
432 if (IS_ALIGNED(addr, P4D_SIZE) && in kasan_remove_p4d_table()
433 IS_ALIGNED(next, P4D_SIZE)) { in kasan_remove_p4d_table()
/kernel/linux/linux-5.10/arch/x86/mm/
Dident_map.c71 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init()
Dmem_encrypt_identity.c272 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
283 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
Dkasan_init_64.c190 for (; start < end; start += P4D_SIZE) in clear_pgds()
Dinit_64.c691 vaddr_next = (vaddr & P4D_MASK) + P4D_SIZE; in phys_p4d_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_pgtable.c891 if (!IS_ALIGNED(addr, P4D_SIZE) || in remove_pagetable()
892 !IS_ALIGNED(next, P4D_SIZE)) { in remove_pagetable()
/kernel/linux/linux-5.10/arch/arm/mm/
Ddump.c381 addr = start + i * P4D_SIZE; in walk_p4d()
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/
Dhashpagetable.c440 addr = start + i * P4D_SIZE; in walk_p4d()
/kernel/linux/linux-5.10/arch/ia64/mm/
Dinit.c401 end_address += P4D_SIZE; in vmemmap_find_next_valid_pfn()
/kernel/linux/linux-5.10/arch/um/kernel/
Dtlb.c396 last = ADD_ROUND(addr, P4D_SIZE); in flush_tlb_kernel_range_common()
/kernel/linux/linux-5.10/include/linux/
Dpgtable.h694 ({ unsigned long __boundary = ((addr) + P4D_SIZE) & P4D_MASK; \
/kernel/linux/linux-5.10/arch/x86/xen/
Dmmu_pv.c1094 xen_free_ro_pages(pa, P4D_SIZE); in xen_cleanmfnmap_p4d()
1871 n_pud = roundup(size, P4D_SIZE) >> P4D_SHIFT; in xen_relocate_p2m()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c1354 gpa = (gpa & P4D_MASK) + P4D_SIZE; in debugfs_radix_read()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h332 #define P4D_SIZE _REGION2_SIZE macro