Searched refs:dst_ptep (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | trans_pgd.c | 34 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() 58 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite_novma(pte))); in _copy_pte() 66 pte_t *dst_ptep; in copy_pte() local 69 dst_ptep = trans_alloc(info); in copy_pte() 70 if (!dst_ptep) in copy_pte() 72 pmd_populate_kernel(NULL, dst_pmdp, dst_ptep); in copy_pte() 73 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte() 77 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte() 78 } while (dst_ptep in copy_pte() [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | hibernate.c | 460 static void _copy_pte(pte_t *dst_ptep, pte_t *src_ptep, unsigned long addr) in _copy_pte() argument 470 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte() 483 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte() 491 pte_t *dst_ptep; in copy_pte() local 494 dst_ptep = (pte_t *)get_safe_page(GFP_ATOMIC); in copy_pte() 495 if (!dst_ptep) in copy_pte() 497 pmd_populate_kernel(&init_mm, dst_pmdp, dst_ptep); in copy_pte() 498 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte() 502 _copy_pte(dst_ptep, src_ptep, addr); in copy_pte() 503 } while (dst_ptep in copy_pte() [all...] |
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | hibernate.c | 172 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()
|
Completed in 3 milliseconds