Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/mm/
Dtrans_pgd.c34 static void _copy_pte(pte_t *dst_ptep, pte_t *src_ptep, unsigned long addr) in _copy_pte() argument
44 __set_pte(dst_ptep, pte_mkwrite_novma(pte)); in _copy_pte()
60 __set_pte(dst_ptep, pte_mkpresent(pte_mkwrite_novma(pte))); in _copy_pte()
68 pte_t *dst_ptep; in copy_pte() local
71 dst_ptep = trans_alloc(info); in copy_pte()
72 if (!dst_ptep) in copy_pte()
74 pmd_populate_kernel(NULL, dst_pmdp, dst_ptep); in copy_pte()
75 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte()
79 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte()
80 } while (dst_ptep++, src_ptep++, addr += PAGE_SIZE, addr != end); in copy_pte()
/linux-6.12.1/arch/riscv/kernel/
Dhibernate.c172 pte_t *dst_ptep; in temp_pgtable_map_pte() local
175 dst_ptep = (pte_t *)get_safe_page(GFP_ATOMIC); in temp_pgtable_map_pte()
176 if (!dst_ptep) in temp_pgtable_map_pte()
179 pmd_populate_kernel(NULL, dst_pmdp, dst_ptep); in temp_pgtable_map_pte()
182 dst_ptep = pte_offset_kernel(dst_pmdp, start); in temp_pgtable_map_pte()
189 set_pte(dst_ptep, __pte(pte_val(pte) | pgprot_val(prot))); in temp_pgtable_map_pte()
190 } while (dst_ptep++, src_ptep++, start += PAGE_SIZE, start < end); in temp_pgtable_map_pte()