Lines Matching refs:vm_end
104 return vma->vm_end - vma->vm_start; in kobjsize()
443 BUG_ON(last->vm_end <= last->vm_start); in validate_nommu_regions()
444 BUG_ON(last->vm_top < last->vm_end); in validate_nommu_regions()
450 BUG_ON(region->vm_end <= region->vm_start); in validate_nommu_regions()
451 BUG_ON(region->vm_top < region->vm_end); in validate_nommu_regions()
599 } else if (vma->vm_end < pvma->vm_end) in add_vma_to_mm()
601 else if (vma->vm_end > pvma->vm_end) { in add_vma_to_mm()
691 if (vma->vm_end > addr) { in find_vma()
742 if (vma->vm_end == end) { in find_vma_exact()
960 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_shared_file()
993 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_private()
1025 region->vm_end = region->vm_start + len; in do_mmap_private()
1029 vma->vm_end = region->vm_start + len; in do_mmap_private()
1055 region->vm_end = vma->vm_end = 0; in do_mmap_private()
1154 rpglen = pregion->vm_end - pregion->vm_start; in do_mmap()
1176 vma->vm_end = start + len; in do_mmap()
1185 vma->vm_end = 0; in do_mmap()
1220 vma->vm_end = region->vm_end = addr + len; in do_mmap()
1243 region->vm_end - region->vm_start); in do_mmap()
1256 flush_icache_user_range(region->vm_start, region->vm_end); in do_mmap()
1386 region->vm_top = region->vm_end = new->vm_end = addr; in split_vma()
1402 vma->vm_region->vm_end = vma->vm_end = addr; in split_vma()
1427 vma->vm_end = from; in shrink_vma()
1440 region->vm_top = region->vm_end = from; in shrink_vma()
1486 if (end == vma->vm_end) in do_munmap()
1493 if (start == vma->vm_start && end == vma->vm_end) in do_munmap()
1495 if (start < vma->vm_start || end > vma->vm_end) in do_munmap()
1499 if (end != vma->vm_end && offset_in_page(end)) in do_munmap()
1501 if (start != vma->vm_start && end != vma->vm_end) { in do_munmap()
1590 if (vma->vm_end != vma->vm_start + old_len) in do_mremap()
1596 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap()
1600 vma->vm_end = vma->vm_start + new_len; in do_mremap()
1636 unsigned long vm_len = vma->vm_end - vma->vm_start; in vm_iomap_memory()
1646 unsigned int size = vma->vm_end - vma->vm_start; in remap_vmalloc_range()
1652 vma->vm_end = vma->vm_start + size; in remap_vmalloc_range()
1691 if (addr + len >= vma->vm_end) in __access_remote_vm()
1692 len = vma->vm_end - addr; in __access_remote_vm()
1803 if (region->vm_end > region->vm_top) in nommu_shrink_inode_mappings()
1804 region->vm_end = region->vm_top; in nommu_shrink_inode_mappings()