Lines Matching refs:pmd_idx
112 int pmd_idx = pmd_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
141 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()
144 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init_count()
145 pmd_idx++) { in page_table_range_init_count()
151 pmd_idx = 0; in page_table_range_init_count()
210 int pgd_idx, pmd_idx; in page_table_range_init() local
223 pmd_idx = pmd_index(vaddr); in page_table_range_init()
229 for (; (pmd_idx < PTRS_PER_PMD) && (vaddr != end); in page_table_range_init()
230 pmd++, pmd_idx++) { in page_table_range_init()
236 pmd_idx = 0; in page_table_range_init()
261 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local
302 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
303 pmd += pmd_idx; in kernel_physical_mapping_init()
305 pmd_idx = 0; in kernel_physical_mapping_init()
307 for (; pmd_idx < PTRS_PER_PMD && pfn < end_pfn; in kernel_physical_mapping_init()
308 pmd++, pmd_idx++) { in kernel_physical_mapping_init()