Searched refs:pgd_idx (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/unicore32/kernel/ |
D | hibernate.c | 79 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-v4.19/arch/x86/power/ |
D | hibernate_32.c | 90 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-v4.19/arch/x86/mm/ |
D | init_32.c | 111 int pgd_idx = pgd_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 140 pgd_idx = pgd_index(vaddr); in page_table_range_init_count() 143 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd_idx++) { in page_table_range_init_count() 210 int pgd_idx, pmd_idx; in page_table_range_init() local 222 pgd_idx = pgd_index(vaddr); in page_table_range_init() 224 pgd = pgd_base + pgd_idx; in page_table_range_init() 226 for ( ; (pgd_idx < PTRS_PER_PGD) && (vaddr != end); pgd++, pgd_idx++) { in page_table_range_init() 261 int pgd_idx, pmd_idx, pte_ofs; in kernel_physical_mapping_init() local [all …]
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | efi_64.c | 152 int pgd_idx, i; in efi_call_phys_epilog() local 165 for (pgd_idx = 0; pgd_idx < nr_pgds; pgd_idx++) { in efi_call_phys_epilog() 166 pgd = pgd_offset_k(pgd_idx * PGDIR_SIZE); in efi_call_phys_epilog() 167 set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]); in efi_call_phys_epilog() 174 pgd_idx * PGDIR_SIZE + i * P4D_SIZE); in efi_call_phys_epilog()
|