Lines Matching refs:vm_pgoff
889 vma->vm_pgoff = pgoff; in __vma_adjust()
892 next->vm_pgoff += adjust_next >> PAGE_SHIFT; in __vma_adjust()
1090 pgoff_t vm_pgoff, in can_vma_merge_before() argument
1096 if (vma->vm_pgoff == vm_pgoff) in can_vma_merge_before()
1112 pgoff_t vm_pgoff, in can_vma_merge_after() argument
1120 if (vma->vm_pgoff + vm_pglen == vm_pgoff) in can_vma_merge_after()
1219 next->vm_end, prev->vm_pgoff, NULL, in vma_merge()
1223 end, prev->vm_pgoff, NULL, prev); in vma_merge()
1240 addr, prev->vm_pgoff, NULL, next); in vma_merge()
1243 next->vm_pgoff - pglen, NULL, next); in vma_merge()
1279 b->vm_pgoff == a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT); in anon_vma_compatible()
1793 vma->vm_pgoff = pgoff; in mmap_region()
1823 NULL, vma->vm_file, vma->vm_pgoff, NULL, NULL_VM_UFFD_CTX, NULL); in mmap_region()
2448 if (vma->vm_pgoff + (size >> PAGE_SHIFT) >= vma->vm_pgoff) { in expand_upwards()
2528 if (grow <= vma->vm_pgoff) { in expand_downwards()
2548 vma->vm_pgoff -= grow; in expand_downwards()
2760 new->vm_pgoff += ((addr - vma->vm_start) >> PAGE_SHIFT); in __split_vma()
2778 err = vma_adjust(vma, addr, vma->vm_end, vma->vm_pgoff + in __split_vma()
2781 err = vma_adjust(vma, vma->vm_start, addr, vma->vm_pgoff, new); in __split_vma()
3117 vma->vm_pgoff = pgoff; in do_brk_flags()
3260 vma->vm_pgoff = vma->vm_start >> PAGE_SHIFT; in insert_vm_struct()
3317 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
3324 new_vma->vm_pgoff = pgoff; in copy_vma()