• Home
  • Raw
  • Download

Lines Matching refs:end

67 		     unsigned long start, unsigned long end, int behavior)  in madvise_behavior()  argument
117 error = ksm_madvise(vma, start, end, behavior, &new_flags); in madvise_behavior()
135 *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, in madvise_behavior()
155 if (end != vma->vm_end) { in madvise_behavior()
160 error = __split_vma(mm, vma, end, 0); in madvise_behavior()
184 unsigned long end, struct mm_walk *walk) in swapin_walk_pmd_entry() argument
193 for (index = start; index != end; index += PAGE_SIZE) { in swapin_walk_pmd_entry()
223 unsigned long start, unsigned long end, in force_shm_swapin_readahead() argument
230 for (; start < end; start += PAGE_SIZE) { in force_shm_swapin_readahead()
255 unsigned long start, unsigned long end) in madvise_willneed() argument
263 walk_page_range(vma->vm_mm, start, end, &swapin_walk_ops, vma); in madvise_willneed()
269 force_shm_swapin_readahead(vma, start, end, in madvise_willneed()
294 vfs_fadvise(file, offset, end - start, POSIX_FADV_WILLNEED); in madvise_willneed()
301 unsigned long addr, unsigned long end, in madvise_cold_or_pageout_pte_range() argument
320 unsigned long next = pmd_addr_end(addr, end); in madvise_cold_or_pageout_pte_range()
391 for (; addr < end; pte++, addr += PAGE_SIZE) { in madvise_cold_or_pageout_pte_range()
482 unsigned long addr, unsigned long end) in madvise_cold_page_range() argument
490 walk_page_range(vma->vm_mm, addr, end, &cold_walk_ops, &walk_private); in madvise_cold_page_range()
515 unsigned long addr, unsigned long end) in madvise_pageout_page_range() argument
523 walk_page_range(vma->vm_mm, addr, end, &cold_walk_ops, &walk_private); in madvise_pageout_page_range()
566 unsigned long end, struct mm_walk *walk) in madvise_free_pte_range() argument
578 next = pmd_addr_end(addr, end); in madvise_free_pte_range()
590 for (; addr != end; pte++, addr += PAGE_SIZE) { in madvise_free_pte_range()
716 range.end = min(vma->vm_end, end_addr); in madvise_free_single_vma()
717 if (range.end <= vma->vm_start) in madvise_free_single_vma()
720 range.start, range.end); in madvise_free_single_vma()
723 tlb_gather_mmu(&tlb, mm, range.start, range.end); in madvise_free_single_vma()
728 walk_page_range(vma->vm_mm, range.start, range.end, in madvise_free_single_vma()
732 tlb_finish_mmu(&tlb, range.start, range.end); in madvise_free_single_vma()
757 unsigned long start, unsigned long end) in madvise_dontneed_single_vma() argument
759 zap_page_range(vma, start, end - start); in madvise_dontneed_single_vma()
765 unsigned long start, unsigned long end, in madvise_dontneed_free() argument
772 if (!userfaultfd_remove(vma, start, end)) { in madvise_dontneed_free()
793 if (end > vma->vm_end) { in madvise_dontneed_free()
806 end = vma->vm_end; in madvise_dontneed_free()
808 VM_WARN_ON(start >= end); in madvise_dontneed_free()
812 return madvise_dontneed_single_vma(vma, start, end); in madvise_dontneed_free()
814 return madvise_free_single_vma(vma, start, end); in madvise_dontneed_free()
825 unsigned long start, unsigned long end) in madvise_remove() argument
855 if (userfaultfd_remove(vma, start, end)) { in madvise_remove()
861 offset, end - start); in madvise_remove()
872 unsigned long start, unsigned long end) in madvise_inject_error() argument
882 for (; start < end; start += PAGE_SIZE << order) { in madvise_inject_error()
938 unsigned long start, unsigned long end, int behavior) in madvise_vma() argument
942 return madvise_remove(vma, prev, start, end); in madvise_vma()
944 return madvise_willneed(vma, prev, start, end); in madvise_vma()
946 return madvise_cold(vma, prev, start, end); in madvise_vma()
948 return madvise_pageout(vma, prev, start, end); in madvise_vma()
951 return madvise_dontneed_free(vma, prev, start, end, behavior); in madvise_vma()
953 return madvise_behavior(vma, prev, start, end, behavior); in madvise_vma()
1058 unsigned long end, tmp; in SYSCALL_DEFINE3() local
1079 end = start + len; in SYSCALL_DEFINE3()
1080 if (end < start) in SYSCALL_DEFINE3()
1084 if (end == start) in SYSCALL_DEFINE3()
1120 if (start >= end) in SYSCALL_DEFINE3()
1126 if (end < tmp) in SYSCALL_DEFINE3()
1127 tmp = end; in SYSCALL_DEFINE3()
1137 if (start >= end) in SYSCALL_DEFINE3()