Lines Matching refs:pagelist
471 static void migrate_page_add(struct page *page, struct list_head *pagelist,
475 struct list_head *pagelist; member
520 migrate_page_add(page, qp->pagelist, flags); in queue_pages_pte_range()
552 isolate_huge_page(page, qp->pagelist); in queue_pages_hugetlb()
640 struct list_head *pagelist) in queue_pages_range() argument
643 .pagelist = pagelist, in queue_pages_range()
924 static void migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
932 list_add_tail(&page->lru, pagelist); in migrate_page_add()
957 LIST_HEAD(pagelist); in migrate_to_node()
970 flags | MPOL_MF_DISCONTIG_OK, &pagelist); in migrate_to_node()
972 if (!list_empty(&pagelist)) { in migrate_to_node()
973 err = migrate_pages(&pagelist, new_node_page, NULL, dest, in migrate_to_node()
976 putback_movable_pages(&pagelist); in migrate_to_node()
1118 static void migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1143 LIST_HEAD(pagelist); in do_mbind()
1205 flags | MPOL_MF_INVERT, &pagelist); in do_mbind()
1212 if (!list_empty(&pagelist)) { in do_mbind()
1214 nr_failed = migrate_pages(&pagelist, new_page, NULL, in do_mbind()
1217 putback_movable_pages(&pagelist); in do_mbind()
1223 putback_movable_pages(&pagelist); in do_mbind()