Home
last modified time | relevance | path

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

/linux-2.6.39/arch/unicore32/kernel/
Dhibernate.c79 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local
81 pgd_idx = pgd_index(PAGE_OFFSET); in resume_physical_mapping_init()
82 pgd = pgd_base + pgd_idx; in resume_physical_mapping_init()
85 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init()
/linux-2.6.39/arch/x86/power/
Dhibernate_32.c90 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local
92 pgd_idx = pgd_index(PAGE_OFFSET); in resume_physical_mapping_init()
93 pgd = pgd_base + pgd_idx; in resume_physical_mapping_init()
96 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init()
/linux-2.6.39/arch/x86/mm/
Dinit_32.c135 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() local
138 return one_md_table_init(swapper_pg_dir + pgd_idx) + pmd_idx; in populate_extra_pmd()
203 int pgd_idx, pmd_idx; in page_table_range_init() local
210 pgd_idx = pgd_index(vaddr); in page_table_range_init()
212 pgd = pgd_base + pgd_idx; in page_table_range_init()
214 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()
249 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local
282 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
283 pgd = pgd_base + pgd_idx; in kernel_physical_mapping_init()
284 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in kernel_physical_mapping_init()
/linux-2.6.39/arch/tile/mm/
Dinit.c177 int pgd_idx; in page_table_range_init() local
181 pgd_idx = pgd_index(vaddr); in page_table_range_init()
182 pgd = pgd_base + pgd_idx; in page_table_range_init()
184 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()