Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dmemory.c773 struct vm_area_struct *src_vma, unsigned long addr, int *rss) in copy_nonpresent_pte() argument
852 VM_BUG_ON(!is_cow_mapping(src_vma->vm_flags)); in copy_nonpresent_pte()
853 if (try_restore_exclusive_pte(src_pte, src_vma, addr)) in copy_nonpresent_pte()
884 copy_present_page(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_page() argument
903 if (likely(!page_needs_cow_for_dma(src_vma, page))) in copy_present_page()
915 copy_user_highpage(new_page, page, addr, src_vma); in copy_present_page()
936 copy_present_pte(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_pte() argument
940 struct mm_struct *src_mm = src_vma->vm_mm; in copy_present_pte()
941 unsigned long vm_flags = src_vma->vm_flags; in copy_present_pte()
945 page = vm_normal_page(src_vma, addr, pte); in copy_present_pte()
[all …]
Dhuge_memory.c1029 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma) in copy_huge_pmd() argument
1107 if (unlikely(page_needs_cow_for_dma(src_vma, src_page))) { in copy_huge_pmd()
1111 __split_huge_pmd(src_vma, src_pmd, addr, false, NULL); in copy_huge_pmd()
/Linux-v5.15/include/linux/
Dhuge_mm.h13 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
Dmm.h1747 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);