Home
last modified time | relevance | path

Searched refs:pagelist (Results 1 – 4 of 4) sorted by relevance

/mm/
Dmempolicy.c412 static int migrate_page_add(struct page *page, struct list_head *pagelist,
416 struct list_head *pagelist; member
476 migrate_page_add(page, qp->pagelist, flags)) { in queue_pages_pmd()
550 if (migrate_page_add(page, qp->pagelist, flags)) in queue_pages_pte_range()
608 if (isolate_hugetlb(page, qp->pagelist) && in queue_pages_hugetlb()
726 struct list_head *pagelist) in queue_pages_range() argument
730 .pagelist = pagelist, in queue_pages_range()
1016 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1025 list_add_tail(&head->lru, pagelist); in migrate_page_add()
1052 LIST_HEAD(pagelist); in migrate_to_node()
[all …]
Dmigrate.c1667 struct list_head *pagelist, int node) in do_move_pages_to_node() argument
1675 err = migrate_pages(pagelist, alloc_migration_target, NULL, in do_move_pages_to_node()
1678 putback_movable_pages(pagelist); in do_move_pages_to_node()
1692 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() argument
1727 err = isolate_hugetlb(page, pagelist); in add_page_for_migration()
1740 list_add_tail(&head->lru, pagelist); in add_page_for_migration()
1758 struct list_head *pagelist, int __user *status, in move_pages_and_store_status() argument
1763 if (list_empty(pagelist)) in move_pages_and_store_status()
1766 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status()
1795 LIST_HEAD(pagelist); in do_pages_move()
[all …]
Dmemory-failure.c2103 static bool isolate_page(struct page *page, struct list_head *pagelist) in isolate_page() argument
2109 isolated = !isolate_hugetlb(page, pagelist); in isolate_page()
2117 list_add(&page->lru, pagelist); in isolate_page()
2147 LIST_HEAD(pagelist); in __soft_offline_page()
2187 if (isolate_page(hpage, &pagelist)) { in __soft_offline_page()
2188 ret = migrate_pages(&pagelist, alloc_migration_target, NULL, in __soft_offline_page()
2196 if (!list_empty(&pagelist)) in __soft_offline_page()
2197 putback_movable_pages(&pagelist); in __soft_offline_page()
Dkhugepaged.c1687 LIST_HEAD(pagelist); in collapse_file()
1898 list_add_tail(&page->lru, &pagelist); in collapse_file()
1948 list_for_each_entry_safe(page, tmp, &pagelist, lru) { in collapse_file()
1994 page = list_first_entry_or_null(&pagelist, in collapse_file()
2025 VM_BUG_ON(!list_empty(&pagelist)); in collapse_file()