Lines Matching refs:end
25 unsigned long end, struct mm_walk *walk) in mincore_hugetlb() argument
36 for (; addr != end; vec++, addr += PAGE_SIZE) in mincore_hugetlb()
95 static int __mincore_unmapped_range(unsigned long addr, unsigned long end, in __mincore_unmapped_range() argument
98 unsigned long nr = (end - addr) >> PAGE_SHIFT; in __mincore_unmapped_range()
114 static int mincore_unmapped_range(unsigned long addr, unsigned long end, in mincore_unmapped_range() argument
117 walk->private += __mincore_unmapped_range(addr, end, in mincore_unmapped_range()
122 static int mincore_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in mincore_pte_range() argument
129 int nr = (end - addr) >> PAGE_SHIFT; in mincore_pte_range()
139 __mincore_unmapped_range(addr, end, vma, vec); in mincore_pte_range()
144 for (; addr != end; ptep++, addr += PAGE_SIZE) { in mincore_pte_range()
210 unsigned long end; in do_mincore() local
216 end = min(vma->vm_end, addr + (pages << PAGE_SHIFT)); in do_mincore()
218 unsigned long pages = DIV_ROUND_UP(end - addr, PAGE_SIZE); in do_mincore()
222 err = walk_page_range(vma->vm_mm, addr, end, &mincore_walk_ops, vec); in do_mincore()
225 return (end - addr) >> PAGE_SHIFT; in do_mincore()