Lines Matching refs:pagelist
417 static int migrate_page_add(struct page *page, struct list_head *pagelist,
421 struct list_head *pagelist; member
479 migrate_page_add(page, qp->pagelist, flags)) { in queue_pages_pmd()
547 if (migrate_page_add(page, qp->pagelist, flags)) in queue_pages_pte_range()
604 if (isolate_hugetlb(page, qp->pagelist) && in queue_pages_hugetlb()
729 struct list_head *pagelist) in queue_pages_range() argument
733 .pagelist = pagelist, in queue_pages_range()
1029 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1038 list_add_tail(&head->lru, pagelist); in migrate_page_add()
1066 LIST_HEAD(pagelist); in migrate_to_node()
1084 flags | MPOL_MF_DISCONTIG_OK, &pagelist); in migrate_to_node()
1086 if (!list_empty(&pagelist)) { in migrate_to_node()
1087 err = migrate_pages(&pagelist, alloc_migration_target, NULL, in migrate_to_node()
1090 putback_movable_pages(&pagelist); in migrate_to_node()
1238 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1265 LIST_HEAD(pagelist); in do_mbind()
1323 flags | MPOL_MF_INVERT, &pagelist); in do_mbind()
1335 if (!list_empty(&pagelist)) { in do_mbind()
1337 nr_failed = migrate_pages(&pagelist, new_page, NULL, in do_mbind()
1340 putback_movable_pages(&pagelist); in do_mbind()
1347 if (!list_empty(&pagelist)) in do_mbind()
1348 putback_movable_pages(&pagelist); in do_mbind()