Lines Matching refs:migrate_pfn
383 unsigned long migrate_pfn = zone->zone_start_pfn; in __reset_isolation_suitable() local
386 unsigned long reset_free = migrate_pfn; in __reset_isolation_suitable()
402 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
407 if (__reset_isolation_pfn(zone, migrate_pfn, true, source_set) && in __reset_isolation_suitable()
408 migrate_pfn < reset_migrate) { in __reset_isolation_suitable()
410 reset_migrate = migrate_pfn; in __reset_isolation_suitable()
428 zone->compact_cached_migrate_pfn[0] = migrate_pfn; in __reset_isolation_suitable()
429 zone->compact_cached_migrate_pfn[1] = migrate_pfn; in __reset_isolation_suitable()
885 cc->migrate_pfn = low_pfn; in isolate_migratepages_block()
1339 cc->migrate_pfn = low_pfn; in isolate_migratepages_block()
1455 <= (cc->migrate_pfn >> pageblock_order); in compact_scanners_met()
1566 distance = (cc->free_pfn - cc->migrate_pfn); in fast_isolate_freepages()
1741 low_pfn = pageblock_end_pfn(cc->migrate_pfn); in isolate_freepages()
1943 return cc->migrate_pfn; in reinit_migrate_pfn()
1945 cc->migrate_pfn = cc->fast_start_pfn; in reinit_migrate_pfn()
1948 return cc->migrate_pfn; in reinit_migrate_pfn()
1961 unsigned long pfn = cc->migrate_pfn; in fast_find_migrateblock()
2008 distance = (cc->free_pfn - cc->migrate_pfn) >> 1; in fast_find_migrateblock()
2009 if (cc->migrate_pfn != cc->zone->zone_start_pfn) in fast_find_migrateblock()
2011 high_pfn = pageblock_start_pfn(cc->migrate_pfn + distance); in fast_find_migrateblock()
2104 fast_find_block = low_pfn != cc->migrate_pfn && !cc->fast_search_fail; in isolate_migratepages()
2115 cc->migrate_pfn = low_pfn = block_end_pfn, in isolate_migratepages()
2325 if (!pageblock_aligned(cc->migrate_pfn)) in __compact_finished()
2555 cc->migrate_pfn = start_pfn; in compact_zone()
2558 cc->migrate_pfn = cc->zone->compact_cached_migrate_pfn[sync]; in compact_zone()
2564 if (cc->migrate_pfn < start_pfn || cc->migrate_pfn >= end_pfn) { in compact_zone()
2565 cc->migrate_pfn = start_pfn; in compact_zone()
2566 cc->zone->compact_cached_migrate_pfn[0] = cc->migrate_pfn; in compact_zone()
2567 cc->zone->compact_cached_migrate_pfn[1] = cc->migrate_pfn; in compact_zone()
2570 if (cc->migrate_pfn <= cc->zone->compact_init_migrate_pfn) in compact_zone()
2594 unsigned long iteration_start_pfn = cc->migrate_pfn; in compact_zone()
2632 pageblock_start_pfn(cc->migrate_pfn - 1)); in compact_zone()
2670 if (!pageblock_aligned(cc->migrate_pfn) && in compact_zone()
2703 block_start_pfn(cc->migrate_pfn, cc->order); in compact_zone()