Home
last modified time | relevance | path

Searched refs:page_list (Results 1 – 3 of 3) sorted by relevance

/mm/
Ddmapool.c45 struct list_head page_list; member
57 struct list_head page_list; member
89 list_for_each_entry(page, &pool->page_list, page_list) { in show_pools()
167 INIT_LIST_HEAD(&retval->page_list); in dma_pool_create()
227 list_add(&page->page_list, &pool->page_list); in pool_alloc_page()
250 list_del(&page->page_list); in pool_free_page()
270 while (!list_empty(&pool->page_list)) { in dma_pool_destroy()
272 page = list_entry(pool->page_list.next, in dma_pool_destroy()
273 struct dma_page, page_list); in dma_pool_destroy()
284 list_del(&page->page_list); in dma_pool_destroy()
[all …]
Dvmscan.c576 static unsigned long shrink_page_list(struct list_head *page_list, in shrink_page_list() argument
588 while (!list_empty(page_list)) { in shrink_page_list()
596 page = lru_to_page(page_list); in shrink_page_list()
783 list_splice(&ret_pages, page_list); in shrink_page_list()
974 static unsigned long clear_active_flags(struct list_head *page_list, in clear_active_flags() argument
981 list_for_each_entry(page, page_list, lru) { in clear_active_flags()
1047 LIST_HEAD(page_list); in shrink_inactive_list()
1079 &page_list, &nr_scan, sc->order, mode, in shrink_inactive_list()
1081 nr_active = clear_active_flags(&page_list, count); in shrink_inactive_list()
1104 nr_freed = shrink_page_list(&page_list, sc, PAGEOUT_IO_ASYNC); in shrink_inactive_list()
[all …]
Dhugetlb.c1759 LIST_HEAD(page_list); in __unmap_hugepage_range()
1803 list_add(&page->lru, &page_list); in __unmap_hugepage_range()
1808 list_for_each_entry_safe(page, tmp, &page_list, lru) { in __unmap_hugepage_range()