Lines Matching refs:start
221 unsigned long start = addr; in change_protection_range() local
238 flush_tlb_range(vma, start, end); in change_protection_range()
244 unsigned long change_protection(struct vm_area_struct *vma, unsigned long start, in change_protection() argument
251 pages = hugetlb_change_protection(vma, start, end, newprot); in change_protection()
253 pages = change_protection_range(vma, start, end, newprot, dirty_accountable, prot_numa); in change_protection()
279 static int prot_none_walk(struct vm_area_struct *vma, unsigned long start, in prot_none_walk() argument
291 return walk_page_range(start, end, &prot_none_walk); in prot_none_walk()
296 unsigned long start, unsigned long end, unsigned long newflags) in mprotect_fixup() argument
300 long nrpages = (end - start) >> PAGE_SHIFT; in mprotect_fixup()
319 error = prot_none_walk(vma, start, end, newflags); in mprotect_fixup()
343 pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); in mprotect_fixup()
344 *pprev = vma_merge(mm, *pprev, start, end, newflags, in mprotect_fixup()
354 if (start != vma->vm_start) { in mprotect_fixup()
355 error = split_vma(mm, vma, start, 1); in mprotect_fixup()
375 change_protection(vma, start, end, vma->vm_page_prot, in mprotect_fixup()
384 populate_vma_page_range(vma, start, end, NULL); in mprotect_fixup()
397 SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument
408 if (start & ~PAGE_MASK) in SYSCALL_DEFINE3()
413 end = start + len; in SYSCALL_DEFINE3()
414 if (end <= start) in SYSCALL_DEFINE3()
430 vma = find_vma(current->mm, start); in SYSCALL_DEFINE3()
438 start = vma->vm_start; in SYSCALL_DEFINE3()
443 if (vma->vm_start > start) in SYSCALL_DEFINE3()
452 if (start > vma->vm_start) in SYSCALL_DEFINE3()
455 for (nstart = start ; ; ) { in SYSCALL_DEFINE3()