Home
last modified time | relevance | path

Searched refs:new_pgd (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/arm/mm/
Dmm-armo.c60 pgd_t *new_pgd, *init_pgd; in get_pgd_slow() local
64 new_pgd = alloc_pgd_table(GFP_KERNEL); in get_pgd_slow()
65 if (!new_pgd) in get_pgd_slow()
77 new_pmd = pmd_alloc(mm, new_pgd, 0); in get_pgd_slow()
95 memcpy(new_pgd + USER_PTRS_PER_PGD, init_pgd + USER_PTRS_PER_PGD, in get_pgd_slow()
101 cpu_memc_update_all(new_pgd); in get_pgd_slow()
102 return new_pgd; in get_pgd_slow()
108 free_pgd_slow(new_pgd); in get_pgd_slow()
113 free_pgd_slow(new_pgd); in get_pgd_slow()
Dmm-armv.c72 pgd_t *new_pgd, *init_pgd; in get_pgd_slow() local
76 new_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL, 2); in get_pgd_slow()
77 if (!new_pgd) in get_pgd_slow()
80 memzero(new_pgd, FIRST_KERNEL_PGD_NR * sizeof(pgd_t)); in get_pgd_slow()
97 new_pmd = pmd_alloc(mm, new_pgd, 0); in get_pgd_slow()
113 memcpy(new_pgd + FIRST_KERNEL_PGD_NR, init_pgd + FIRST_KERNEL_PGD_NR, in get_pgd_slow()
119 clean_cache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in get_pgd_slow()
121 return new_pgd; in get_pgd_slow()
127 free_pages((unsigned long)new_pgd, 2); in get_pgd_slow()
132 free_pages((unsigned long)new_pgd, 2); in get_pgd_slow()
/linux-2.4.37.9/include/asm-m68k/
Dsun3_pgalloc.h118 pgd_t *new_pgd; in pgd_alloc() local
120 new_pgd = (pgd_t *)get_free_page(GFP_KERNEL); in pgd_alloc()
121 memcpy(new_pgd, swapper_pg_dir, PAGE_SIZE); in pgd_alloc()
122 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT)); in pgd_alloc()
123 return new_pgd; in pgd_alloc()