Searched refs:pgd_idx (Results 1 – 3 of 3) sorted by relevance
112 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() local115 return one_md_table_init(swapper_pg_dir + pgd_idx) + pmd_idx; in populate_extra_pmd()134 int pgd_idx, pmd_idx; in page_table_range_init_count() local141 pgd_idx = pgd_index(vaddr); in page_table_range_init_count()144 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd_idx++) { in page_table_range_init_count()211 int pgd_idx, pmd_idx; in page_table_range_init() local223 pgd_idx = pgd_index(vaddr); in page_table_range_init()225 pgd = pgd_base + pgd_idx; in page_table_range_init()227 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()267 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local[all …]
87 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local89 pgd_idx = pgd_index(PAGE_OFFSET); in resume_physical_mapping_init()90 pgd = pgd_base + pgd_idx; in resume_physical_mapping_init()93 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init()
388 uintptr_t pgd_idx = pgd_index(va); in create_pgd_mapping() local391 if (pgd_val(pgdp[pgd_idx]) == 0) in create_pgd_mapping()392 pgdp[pgd_idx] = pfn_pgd(PFN_DOWN(pa), prot); in create_pgd_mapping()396 if (pgd_val(pgdp[pgd_idx]) == 0) { in create_pgd_mapping()398 pgdp[pgd_idx] = pfn_pgd(PFN_DOWN(next_phys), PAGE_TABLE); in create_pgd_mapping()402 next_phys = PFN_PHYS(_pgd_pfn(pgdp[pgd_idx])); in create_pgd_mapping()