Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Duserfaultfd.c64 pte_t _dst_pte, *dst_pte; in mfill_atomic_install_pte() local
95 dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); in mfill_atomic_install_pte()
113 if (!pte_none_mostly(*dst_pte)) in mfill_atomic_install_pte()
132 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_install_pte()
135 update_mmu_cache(dst_vma, dst_addr, dst_pte); in mfill_atomic_install_pte()
138 pte_unmap_unlock(dst_pte, ptl); in mfill_atomic_install_pte()
207 pte_t _dst_pte, *dst_pte; in mfill_zeropage_pte() local
215 dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); in mfill_zeropage_pte()
226 if (!pte_none(*dst_pte)) in mfill_zeropage_pte()
228 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_zeropage_pte()
[all …]
Dhugetlb.c4725 pte_t *src_pte, *dst_pte, entry, dst_entry; in copy_hugetlb_page_range() local
4758 dst_pte = huge_pte_alloc(dst, dst_vma, addr, sz); in copy_hugetlb_page_range()
4759 if (!dst_pte) { in copy_hugetlb_page_range()
4773 dst_entry = huge_ptep_get(dst_pte); in copy_hugetlb_page_range()
4774 if ((dst_pte == src_pte) || !huge_pte_none(dst_entry)) in copy_hugetlb_page_range()
4777 dst_ptl = huge_pte_lock(h, dst, dst_pte); in copy_hugetlb_page_range()
4781 dst_entry = huge_ptep_get(dst_pte); in copy_hugetlb_page_range()
4795 set_huge_pte_at(dst, addr, dst_pte, entry); in copy_hugetlb_page_range()
4815 set_huge_swap_pte_at(dst, addr, dst_pte, entry, sz); in copy_hugetlb_page_range()
4822 set_huge_pte_at(dst, addr, dst_pte, entry); in copy_hugetlb_page_range()
[all …]
Dmemory.c778 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *dst_vma, in copy_nonpresent_pte() argument
875 set_pte_at(dst_mm, addr, dst_pte, pte); in copy_nonpresent_pte()
880 set_pte_at(dst_mm, addr, dst_pte, pte); in copy_nonpresent_pte()
898 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_page() argument
925 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_page()
935 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_pte() argument
955 return copy_present_page(dst_vma, src_vma, dst_pte, src_pte, in copy_present_pte()
986 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_pte()
1017 pte_t *src_pte, *dst_pte; in copy_pte_range() local
1028 dst_pte = pte_alloc_map_lock(dst_mm, dst_pmd, addr, &dst_ptl); in copy_pte_range()
[all …]
/linux-5.19.10/include/linux/
Dhugetlb.h160 int hugetlb_mcopy_atomic_pte(struct mm_struct *dst_mm, pte_t *dst_pte,
360 pte_t *dst_pte, in hugetlb_mcopy_atomic_pte() argument