Home
last modified time | relevance | path

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

/Linux-v5.4/include/asm-generic/
Dpgtable-nop4d.h14 #define P4D_SIZE (1UL << P4D_SHIFT) macro
15 #define P4D_MASK (~(P4D_SIZE-1))
D5level-fixup.h9 #define P4D_SIZE PGDIR_SIZE macro
Dpgtable.h536 ({ unsigned long __boundary = ((addr) + P4D_SIZE) & P4D_MASK; \
/Linux-v5.4/arch/s390/mm/
Dkasan_init.c122 IS_ALIGNED(address, P4D_SIZE) && in kasan_early_vmemmap_populate()
123 end - address >= P4D_SIZE) { in kasan_early_vmemmap_populate()
126 address = (address + P4D_SIZE) & P4D_MASK; in kasan_early_vmemmap_populate()
270 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, P4D_SIZE)); in kasan_early_init()
271 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, P4D_SIZE)); in kasan_early_init()
Ddump_pagetables.c232 addr += P4D_SIZE; in walk_p4d_level()
Dvmem.c174 address += P4D_SIZE; in vmem_remove_range()
/Linux-v5.4/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.4/lib/
Dioremap.c174 if ((end - addr) != P4D_SIZE) in ioremap_try_huge_p4d()
177 if (!IS_ALIGNED(addr, P4D_SIZE)) in ioremap_try_huge_p4d()
180 if (!IS_ALIGNED(phys_addr, P4D_SIZE)) in ioremap_try_huge_p4d()
/Linux-v5.4/mm/kasan/
Dinit.c191 if (IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE) { in zero_p4d_populate()
441 if (IS_ALIGNED(addr, P4D_SIZE) && in kasan_remove_p4d_table()
442 IS_ALIGNED(next, P4D_SIZE)) in kasan_remove_p4d_table()
/Linux-v5.4/arch/x86/mm/
Dident_map.c70 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.c191 for (; start < end; start += P4D_SIZE) in clear_pgds()
Dinit_64.c688 vaddr_next = (vaddr & P4D_MASK) + P4D_SIZE; in phys_p4d_init()
/Linux-v5.4/arch/x86/platform/efi/
Defi_64.c118 addr_p4d = addr_pgd + i * P4D_SIZE; in efi_call_phys_prolog()
177 pgd_idx * PGDIR_SIZE + i * P4D_SIZE); in efi_call_phys_epilog()
/Linux-v5.4/arch/x86/xen/
Dmmu_pv.c1190 xen_free_ro_pages(pa, P4D_SIZE); in xen_cleanmfnmap_p4d()
2071 n_pud = roundup(size, P4D_SIZE) >> P4D_SHIFT; in xen_relocate_p2m()
/Linux-v5.4/arch/s390/include/asm/
Dpgtable.h332 #define P4D_SIZE _REGION2_SIZE macro