Lines Matching refs:end_pfn

19  * This function checks whether the range [start_pfn, end_pfn) includes
33 static struct page *has_unmovable_pages(unsigned long start_pfn, unsigned long end_pfn,
41 pageblock_start_pfn(end_pfn - 1));
55 for (pfn = start_pfn; pfn < end_pfn; pfn++) {
144 * present in [start_pfn, end_pfn). The pageblock must intersect with
145 * [start_pfn, end_pfn).
148 unsigned long start_pfn, unsigned long end_pfn)
171 * Pass the intersection of [start_pfn, end_pfn) and the page's pageblock
176 end_pfn);
486 * @end_pfn: The last PFN of the range to be isolated.
528 int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
535 unsigned long isolate_end = pageblock_align(end_pfn);
562 start_pfn, end_pfn)) {
576 * @end_pfn: The last PFN of the isolated range
582 void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
588 unsigned long isolate_end = pageblock_align(end_pfn);
601 * all pages in [start_pfn...end_pfn) must be in the same zone.
607 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn,
612 while (pfn < end_pfn) {
642 * @end_pfn: The first PFN *after* the isolated range
654 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn,
667 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) {
672 page = __first_valid_page(start_pfn, end_pfn - start_pfn);
673 if ((pfn < end_pfn) || !page) {
681 pfn = __test_page_isolated_in_pageblock(start_pfn, end_pfn, isol_flags);
684 ret = pfn < end_pfn ? -EBUSY : 0;
687 trace_test_pages_isolated(start_pfn, end_pfn, pfn);