Lines Matching full:merge

85  * Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)
88 * We cannot merge two vmas if they have differently assigned (non-NULL)
95 * We assume the vma may be removed as part of the merge.
111 * Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)
114 * We cannot merge two vmas if they have differently assigned (non-NULL)
117 * We assume that vma is not removed as part of the merge.
300 * In addition, if we can merge with the left VMA, ensure that left and right
314 * If we can merge with prev (left) and next (right), indicating that in can_vma_merge_right()
577 /* Actually perform the VMA merge operation. */
631 * vma_merge_existing_range - Attempt to merge VMAs based on a VMA having its
643 * this, as well as any VMAs shrunk/expanded/deleted as a result of this merge.
645 * As part of this operation, if a merge occurs, the @vmg object will have its
646 * vma, start, end, and pgoff fields modified to execute the merge. Subsequent
649 * Returns: The merged VMA if merge succeeds, or NULL otherwise.
717 else if (!merge_right) /* If we have nothing to merge, abort. */ in vma_merge_existing_range()
721 /* If we span the entire VMA, a merge implies it will be deleted. */ in vma_merge_existing_range()
726 * we have no sensible recourse but to abort the merge. in vma_merge_existing_range()
732 * If we merge both VMAs, then next is also deleted. This implies in vma_merge_existing_range()
867 * vma_merge_new_range - Attempt to merge a new VMA into address space
870 * (exclusive), which we try to merge with any adjacent VMAs if possible.
890 * VMAs do not have identical attributes - NO MERGE POSSIBLE.
892 * In instances where we can merge, this function returns the expanded VMA which
896 * Returns: In instances where no merge was possible, NULL. Otherwise, a pointer
935 /* If we can merge with the next VMA, adjust vmg accordingly. */ in vma_merge_new_range()
942 /* If we can merge with the previous VMA, adjust vmg accordingly. */ in vma_merge_new_range()
949 * If this merge would result in removal of the next VMA but we in vma_merge_new_range()
973 /* If expansion failed, reset state. Allows us to retry merge later. */ in vma_merge_new_range()
993 * vmg->next->vm_end. Checking if the vmg->vma can expand and merge with
1408 * As a result, we might be able to merge the newly modified VMA range with an
1411 * If no merge is possible and the range does not span the entirety of the VMA,
1422 /* First, try to merge. */ in vma_modify()
1654 * the merge to happen. mremap must change the in copy_vma()
1706 * we can merge the two vma's. For example, we refuse to merge a vma if
1728 * by another page fault trying to merge _that_. But that's ok: if it
1760 * anon_vmas being allocated, preventing vma merge in subsequent