Lines Matching refs:vm_end

102 			return vma->vm_end - vma->vm_start;  in kobjsize()
433 BUG_ON(last->vm_end <= last->vm_start); in validate_nommu_regions()
434 BUG_ON(last->vm_top < last->vm_end); in validate_nommu_regions()
440 BUG_ON(region->vm_end <= region->vm_start); in validate_nommu_regions()
441 BUG_ON(region->vm_top < region->vm_end); in validate_nommu_regions()
594 vma_iter_clear(&vmi, vma->vm_start, vma->vm_end); in delete_vma_from_mm()
668 if (vma->vm_end != end) in find_vma_exact()
887 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_shared_file()
923 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_private()
956 region->vm_end = region->vm_start + len; in do_mmap_private()
960 vma->vm_end = region->vm_start + len; in do_mmap_private()
986 region->vm_end = vma->vm_end = 0; in do_mmap_private()
1090 rpglen = pregion->vm_end - pregion->vm_start; in do_mmap()
1112 vma->vm_end = start + len; in do_mmap()
1121 vma->vm_end = 0; in do_mmap()
1156 vma->vm_end = region->vm_end = addr + len; in do_mmap()
1179 region->vm_end - region->vm_start); in do_mmap()
1196 flush_icache_user_range(region->vm_start, region->vm_end); in do_mmap()
1339 region->vm_top = region->vm_end = new->vm_end = addr; in split_vma()
1354 vma->vm_region->vm_end = vma->vm_end = addr; in split_vma()
1393 vma_iter_clear(vmi, from, vma->vm_end); in vmi_shrink_vma()
1394 vma->vm_end = from; in vmi_shrink_vma()
1408 region->vm_top = region->vm_end = from; in vmi_shrink_vma()
1455 if (end == vma->vm_end) in do_munmap()
1462 if (start == vma->vm_start && end == vma->vm_end) in do_munmap()
1464 if (start < vma->vm_start || end > vma->vm_end) in do_munmap()
1468 if (end != vma->vm_end && offset_in_page(end)) in do_munmap()
1470 if (start != vma->vm_start && end != vma->vm_end) { in do_munmap()
1567 if (vma->vm_end != vma->vm_start + old_len) in do_mremap()
1573 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap()
1577 vma->vm_end = vma->vm_start + new_len; in do_mremap()
1613 unsigned long vm_len = vma->vm_end - vma->vm_start; in vm_iomap_memory()
1623 unsigned int size = vma->vm_end - vma->vm_start; in remap_vmalloc_range()
1629 vma->vm_end = vma->vm_start + size; in remap_vmalloc_range()
1663 if (addr + len >= vma->vm_end) in __access_remote_vm()
1664 len = vma->vm_end - addr; in __access_remote_vm()
1775 if (region->vm_end > region->vm_top) in nommu_shrink_inode_mappings()
1776 region->vm_end = region->vm_top; in nommu_shrink_inode_mappings()