Lines Matching refs:p4dp
164 p4d_t *p4dp, *base_p4d; in kasan_populate_p4d() local
185 p4dp = base_p4d + p4d_index(vaddr); in kasan_populate_p4d()
190 if (p4d_none(*p4dp) && IS_ALIGNED(vaddr, P4D_SIZE) && (next - vaddr) >= P4D_SIZE) { in kasan_populate_p4d()
193 set_p4d(p4dp, pfn_p4d(PFN_DOWN(phys_addr), PAGE_TABLE)); in kasan_populate_p4d()
198 set_p4d(p4dp, pfn_p4d(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_p4d()
204 kasan_populate_pud((pgd_t *)p4dp, vaddr, next, early); in kasan_populate_p4d()
205 } while (p4dp++, vaddr = next, vaddr != end); in kasan_populate_p4d()
375 p4d_t *p4dp, *base_p4d; in kasan_shallow_populate_p4d() local
380 p4dp = base_p4d + p4d_index(vaddr); in kasan_shallow_populate_p4d()
384 is_kasan_pud = (p4d_pgtable(*p4dp) == lm_alias(kasan_early_shadow_pud)); in kasan_shallow_populate_p4d()
390 set_p4d(p4dp, pfn_p4d(PFN_DOWN(__pa(base_pud)), PAGE_TABLE)); in kasan_shallow_populate_p4d()
396 kasan_shallow_populate_pud((pgd_t *)p4dp, vaddr, next); in kasan_shallow_populate_p4d()
397 } while (p4dp++, vaddr = next, vaddr != end); in kasan_shallow_populate_p4d()