Lines Matching refs:vm_region

414 	vm_region_jar = KMEM_CACHE(vm_region, SLAB_PANIC|SLAB_ACCOUNT);  in mmap_init()
424 struct vm_region *region, *last; in validate_nommu_regions()
431 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
436 region = rb_entry(p, struct vm_region, vm_rb); in validate_nommu_regions()
437 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
455 static void add_nommu_region(struct vm_region *region) in add_nommu_region()
457 struct vm_region *pregion; in add_nommu_region()
466 pregion = rb_entry(parent, struct vm_region, vm_rb); in add_nommu_region()
486 static void delete_nommu_region(struct vm_region *region) in delete_nommu_region()
514 static void __put_nommu_region(struct vm_region *region) in __put_nommu_region()
540 static void put_nommu_region(struct vm_region *region) in put_nommu_region()
558 BUG_ON(!vma->vm_region); in add_vma_to_mm()
658 put_nommu_region(vma->vm_region); in delete_vma()
946 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_shared_file()
962 struct vm_region *region, in do_mmap_private()
979 vma->vm_region->vm_top = vma->vm_region->vm_end; in do_mmap_private()
1065 struct vm_region *region; in do_mmap()
1120 struct vm_region *pregion; in do_mmap()
1127 pregion = rb_entry(rb, struct vm_region, vm_rb); in do_mmap()
1158 vma->vm_region = pregion; in do_mmap()
1169 vma->vm_region = NULL; in do_mmap()
1211 vma->vm_region = region; in do_mmap()
1342 struct vm_region *region; in split_vma()
1364 *region = *vma->vm_region; in split_vma()
1365 new->vm_region = region; in split_vma()
1381 delete_nommu_region(vma->vm_region); in split_vma()
1383 vma->vm_region->vm_start = vma->vm_start = addr; in split_vma()
1384 vma->vm_region->vm_pgoff = vma->vm_pgoff += npages; in split_vma()
1386 vma->vm_region->vm_end = vma->vm_end = addr; in split_vma()
1387 vma->vm_region->vm_top = addr; in split_vma()
1389 add_nommu_region(vma->vm_region); in split_vma()
1390 add_nommu_region(new->vm_region); in split_vma()
1405 struct vm_region *region; in shrink_vma()
1417 region = vma->vm_region; in shrink_vma()
1579 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap()
1744 struct vm_region *region; in nommu_shrink_inode_mappings()
1775 region = vma->vm_region; in nommu_shrink_inode_mappings()