Searched refs:dst_pte (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/mm/ |
D | userfaultfd.c | 63 pte_t _dst_pte, *dst_pte; in mfill_atomic_install_pte() local 83 dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); in mfill_atomic_install_pte() 96 if (!pte_none(*dst_pte)) in mfill_atomic_install_pte() 113 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_install_pte() 116 update_mmu_cache(dst_vma, dst_addr, dst_pte); in mfill_atomic_install_pte() 119 pte_unmap_unlock(dst_pte, ptl); in mfill_atomic_install_pte() 186 pte_t _dst_pte, *dst_pte; in mfill_zeropage_pte() local 194 dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); in mfill_zeropage_pte() 205 if (!pte_none(*dst_pte)) in mfill_zeropage_pte() 207 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_zeropage_pte() [all …]
|
D | hugetlb.c | 4273 pte_t *src_pte, *dst_pte, entry, dst_entry; in copy_hugetlb_page_range() local 4304 dst_pte = huge_pte_alloc(dst, vma, addr, sz); in copy_hugetlb_page_range() 4305 if (!dst_pte) { in copy_hugetlb_page_range() 4319 dst_entry = huge_ptep_get(dst_pte); in copy_hugetlb_page_range() 4320 if ((dst_pte == src_pte) || !huge_pte_none(dst_entry)) in copy_hugetlb_page_range() 4323 dst_ptl = huge_pte_lock(h, dst, dst_pte); in copy_hugetlb_page_range() 4327 dst_entry = huge_ptep_get(dst_pte); in copy_hugetlb_page_range() 4351 set_huge_swap_pte_at(dst, addr, dst_pte, entry, sz); in copy_hugetlb_page_range() 4384 dst_ptl = huge_pte_lock(h, dst, dst_pte); in copy_hugetlb_page_range() 4395 hugetlb_install_page(vma, dst_pte, addr, new); in copy_hugetlb_page_range() [all …]
|
D | memory.c | 772 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *dst_vma, in copy_nonpresent_pte() argument 859 set_pte_at(dst_mm, addr, dst_pte, pte); in copy_nonpresent_pte() 885 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_page() argument 927 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_page() 937 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_pte() argument 949 retval = copy_present_page(dst_vma, src_vma, dst_pte, src_pte, in copy_present_pte() 979 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_pte() 1010 pte_t *src_pte, *dst_pte; in copy_pte_range() local 1021 dst_pte = pte_alloc_map_lock(dst_mm, dst_pmd, addr, &dst_ptl); in copy_pte_range() 1022 if (!dst_pte) { in copy_pte_range() [all …]
|
/Linux-v5.15/include/linux/ |
D | hugetlb.h | 156 int hugetlb_mcopy_atomic_pte(struct mm_struct *dst_mm, pte_t *dst_pte, 337 pte_t *dst_pte, in hugetlb_mcopy_atomic_pte() argument
|