Lines Matching refs:end
7 static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in walk_pte_range() argument
19 if (addr >= end - PAGE_SIZE) in walk_pte_range()
29 static int walk_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in walk_pmd_range() argument
40 next = pmd_addr_end(addr, end); in walk_pmd_range()
70 } while (pmd++, addr = next, addr != end); in walk_pmd_range()
75 static int walk_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, in walk_pud_range() argument
86 next = pud_addr_end(addr, end); in walk_pud_range()
115 } while (pud++, addr = next, addr != end); in walk_pud_range()
120 static int walk_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, in walk_p4d_range() argument
130 next = p4d_addr_end(addr, end); in walk_p4d_range()
142 } while (p4d++, addr = next, addr != end); in walk_p4d_range()
147 static int walk_pgd_range(unsigned long addr, unsigned long end, in walk_pgd_range() argument
157 next = pgd_addr_end(addr, end); in walk_pgd_range()
169 } while (pgd++, addr = next, addr != end); in walk_pgd_range()
176 unsigned long end) in hugetlb_entry_end() argument
179 return boundary < end ? boundary : end; in hugetlb_entry_end()
182 static int walk_hugetlb_range(unsigned long addr, unsigned long end, in walk_hugetlb_range() argument
195 next = hugetlb_entry_end(h, addr, end); in walk_hugetlb_range()
205 } while (addr = next, addr != end); in walk_hugetlb_range()
211 static int walk_hugetlb_range(unsigned long addr, unsigned long end, in walk_hugetlb_range() argument
225 static int walk_page_test(unsigned long start, unsigned long end, in walk_page_test() argument
232 return ops->test_walk(start, end, walk); in walk_page_test()
245 err = ops->pte_hole(start, end, walk); in walk_page_test()
251 static int __walk_page_range(unsigned long start, unsigned long end, in __walk_page_range() argument
259 err = walk_hugetlb_range(start, end, walk); in __walk_page_range()
261 err = walk_pgd_range(start, end, walk); in __walk_page_range()
302 unsigned long end, const struct mm_walk_ops *ops, in walk_page_range() argument
314 if (start >= end) in walk_page_range()
326 next = end; in walk_page_range()
331 next = min(end, vma->vm_start); in walk_page_range()
336 next = min(end, vma->vm_end); in walk_page_range()
355 } while (start = next, start < end); in walk_page_range()