Lines Matching refs:vmg
1377 VMG_STATE(vmg, mm, &vmi, addr, end, vm_flags, pgoff); in mmap_region()
1379 vmg.file = file; in mmap_region()
1392 vmg.next = vms.next; in mmap_region()
1393 vmg.prev = vms.prev; in mmap_region()
1396 vmg.next = vma_iter_next_rewind(&vmi, &vmg.prev); in mmap_region()
1419 vmg.flags = vm_flags; in mmap_region()
1429 vma = vma_merge_new_range(&vmg); in mmap_region()
1476 if (unlikely(vm_flags != vma->vm_flags && vmg.prev)) { in mmap_region()
1477 vmg.flags = vma->vm_flags; in mmap_region()
1479 merge = vma_merge_new_range(&vmg); in mmap_region()
1586 unmap_region(&vmi.mas, vma, vmg.prev, vmg.next); in mmap_region()
1792 VMG_STATE(vmg, mm, vmi, addr, addr + len, flags, PHYS_PFN(addr)); in do_brk_flags()
1794 vmg.prev = vma; in do_brk_flags()
1796 vmg.merge_flags = VMG_FLAG_JUST_EXPAND; in do_brk_flags()
1798 if (vma_merge_new_range(&vmg)) in do_brk_flags()
1800 else if (vmg_nomem(&vmg)) in do_brk_flags()
2322 VMG_STATE(vmg, mm, &vmi, new_start, old_end, 0, vma->vm_pgoff); in relocate_vma_down()
2339 vmg.vma = vma; in relocate_vma_down()
2340 if (vma_expand(&vmg)) in relocate_vma_down()