Home
last modified time | relevance | path

Searched refs:resume_pg_dir (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/power/
H A Dhibernate_32.c19 pgd_t *resume_pg_dir; variable
175 resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC); in swsusp_arch_resume()
176 if (!resume_pg_dir) in swsusp_arch_resume()
179 resume_init_first_level_page_table(resume_pg_dir); in swsusp_arch_resume()
181 error = set_up_temporary_text_mapping(resume_pg_dir); in swsusp_arch_resume()
185 error = resume_physical_mapping_init(resume_pg_dir); in swsusp_arch_resume()
189 temp_pgt = __pa(resume_pg_dir); in swsusp_arch_resume()
/linux/arch/riscv/kernel/
H A Dhibernate.c32 static pgd_t *resume_pg_dir; variable
364 resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC); in swsusp_arch_resume()
365 if (!resume_pg_dir) in swsusp_arch_resume()
372 ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE | _PAGE_EXEC)); in swsusp_arch_resume()
394 ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE)); in swsusp_arch_resume()
398 hibernate_restore_image(resume_hdr.saved_satp, (PFN_DOWN(__pa(resume_pg_dir)) | satp_mode), in swsusp_arch_resume()