Searched refs:P4D_SIZE (Results 1 – 16 of 16) sorted by relevance
| /Linux-v5.4/include/asm-generic/ |
| D | pgtable-nop4d.h | 14 #define P4D_SIZE (1UL << P4D_SHIFT) macro 15 #define P4D_MASK (~(P4D_SIZE-1))
|
| D | 5level-fixup.h | 9 #define P4D_SIZE PGDIR_SIZE macro
|
| D | pgtable.h | 536 ({ unsigned long __boundary = ((addr) + P4D_SIZE) & P4D_MASK; \
|
| /Linux-v5.4/arch/s390/mm/ |
| D | kasan_init.c | 122 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()
|
| D | dump_pagetables.c | 232 addr += P4D_SIZE; in walk_p4d_level()
|
| D | vmem.c | 174 address += P4D_SIZE; in vmem_remove_range()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | pgtable_64_types.h | 64 #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) macro 65 #define P4D_MASK (~(P4D_SIZE - 1))
|
| /Linux-v5.4/lib/ |
| D | ioremap.c | 174 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/ |
| D | init.c | 191 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/ |
| D | ident_map.c | 70 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init()
|
| D | mem_encrypt_identity.c | 263 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()
|
| D | kasan_init_64.c | 191 for (; start < end; start += P4D_SIZE) in clear_pgds()
|
| D | init_64.c | 688 vaddr_next = (vaddr & P4D_MASK) + P4D_SIZE; in phys_p4d_init()
|
| /Linux-v5.4/arch/x86/platform/efi/ |
| D | efi_64.c | 118 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/ |
| D | mmu_pv.c | 1190 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/ |
| D | pgtable.h | 332 #define P4D_SIZE _REGION2_SIZE macro
|