Home
last modified time | relevance | path

Searched refs:src_vma (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/mm/
Dmemory.c787 struct vm_area_struct *src_vma, unsigned long addr, int *rss) in copy_nonpresent_pte() argument
848 BUG_ON(page_try_dup_anon_rmap(page, false, src_vma)); in copy_nonpresent_pte()
873 VM_BUG_ON(!is_cow_mapping(src_vma->vm_flags)); in copy_nonpresent_pte()
874 if (try_restore_exclusive_pte(src_pte, src_vma, addr)) in copy_nonpresent_pte()
905 copy_present_page(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_page() argument
921 copy_user_highpage(new_page, page, addr, src_vma); in copy_present_page()
942 copy_present_pte(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_pte() argument
946 struct mm_struct *src_mm = src_vma->vm_mm; in copy_present_pte()
947 unsigned long vm_flags = src_vma->vm_flags; in copy_present_pte()
951 page = vm_normal_page(src_vma, addr, pte); in copy_present_pte()
[all …]
Dhugetlb.c4786 struct vm_area_struct *src_vma) in copy_hugetlb_page_range() argument
4791 bool cow = is_cow_mapping(src_vma->vm_flags); in copy_hugetlb_page_range()
4792 struct hstate *h = hstate_vma(src_vma); in copy_hugetlb_page_range()
4800 mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, src_vma, src, in copy_hugetlb_page_range()
4801 src_vma->vm_start, in copy_hugetlb_page_range()
4802 src_vma->vm_end); in copy_hugetlb_page_range()
4813 hugetlb_vma_lock_read(src_vma); in copy_hugetlb_page_range()
4817 for (addr = src_vma->vm_start; addr < src_vma->vm_end; addr += sz) { in copy_hugetlb_page_range()
4871 if (userfaultfd_wp(src_vma) && uffd_wp) in copy_hugetlb_page_range()
4903 src_vma)) { in copy_hugetlb_page_range()
[all …]
Dhuge_memory.c1077 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma) in copy_huge_pmd() argument
1149 if (unlikely(page_try_dup_anon_rmap(src_page, true, src_vma))) { in copy_huge_pmd()
1155 __split_huge_pmd(src_vma, src_pmd, addr, false, NULL); in copy_huge_pmd()
/Linux-v6.1/include/linux/
Dhuge_mm.h13 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
Dhugetlb.h294 struct vm_area_struct *src_vma) in copy_hugetlb_page_range() argument
Dmm.h1902 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);