• Home
  • Raw
  • Download

Lines Matching refs:vm_start

104 			return vma->vm_end - vma->vm_start;  in kobjsize()
443 BUG_ON(last->vm_end <= last->vm_start); in validate_nommu_regions()
450 BUG_ON(region->vm_end <= region->vm_start); in validate_nommu_regions()
452 BUG_ON(region->vm_start < last->vm_top); in validate_nommu_regions()
478 if (region->vm_start < pregion->vm_start) in add_nommu_region()
480 else if (region->vm_start > pregion->vm_start) in add_nommu_region()
531 if (region->vm_top > region->vm_start) in __put_nommu_region()
541 free_page_series(region->vm_start, region->vm_top); in __put_nommu_region()
594 if (vma->vm_start < pvma->vm_start) in add_vma_to_mm()
596 else if (vma->vm_start > pvma->vm_start) { in add_vma_to_mm()
689 if (vma->vm_start > addr) in find_vma()
738 if (vma->vm_start < addr) in find_vma_exact()
740 if (vma->vm_start > addr) in find_vma_exact()
1024 region->vm_start = (unsigned long) base; in do_mmap_private()
1025 region->vm_end = region->vm_start + len; in do_mmap_private()
1026 region->vm_top = region->vm_start + (total << PAGE_SHIFT); in do_mmap_private()
1028 vma->vm_start = region->vm_start; in do_mmap_private()
1029 vma->vm_end = region->vm_start + len; in do_mmap_private()
1053 free_page_series(region->vm_start, region->vm_top); in do_mmap_private()
1054 region->vm_start = vma->vm_start = 0; in do_mmap_private()
1154 rpglen = pregion->vm_end - pregion->vm_start; in do_mmap()
1173 start = pregion->vm_start; in do_mmap()
1175 vma->vm_start = start; in do_mmap()
1184 vma->vm_start = 0; in do_mmap()
1219 vma->vm_start = region->vm_start = addr; in do_mmap()
1242 memset((void *)region->vm_start, 0, in do_mmap()
1243 region->vm_end - region->vm_start); in do_mmap()
1246 result = vma->vm_start; in do_mmap()
1256 flush_icache_user_range(region->vm_start, region->vm_end); in do_mmap()
1383 npages = (addr - vma->vm_start) >> PAGE_SHIFT; in split_vma()
1388 region->vm_start = new->vm_start = addr; in split_vma()
1399 vma->vm_region->vm_start = vma->vm_start = addr; in split_vma()
1426 if (from > vma->vm_start) in shrink_vma()
1429 vma->vm_start = to; in shrink_vma()
1438 if (from > region->vm_start) { in shrink_vma()
1442 region->vm_start = to; in shrink_vma()
1484 if (start > vma->vm_start) 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()
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()
1601 return vma->vm_start; in do_mremap()
1636 unsigned long vm_len = vma->vm_end - vma->vm_start; in vm_iomap_memory()
1639 return io_remap_pfn_range(vma, vma->vm_start, pfn, vm_len, vma->vm_page_prot); in vm_iomap_memory()
1646 unsigned int size = vma->vm_end - vma->vm_start; in remap_vmalloc_range()
1651 vma->vm_start = (unsigned long)(addr + (pgoff << PAGE_SHIFT)); in remap_vmalloc_range()
1652 vma->vm_end = vma->vm_start + size; in remap_vmalloc_range()
1798 r_size = region->vm_top - region->vm_start; in nommu_shrink_inode_mappings()