Lines Matching refs:vm_region

404 	vm_region_jar = KMEM_CACHE(vm_region, SLAB_PANIC|SLAB_ACCOUNT);  in mmap_init()
414 struct vm_region *region, *last; in validate_nommu_regions()
421 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
426 region = rb_entry(p, struct vm_region, vm_rb); in validate_nommu_regions()
427 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
445 static void add_nommu_region(struct vm_region *region) in add_nommu_region()
447 struct vm_region *pregion; in add_nommu_region()
456 pregion = rb_entry(parent, struct vm_region, vm_rb); in add_nommu_region()
476 static void delete_nommu_region(struct vm_region *region) in delete_nommu_region()
504 static void __put_nommu_region(struct vm_region *region) in __put_nommu_region()
530 static void put_nommu_region(struct vm_region *region) in put_nommu_region()
595 put_nommu_region(vma->vm_region); in delete_vma()
889 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_shared_file()
905 struct vm_region *region, in do_mmap_private()
925 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_private()
1013 struct vm_region *region; in do_mmap()
1069 struct vm_region *pregion; in do_mmap()
1076 pregion = rb_entry(rb, struct vm_region, vm_rb); in do_mmap()
1107 vma->vm_region = pregion; in do_mmap()
1118 vma->vm_region = NULL; in do_mmap()
1160 vma->vm_region = region; in do_mmap()
1186 BUG_ON(!vma->vm_region); in do_mmap()
1300 struct vm_region *region; in split_vma()
1322 *region = *vma->vm_region; in split_vma()
1323 new->vm_region = region; in split_vma()
1345 delete_nommu_region(vma->vm_region); in split_vma()
1347 vma->vm_region->vm_start = vma->vm_start = addr; in split_vma()
1348 vma->vm_region->vm_pgoff = vma->vm_pgoff += npages; in split_vma()
1350 vma->vm_region->vm_end = vma->vm_end = addr; in split_vma()
1351 vma->vm_region->vm_top = addr; in split_vma()
1353 add_nommu_region(vma->vm_region); in split_vma()
1354 add_nommu_region(new->vm_region); in split_vma()
1378 struct vm_region *region; in vmi_shrink_vma()
1393 region = vma->vm_region; in vmi_shrink_vma()
1560 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap()
1719 struct vm_region *region; in nommu_shrink_inode_mappings()
1750 region = vma->vm_region; in nommu_shrink_inode_mappings()