Home
last modified time | relevance | path

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

/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()
/arch/x86/power/
Dhibernate_32.c87 int pgd_idx, pmd_idx; in resume_physical_mapping_init() local
89 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()
/arch/x86/mm/
Dinit_32.c109 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() local
112 return one_md_table_init(swapper_pg_dir + pgd_idx) + pmd_idx; in populate_extra_pmd()
131 int pgd_idx, pmd_idx; in page_table_range_init_count() local
138 pgd_idx = pgd_index(vaddr); in page_table_range_init_count()
141 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd_idx++) { in page_table_range_init_count()
208 int pgd_idx, pmd_idx; in page_table_range_init() local
220 pgd_idx = pgd_index(vaddr); in page_table_range_init()
222 pgd = pgd_base + pgd_idx; in page_table_range_init()
224 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init()
259 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local
[all …]
/arch/x86/platform/efi/
Defi_64.c107 int pgd_idx; in efi_call_phys_epilog() local
118 for (pgd_idx = 0; pgd_idx < nr_pgds; pgd_idx++) in efi_call_phys_epilog()
119 set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]); in efi_call_phys_epilog()