Lines Matching refs:mpnt
658 struct vm_area_struct *mpnt, *tmp; in dup_mmap() local
695 mas_for_each(&mas, mpnt, ULONG_MAX) { in dup_mmap()
698 vma_start_write(mpnt); in dup_mmap()
699 if (mpnt->vm_flags & VM_DONTCOPY) { in dup_mmap()
700 __mas_set_range(&mas, mpnt->vm_start, mpnt->vm_end - 1); in dup_mmap()
706 vm_stat_account(mm, mpnt->vm_flags, -vma_pages(mpnt)); in dup_mmap()
718 if (mpnt->vm_flags & VM_ACCOUNT) { in dup_mmap()
719 unsigned long len = vma_pages(mpnt); in dup_mmap()
725 tmp = vm_area_dup(mpnt); in dup_mmap()
728 retval = vma_dup_policy(mpnt, tmp); in dup_mmap()
742 } else if (anon_vma_fork(tmp, mpnt)) in dup_mmap()
755 vma_interval_tree_insert_after(tmp, mpnt, in dup_mmap()
777 retval = copy_page_range(tmp, mpnt); in dup_mmap()
783 mpnt = mas_find(&mas, ULONG_MAX); in dup_mmap()
793 } else if (mpnt) { in dup_mmap()
801 mas_set_range(&mas, mpnt->vm_start, mpnt->vm_end - 1); in dup_mmap()