Home
last modified time | relevance | path

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

/mm/
Dmempolicy.c435 static int migrate_page_add(struct page *page, struct list_head *pagelist,
439 struct list_head *pagelist; member
499 migrate_page_add(page, qp->pagelist, flags)) { in queue_pages_pmd()
572 if (migrate_page_add(page, qp->pagelist, flags)) in queue_pages_pte_range()
630 if (isolate_hugetlb(page, qp->pagelist) && in queue_pages_hugetlb()
748 struct list_head *pagelist) in queue_pages_range() argument
752 .pagelist = pagelist, in queue_pages_range()
1045 static int migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add() argument
1054 list_add_tail(&head->lru, pagelist); in migrate_page_add()
1081 LIST_HEAD(pagelist); in migrate_to_node()
[all …]
Dmemory-failure.c1741 static bool isolate_page(struct page *page, struct list_head *pagelist) in isolate_page() argument
1747 isolated = !isolate_hugetlb(page, pagelist); in isolate_page()
1755 list_add(&page->lru, pagelist); in isolate_page()
1785 LIST_HEAD(pagelist); in __soft_offline_page()
1825 if (isolate_page(hpage, &pagelist)) { in __soft_offline_page()
1826 ret = migrate_pages(&pagelist, alloc_migration_target, NULL, in __soft_offline_page()
1834 if (!list_empty(&pagelist)) in __soft_offline_page()
1835 putback_movable_pages(&pagelist); in __soft_offline_page()
Dmigrate.c1585 struct list_head *pagelist, int node) in do_move_pages_to_node() argument
1593 err = migrate_pages(pagelist, alloc_migration_target, NULL, in do_move_pages_to_node()
1596 putback_movable_pages(pagelist); in do_move_pages_to_node()
1610 int node, struct list_head *pagelist, bool migrate_all) in add_page_for_migration() argument
1645 err = isolate_hugetlb(page, pagelist); in add_page_for_migration()
1658 list_add_tail(&head->lru, pagelist); in add_page_for_migration()
1676 struct list_head *pagelist, int __user *status, in move_pages_and_store_status() argument
1681 if (list_empty(pagelist)) in move_pages_and_store_status()
1684 err = do_move_pages_to_node(mm, pagelist, node); in move_pages_and_store_status()
1712 LIST_HEAD(pagelist); in do_pages_move()
[all …]
Dkhugepaged.c1694 LIST_HEAD(pagelist); in collapse_file()
1904 list_add_tail(&page->lru, &pagelist); in collapse_file()
1953 list_for_each_entry_safe(page, tmp, &pagelist, lru) { in collapse_file()
1999 page = list_first_entry_or_null(&pagelist, in collapse_file()
2030 VM_BUG_ON(!list_empty(&pagelist)); in collapse_file()