Searched refs:dst_ptep (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/arch/arm64/kernel/ |
D | hibernate.c | 334 static void _copy_pte(pte_t *dst_ptep, pte_t *src_ptep, unsigned long addr) in _copy_pte() argument 344 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte() 357 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte() 365 pte_t *dst_ptep; in copy_pte() local 368 dst_ptep = (pte_t *)get_safe_page(GFP_ATOMIC); in copy_pte() 369 if (!dst_ptep) in copy_pte() 371 pmd_populate_kernel(&init_mm, dst_pmdp, dst_ptep); in copy_pte() 372 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte() 376 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte() 377 } while (dst_ptep++, src_ptep++, addr += PAGE_SIZE, addr != end); in copy_pte()
|