Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kernel/
Dhibernate.c342 static void _copy_pte(pte_t *dst_ptep, pte_t *src_ptep, unsigned long addr) in _copy_pte() argument
352 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte()
365 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte()
373 pte_t *dst_ptep; in copy_pte() local
376 dst_ptep = (pte_t *)get_safe_page(GFP_ATOMIC); in copy_pte()
377 if (!dst_ptep) in copy_pte()
379 pmd_populate_kernel(&init_mm, dst_pmdp, dst_ptep); in copy_pte()
380 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte()
384 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte()
385 } while (dst_ptep++, src_ptep++, addr += PAGE_SIZE, addr != end); in copy_pte()