Lines Matching refs:p4d
103 static void __init kasan_populate_p4d(p4d_t *p4d, unsigned long addr, in kasan_populate_p4d() argument
109 if (p4d_none(*p4d)) { in kasan_populate_p4d()
112 p4d_populate(&init_mm, p4d, p); in kasan_populate_p4d()
115 pud = pud_offset(p4d, addr); in kasan_populate_p4d()
127 p4d_t *p4d; in kasan_populate_pgd() local
135 p4d = p4d_offset(pgd, addr); in kasan_populate_pgd()
138 kasan_populate_p4d(p4d, addr, next, nid); in kasan_populate_pgd()
139 } while (p4d++, addr = next, addr != end); in kasan_populate_pgd()
194 unsigned long p4d; in early_p4d_offset() local
199 p4d = pgd_val(*pgd) & PTE_PFN_MASK; in early_p4d_offset()
200 p4d += __START_KERNEL_map - phys_base; in early_p4d_offset()
201 return (p4d_t *)p4d + p4d_index(addr); in early_p4d_offset()
209 p4d_t *p4d, p4d_entry; in kasan_early_p4d_populate() local
218 p4d = early_p4d_offset(pgd, addr); in kasan_early_p4d_populate()
222 if (!p4d_none(*p4d)) in kasan_early_p4d_populate()
227 set_p4d(p4d, p4d_entry); in kasan_early_p4d_populate()
228 } while (p4d++, addr = next, addr != end && p4d_none(*p4d)); in kasan_early_p4d_populate()
249 p4d_t *p4d; in kasan_shallow_populate_p4ds() local
253 p4d = p4d_offset(pgd, addr); in kasan_shallow_populate_p4ds()
257 if (p4d_none(*p4d)) { in kasan_shallow_populate_p4ds()
259 p4d_populate(&init_mm, p4d, p); in kasan_shallow_populate_p4ds()
261 } while (p4d++, addr = next, addr != end); in kasan_shallow_populate_p4ds()