Lines Matching refs:vm_start
540 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in mlock_fixup()
549 if (start != vma->vm_start) { in mlock_fixup()
603 if (!vma || vma->vm_start > start) in apply_vma_lock_flags()
607 if (start > vma->vm_start) in apply_vma_lock_flags()
629 if (!vma || vma->vm_start != nstart) { in apply_vma_lock_flags()
660 if (start + len <= vma->vm_start) in count_mm_mlocked_page_nr()
663 if (start > vma->vm_start) in count_mm_mlocked_page_nr()
664 count -= (start - vma->vm_start); in count_mm_mlocked_page_nr()
666 count += start + len - vma->vm_start; in count_mm_mlocked_page_nr()
669 count += vma->vm_end - vma->vm_start; in count_mm_mlocked_page_nr()
797 mlock_fixup(vma, &prev, vma->vm_start, vma->vm_end, newflags); in apply_mlockall_flags()