Lines Matching refs:pgd_idx
111 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() local
114 return one_md_table_init(swapper_pg_dir + pgd_idx) + pmd_idx; in populate_extra_pmd()
133 int pgd_idx, pmd_idx; in page_table_range_init_count() local
140 pgd_idx = pgd_index(vaddr); in page_table_range_init_count()
143 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd_idx++) { in page_table_range_init_count()
210 int pgd_idx, pmd_idx; in page_table_range_init() local
222 pgd_idx = pgd_index(vaddr); in page_table_range_init()
224 pgd = pgd_base + pgd_idx; in page_table_range_init()
226 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()
261 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local
294 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
295 pgd = pgd_base + pgd_idx; in kernel_physical_mapping_init()
296 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in kernel_physical_mapping_init()