Lines Matching refs:nr_migratepages
667 if (!strict && cc->nr_migratepages <= cc->nr_freepages) { in isolate_freepages_block()
894 if (cc->nr_migratepages) in isolate_migratepages_block()
1242 cc->nr_migratepages += folio_nr_pages(folio); in isolate_migratepages_block()
1252 if (cc->nr_migratepages >= COMPACT_CLUSTER_MAX && in isolate_migratepages_block()
1283 cc->nr_migratepages = 0; in isolate_migratepages_block()
1383 if (cc->nr_migratepages >= COMPACT_CLUSTER_MAX) in isolate_migratepages_range()
1498 if (cc->nr_freepages >= cc->nr_migratepages) in fast_isolate_around()
1654 if (cc->nr_freepages >= cc->nr_migratepages) in fast_isolate_freepages()
1792 if (cc->nr_freepages >= cc->nr_migratepages) { in isolate_freepages()
1874 cc->nr_migratepages -= 1 << order; in compaction_alloc_noprof()
1899 cc->nr_migratepages += 1 << order; in compaction_free()
2176 return cc->nr_migratepages ? ISOLATE_SUCCESS : ISOLATE_NONE; in isolate_migratepages()
2515 unsigned int nr_succeeded = 0, nr_migratepages; in compact_zone() local
2524 cc->nr_migratepages = 0; in compact_zone()
2615 cc->nr_migratepages = 0; in compact_zone()
2640 nr_migratepages = cc->nr_migratepages; in compact_zone()
2645 trace_mm_compaction_migratepages(nr_migratepages, nr_succeeded); in compact_zone()
2648 cc->nr_migratepages = 0; in compact_zone()