Lines Matching refs:new_pgd
15 pgd_t *new_pgd, *init_pgd; in pgd_alloc() local
18 new_pgd = (pgd_t *) __get_free_pages(GFP_KERNEL, 0); in pgd_alloc()
19 if (!new_pgd) in pgd_alloc()
22 (*new_pgd) = 1; in pgd_alloc()
23 new_pgd++; in pgd_alloc()
25 new_pgd -= PTRS_PER_PGD; in pgd_alloc()
29 memcpy(new_pgd + FIRST_KERNEL_PGD_NR, init_pgd + FIRST_KERNEL_PGD_NR, in pgd_alloc()
32 cpu_dcache_wb_range((unsigned long)new_pgd, in pgd_alloc()
33 (unsigned long)new_pgd + in pgd_alloc()
35 inc_zone_page_state(virt_to_page((unsigned long *)new_pgd), in pgd_alloc()
38 return new_pgd; in pgd_alloc()