Lines Matching refs:end
6 static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in walk_pte_range() argument
18 if (addr == end) in walk_pte_range()
27 static int walk_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in walk_pmd_range() argument
37 next = pmd_addr_end(addr, end); in walk_pmd_range()
67 } while (pmd++, addr = next, addr != end); in walk_pmd_range()
72 static int walk_pud_range(pgd_t *pgd, unsigned long addr, unsigned long end, in walk_pud_range() argument
81 next = pud_addr_end(addr, end); in walk_pud_range()
93 } while (pud++, addr = next, addr != end); in walk_pud_range()
98 static int walk_pgd_range(unsigned long addr, unsigned long end, in walk_pgd_range() argument
107 next = pgd_addr_end(addr, end); in walk_pgd_range()
119 } while (pgd++, addr = next, addr != end); in walk_pgd_range()
126 unsigned long end) in hugetlb_entry_end() argument
129 return boundary < end ? boundary : end; in hugetlb_entry_end()
132 static int walk_hugetlb_range(unsigned long addr, unsigned long end, in walk_hugetlb_range() argument
143 next = hugetlb_entry_end(h, addr, end); in walk_hugetlb_range()
153 } while (addr = next, addr != end); in walk_hugetlb_range()
159 static int walk_hugetlb_range(unsigned long addr, unsigned long end, in walk_hugetlb_range() argument
173 static int walk_page_test(unsigned long start, unsigned long end, in walk_page_test() argument
179 return walk->test_walk(start, end, walk); in walk_page_test()
192 err = walk->pte_hole(start, end, walk); in walk_page_test()
198 static int __walk_page_range(unsigned long start, unsigned long end, in __walk_page_range() argument
206 err = walk_hugetlb_range(start, end, walk); in __walk_page_range()
208 err = walk_pgd_range(start, end, walk); in __walk_page_range()
243 int walk_page_range(unsigned long start, unsigned long end, in walk_page_range() argument
250 if (start >= end) in walk_page_range()
262 next = end; in walk_page_range()
265 next = min(end, vma->vm_start); in walk_page_range()
268 next = min(end, vma->vm_end); in walk_page_range()
288 } while (start = next, start < end); in walk_page_range()