Lines Matching refs:end_pfn
33 static struct page *has_unmovable_pages(unsigned long start_pfn, unsigned long end_pfn, in has_unmovable_pages() argument
41 pageblock_start_pfn(end_pfn - 1)); in has_unmovable_pages()
55 for (pfn = start_pfn; pfn < end_pfn; pfn++) { in has_unmovable_pages()
148 unsigned long start_pfn, unsigned long end_pfn) in set_migratetype_isolate() argument
176 end_pfn); in set_migratetype_isolate()
529 int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, in start_isolate_page_range() argument
536 unsigned long isolate_end = pageblock_align(end_pfn); in start_isolate_page_range()
563 start_pfn, end_pfn)) { in start_isolate_page_range()
577 void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, in undo_isolate_page_range() argument
583 unsigned long isolate_end = pageblock_align(end_pfn); in undo_isolate_page_range()
602 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn, in __test_page_isolated_in_pageblock() argument
607 while (pfn < end_pfn) { in __test_page_isolated_in_pageblock()
635 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn, in test_pages_isolated() argument
648 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { in test_pages_isolated()
653 page = __first_valid_page(start_pfn, end_pfn - start_pfn); in test_pages_isolated()
654 if ((pfn < end_pfn) || !page) { in test_pages_isolated()
662 pfn = __test_page_isolated_in_pageblock(start_pfn, end_pfn, isol_flags); in test_pages_isolated()
665 ret = pfn < end_pfn ? -EBUSY : 0; in test_pages_isolated()
668 trace_test_pages_isolated(start_pfn, end_pfn, pfn); in test_pages_isolated()