Lines Matching refs:migrate_pfn

378 	unsigned long migrate_pfn = zone->zone_start_pfn;  in __reset_isolation_suitable()  local
381 unsigned long reset_free = migrate_pfn; in __reset_isolation_suitable()
396 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
401 if (__reset_isolation_pfn(zone, migrate_pfn, true, source_set) && in __reset_isolation_suitable()
402 migrate_pfn < reset_migrate) { in __reset_isolation_suitable()
404 reset_migrate = migrate_pfn; in __reset_isolation_suitable()
422 zone->compact_cached_migrate_pfn[0] = migrate_pfn; in __reset_isolation_suitable()
423 zone->compact_cached_migrate_pfn[1] = migrate_pfn; in __reset_isolation_suitable()
855 cc->migrate_pfn = low_pfn; in isolate_migratepages_block()
1271 cc->migrate_pfn = low_pfn; in isolate_migratepages_block()
1385 <= (cc->migrate_pfn >> pageblock_order); in compact_scanners_met()
1496 distance = (cc->free_pfn - cc->migrate_pfn); in fast_isolate_freepages()
1669 low_pfn = pageblock_end_pfn(cc->migrate_pfn); in isolate_freepages()
1832 return cc->migrate_pfn; in reinit_migrate_pfn()
1834 cc->migrate_pfn = cc->fast_start_pfn; in reinit_migrate_pfn()
1837 return cc->migrate_pfn; in reinit_migrate_pfn()
1850 unsigned long pfn = cc->migrate_pfn; in fast_find_migrateblock()
1897 distance = (cc->free_pfn - cc->migrate_pfn) >> 1; in fast_find_migrateblock()
1898 if (cc->migrate_pfn != cc->zone->zone_start_pfn) in fast_find_migrateblock()
1900 high_pfn = pageblock_start_pfn(cc->migrate_pfn + distance); in fast_find_migrateblock()
1993 fast_find_block = low_pfn != cc->migrate_pfn && !cc->fast_search_fail; in isolate_migratepages()
2004 cc->migrate_pfn = low_pfn = block_end_pfn, in isolate_migratepages()
2223 if (!pageblock_aligned(cc->migrate_pfn)) in __compact_finished()
2435 cc->migrate_pfn = start_pfn; in compact_zone()
2438 cc->migrate_pfn = cc->zone->compact_cached_migrate_pfn[sync]; in compact_zone()
2444 if (cc->migrate_pfn < start_pfn || cc->migrate_pfn >= end_pfn) { in compact_zone()
2445 cc->migrate_pfn = start_pfn; in compact_zone()
2446 cc->zone->compact_cached_migrate_pfn[0] = cc->migrate_pfn; in compact_zone()
2447 cc->zone->compact_cached_migrate_pfn[1] = cc->migrate_pfn; in compact_zone()
2450 if (cc->migrate_pfn <= cc->zone->compact_init_migrate_pfn) in compact_zone()
2474 unsigned long iteration_start_pfn = cc->migrate_pfn; in compact_zone()
2512 pageblock_start_pfn(cc->migrate_pfn - 1)); in compact_zone()
2544 if (!pageblock_aligned(cc->migrate_pfn) && in compact_zone()
2577 block_start_pfn(cc->migrate_pfn, cc->order); in compact_zone()