Lines Matching refs:end
23 unsigned long end, struct mm_walk *walk) in mincore_hugetlb() argument
34 for (; addr != end; vec++, addr += PAGE_SIZE) in mincore_hugetlb()
85 static int __mincore_unmapped_range(unsigned long addr, unsigned long end, in __mincore_unmapped_range() argument
88 unsigned long nr = (end - addr) >> PAGE_SHIFT; in __mincore_unmapped_range()
104 static int mincore_unmapped_range(unsigned long addr, unsigned long end, in mincore_unmapped_range() argument
107 walk->private += __mincore_unmapped_range(addr, end, in mincore_unmapped_range()
112 static int mincore_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in mincore_pte_range() argument
119 int nr = (end - addr) >> PAGE_SHIFT; in mincore_pte_range()
129 __mincore_unmapped_range(addr, end, vma, vec); in mincore_pte_range()
134 for (; addr != end; ptep++, addr += PAGE_SIZE) { in mincore_pte_range()
178 unsigned long end; in do_mincore() local
191 end = min(vma->vm_end, addr + (pages << PAGE_SHIFT)); in do_mincore()
192 err = walk_page_range(addr, end, &mincore_walk); in do_mincore()
195 return (end - addr) >> PAGE_SHIFT; in do_mincore()