Lines Matching refs:p

151 		void *p;  in vmemmap_pte_populate()  local
154 p = vmemmap_alloc_block_buf(PAGE_SIZE, node, altmap); in vmemmap_pte_populate()
155 if (!p) in vmemmap_pte_populate()
168 p = page_to_virt(reuse); in vmemmap_pte_populate()
170 entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL); in vmemmap_pte_populate()
178 void *p = vmemmap_alloc_block(size, node); in vmemmap_alloc_block_zero() local
180 if (!p) in vmemmap_alloc_block_zero()
182 memset(p, 0, size); in vmemmap_alloc_block_zero()
184 return p; in vmemmap_alloc_block_zero()
191 void *p = vmemmap_alloc_block_zero(PAGE_SIZE, node); in vmemmap_pmd_populate() local
192 if (!p) in vmemmap_pmd_populate()
194 pmd_populate_kernel(&init_mm, pmd, p); in vmemmap_pmd_populate()
207 void *p = vmemmap_alloc_block_zero(PAGE_SIZE, node); in vmemmap_pud_populate() local
208 if (!p) in vmemmap_pud_populate()
210 pmd_init(p); in vmemmap_pud_populate()
211 pud_populate(&init_mm, pud, p); in vmemmap_pud_populate()
224 void *p = vmemmap_alloc_block_zero(PAGE_SIZE, node); in vmemmap_p4d_populate() local
225 if (!p) in vmemmap_p4d_populate()
227 pud_init(p); in vmemmap_p4d_populate()
228 p4d_populate(&init_mm, p4d, p); in vmemmap_p4d_populate()
237 void *p = vmemmap_alloc_block_zero(PAGE_SIZE, node); in vmemmap_pgd_populate() local
238 if (!p) in vmemmap_pgd_populate()
240 pgd_populate(&init_mm, pgd, p); in vmemmap_pgd_populate()
298 void __weak __meminit vmemmap_set_pmd(pmd_t *pmd, void *p, int node, in vmemmap_set_pmd() argument
336 void *p; in vmemmap_populate_hugepages() local
338 p = vmemmap_alloc_block_buf(PMD_SIZE, node, altmap); in vmemmap_populate_hugepages()
339 if (p) { in vmemmap_populate_hugepages()
340 vmemmap_set_pmd(pmd, p, node, addr, next); in vmemmap_populate_hugepages()