Lines Matching refs:demote_folios
1581 * Take folios on @demote_folios and attempt to demote them to another node.
1582 * Folios which are not demoted are left on @demote_folios.
1584 static unsigned int demote_folio_list(struct list_head *demote_folios,
1603 if (list_empty(demote_folios))
1612 migrate_pages(demote_folios, alloc_demote_folio, NULL,
1646 LIST_HEAD(demote_folios);
1816 list_add(&folio->lru, &demote_folios);
2092 nr_reclaimed += demote_folio_list(&demote_folios, pgdat);
2093 /* Folios that could not be demoted are still in @demote_folios */
2094 if (!list_empty(&demote_folios)) {
2096 list_splice_init(&demote_folios, folio_list);