Lines Matching refs:vm_start
511 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in mlock_fixup()
520 if (start != vma->vm_start) { in mlock_fixup()
574 if (!vma || vma->vm_start > start) in apply_vma_lock_flags()
578 if (start > vma->vm_start) in apply_vma_lock_flags()
600 if (!vma || vma->vm_start != nstart) { in apply_vma_lock_flags()
631 if (start + len <= vma->vm_start) in count_mm_mlocked_page_nr()
634 if (start > vma->vm_start) in count_mm_mlocked_page_nr()
635 count -= (start - vma->vm_start); in count_mm_mlocked_page_nr()
637 count += start + len - vma->vm_start; in count_mm_mlocked_page_nr()
640 count += vma->vm_end - vma->vm_start; in count_mm_mlocked_page_nr()
768 mlock_fixup(vma, &prev, vma->vm_start, vma->vm_end, newflags); in apply_mlockall_flags()