Home
last modified time | relevance | path

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

/linux/mm/
A Duserfaultfd.c30 struct vm_area_struct *dst_vma; in find_dst_vma() local
33 if (!dst_vma) in find_dst_vma()
48 return dst_vma; in find_dst_vma()
84 if (vma_is_shmem(dst_vma)) { in mfill_atomic_install_pte()
194 if (dst_vma->vm_file) { in mfill_zeropage_pte()
323 if (!dst_vma) { in __mcopy_atomic_hugetlb()
326 if (!dst_vma || !is_vm_hugetlb_page(dst_vma)) in __mcopy_atomic_hugetlb()
398 dst_vma = NULL; in __mcopy_atomic_hugetlb()
528 if (!dst_vma) in __mcopy_atomic()
555 if (!vma_is_anonymous(dst_vma) && !vma_is_shmem(dst_vma)) in __mcopy_atomic()
[all …]
A Dmemory.c778 unsigned long vm_flags = dst_vma->vm_flags; in copy_nonpresent_pte()
860 if (!userfaultfd_wp(dst_vma)) in copy_nonpresent_pte()
927 if (userfaultfd_pte_wp(dst_vma, *src_pte)) in copy_present_page()
979 if (!userfaultfd_wp(dst_vma)) in copy_present_pte()
1010 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pte_range()
1054 dst_vma, src_vma, in copy_pte_range()
1134 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pmd_range()
1150 addr, dst_vma, src_vma); in copy_pmd_range()
1171 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pud_range()
1208 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_p4d_range()
[all …]
A Dhugetlb.c5737 struct vm_area_struct *dst_vma, in hugetlb_mcopy_atomic_pte() argument
5744 struct hstate *h = hstate_vma(dst_vma); in hugetlb_mcopy_atomic_pte()
5748 int vm_shared = dst_vma->vm_flags & VM_SHARED; in hugetlb_mcopy_atomic_pte()
5772 page = alloc_huge_page(dst_vma, dst_addr, 0); in hugetlb_mcopy_atomic_pte()
5794 page = alloc_huge_page_vma(h, dst_vma, dst_addr); in hugetlb_mcopy_atomic_pte()
5815 page = alloc_huge_page(dst_vma, dst_addr, 0); in hugetlb_mcopy_atomic_pte()
5877 hugepage_add_new_anon_rmap(page, dst_vma, dst_addr); in hugetlb_mcopy_atomic_pte()
5884 writable = dst_vma->vm_flags & VM_WRITE; in hugetlb_mcopy_atomic_pte()
5886 _dst_pte = make_huge_pte(dst_vma, page, writable); in hugetlb_mcopy_atomic_pte()
5894 dst_vma->vm_flags & VM_WRITE); in hugetlb_mcopy_atomic_pte()
[all …]
A Dhuge_memory.c1029 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma) in copy_huge_pmd() argument
1038 if (!vma_is_anonymous(dst_vma)) in copy_huge_pmd()
1070 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()
1122 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()
A Dshmem.c2345 struct vm_area_struct *dst_vma, in shmem_mfill_atomic_pte() argument
2351 struct inode *inode = file_inode(dst_vma->vm_file); in shmem_mfill_atomic_pte()
2355 pgoff_t pgoff = linear_page_index(dst_vma, dst_addr); in shmem_mfill_atomic_pte()
2418 ret = mfill_atomic_install_pte(dst_mm, dst_pmd, dst_vma, dst_addr, in shmem_mfill_atomic_pte()
/linux/include/linux/
A Dshmem_fs.h145 struct vm_area_struct *dst_vma,
151 #define shmem_mfill_atomic_pte(dst_mm, dst_pmd, dst_vma, dst_addr, \ argument
A Duserfaultfd_k.h57 struct vm_area_struct *dst_vma,
A Dhugetlb.h159 struct vm_area_struct *dst_vma,
354 struct vm_area_struct *dst_vma, in hugetlb_mcopy_atomic_pte() argument
A Dhuge_mm.h13 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
A Dmm.h1867 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);

Completed in 50 milliseconds