Lines Matching full:merge

136  * Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)
139 * We cannot merge two vmas if they have differently assigned (non-NULL)
146 * We assume the vma may be removed as part of the merge.
162 * Return true if we can merge this (vm_flags,anon_vma,file,vm_pgoff)
165 * We cannot merge two vmas if they have differently assigned (non-NULL)
168 * We assume that vma is not removed as part of the merge.
351 * In addition, if we can merge with the left VMA, ensure that left and right
365 * If we can merge with prev (left) and next (right), indicating that in can_vma_merge_right()
632 /* Actually perform the VMA merge operation. */
686 * vma_merge_existing_range - Attempt to merge VMAs based on a VMA having its
698 * this, as well as any VMAs shrunk/expanded/deleted as a result of this merge.
700 * As part of this operation, if a merge occurs, the @vmg object will have its
701 * vma, start, end, and pgoff fields modified to execute the merge. Subsequent
704 * Returns: The merged VMA if merge succeeds, or NULL otherwise.
772 else if (!merge_right) /* If we have nothing to merge, abort. */ in vma_merge_existing_range()
776 /* If we span the entire VMA, a merge implies it will be deleted. */ in vma_merge_existing_range()
781 * we have no sensible recourse but to abort the merge. in vma_merge_existing_range()
787 * If we merge both VMAs, then next is also deleted. This implies in vma_merge_existing_range()
922 * vma_merge_new_range - Attempt to merge a new VMA into address space
925 * (exclusive), which we try to merge with any adjacent VMAs if possible.
945 * VMAs do not have identical attributes - NO MERGE POSSIBLE.
947 * In instances where we can merge, this function returns the expanded VMA which
951 * Returns: In instances where no merge was possible, NULL. Otherwise, a pointer
987 /* If we can merge with the next VMA, adjust vmg accordingly. */ in vma_merge_new_range()
993 /* If we can merge with the previous VMA, adjust vmg accordingly. */ in vma_merge_new_range()
1000 * If this merge would result in removal of the next VMA but we in vma_merge_new_range()
1034 * vmg->next->vm_end. Checking if the vmg->vma can expand and merge with
1499 * As a result, we might be able to merge the newly modified VMA range with an
1502 * If no merge is possible and the range does not span the entirety of the VMA,
1513 /* First, try to merge. */ in vma_modify()
1745 * the merge to happen. mremap must change the in copy_vma()
1797 * we can merge the two vma's. For example, we refuse to merge a vma if
1819 * by another page fault trying to merge _that_. But that's ok: if it
1851 * anon_vmas being allocated, preventing vma merge in subsequent
2377 * call covers the non-merge case. in __mmap_new_vma()
2447 /* Attempt to merge with adjacent VMAs... */ in __mmap_region()
2461 /* If flags changed, we might be able to merge, so try again. */ in __mmap_region()