Lines Matching refs:pmd
59 static pte_t *resume_one_page_table_init(pmd_t *pmd) in resume_one_page_table_init() argument
61 if (pmd_none(*pmd)) { in resume_one_page_table_init()
66 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in resume_one_page_table_init()
68 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in resume_one_page_table_init()
73 return pte_offset_kernel(pmd, 0); in resume_one_page_table_init()
85 pmd_t *pmd; in resume_physical_mapping_init() local
94 pmd = resume_one_md_table_init(pgd); in resume_physical_mapping_init()
95 if (!pmd) in resume_physical_mapping_init()
101 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
115 pte = resume_one_page_table_init(pmd); in resume_physical_mapping_init()
148 pmd_t *pmd; in set_up_temporary_text_mapping() local
153 pmd = resume_one_md_table_init(pgd); in set_up_temporary_text_mapping()
154 if (!pmd) in set_up_temporary_text_mapping()
158 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
161 pte = resume_one_page_table_init(pmd); in set_up_temporary_text_mapping()