Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dhibernate.c465 static void _copy_pte(pte_t *dst_ptep, pte_t *src_ptep, unsigned long addr) in _copy_pte() argument
475 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte()
488 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte()
496 pte_t *dst_ptep; in copy_pte() local
499 dst_ptep = (pte_t *)get_safe_page(GFP_ATOMIC); in copy_pte()
500 if (!dst_ptep) in copy_pte()
502 pmd_populate_kernel(&init_mm, dst_pmdp, dst_ptep); in copy_pte()
503 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte()
507 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte()
508 } while (dst_ptep++, src_ptep++, addr += PAGE_SIZE, addr != end); in copy_pte()