Lines Matching defs: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++) {
151 * present in [start_pfn, end_pfn). The pageblock must intersect with
152 * [start_pfn, end_pfn).
155 unsigned long start_pfn, unsigned long end_pfn)
181 * Pass the intersection of [start_pfn, end_pfn) and the page's pageblock
186 end_pfn);
442 * @end_pfn: The last PFN of the range to be isolated.
475 int start_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
482 unsigned long isolate_end = pageblock_align(end_pfn);
508 end_pfn)) {
521 * @end_pfn: The last PFN of the isolated range
525 void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn)
530 unsigned long isolate_end = pageblock_align(end_pfn);
543 * all pages in [start_pfn...end_pfn) must be in the same zone.
549 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn,
554 while (pfn < end_pfn) {
585 * @end_pfn: The first PFN *after* the isolated range
597 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn,
620 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) {
625 page = __first_valid_page(start_pfn, end_pfn - start_pfn);
626 if ((pfn < end_pfn) || !page) {
634 pfn = __test_page_isolated_in_pageblock(start_pfn, end_pfn, mode);
637 ret = pfn < end_pfn ? -EBUSY : 0;
640 trace_test_pages_isolated(start_pfn, end_pfn, pfn);