Home
last modified time | relevance | path

Searched refs:pgd_idx (Results 1 – 3 of 3) sorted by relevance

/arch/x86/power/
Dhibernate_32.c89 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local
91 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()
/arch/sh/mm/
Dinit.c109 int pgd_idx; in page_table_range_init() local
114 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()
/arch/x86/mm/
Dinit_32.c194 int pgd_idx, pmd_idx; in page_table_range_init() local
201 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() local
266 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()