Lines Matching refs:p
44 void *p; in kasan_populate_pmd() local
49 p = early_alloc(PMD_SIZE, nid, false); in kasan_populate_pmd()
50 if (p && pmd_set_huge(pmd, __pa(p), PAGE_KERNEL)) in kasan_populate_pmd()
52 memblock_free(p, PMD_SIZE); in kasan_populate_pmd()
55 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pmd()
56 pmd_populate_kernel(&init_mm, pmd, p); in kasan_populate_pmd()
62 void *p; in kasan_populate_pmd() local
67 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pmd()
68 entry = pfn_pte(PFN_DOWN(__pa(p)), PAGE_KERNEL); in kasan_populate_pmd()
80 void *p; in kasan_populate_pud() local
85 p = early_alloc(PUD_SIZE, nid, false); in kasan_populate_pud()
86 if (p && pud_set_huge(pud, __pa(p), PAGE_KERNEL)) in kasan_populate_pud()
88 memblock_free(p, PUD_SIZE); in kasan_populate_pud()
91 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pud()
92 pud_populate(&init_mm, pud, p); in kasan_populate_pud()
110 void *p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_p4d() local
112 p4d_populate(&init_mm, p4d, p); in kasan_populate_p4d()
126 void *p; in kasan_populate_pgd() local
131 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pgd()
132 pgd_populate(&init_mm, pgd, p); in kasan_populate_pgd()
251 void *p; in kasan_shallow_populate_p4ds() local
258 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE, true); in kasan_shallow_populate_p4ds()
259 p4d_populate(&init_mm, p4d, p); in kasan_shallow_populate_p4ds()
268 void *p; in kasan_shallow_populate_pgds() local
276 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE, true); in kasan_shallow_populate_pgds()
277 pgd_populate(&init_mm, pgd, p); in kasan_shallow_populate_pgds()