Lines Matching refs:pgd_idx
109 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() local
112 return one_md_table_init(swapper_pg_dir + pgd_idx) + pmd_idx; in populate_extra_pmd()
131 int pgd_idx, pmd_idx; in page_table_range_init_count() local
138 pgd_idx = pgd_index(vaddr); in page_table_range_init_count()
141 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd_idx++) { in page_table_range_init_count()
206 int pgd_idx, pmd_idx; in page_table_range_init() local
218 pgd_idx = pgd_index(vaddr); in page_table_range_init()
220 pgd = pgd_base + pgd_idx; in page_table_range_init()
222 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()
258 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local
291 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
292 pgd = pgd_base + pgd_idx; in kernel_physical_mapping_init()
293 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in kernel_physical_mapping_init()