Searched refs:pgd_idx (Results 1 – 3 of 3) sorted by relevance
89 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local91 pgd_idx = pgd_index(PAGE_OFFSET); in resume_physical_mapping_init()92 pgd = pgd_base + pgd_idx; in resume_physical_mapping_init()95 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init()
109 int pgd_idx; in page_table_range_init() local114 pgd_idx = pgd_index(vaddr); in page_table_range_init()115 pgd = pgd_base + pgd_idx; in page_table_range_init()117 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()
194 int pgd_idx, pmd_idx; in page_table_range_init() local201 pgd_idx = pgd_index(vaddr); in page_table_range_init()203 pgd = pgd_base + pgd_idx; in page_table_range_init()205 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()236 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local266 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()267 pgd = pgd_base + pgd_idx; in kernel_physical_mapping_init()268 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in kernel_physical_mapping_init()