Searched refs:folio_list (Results 1 – 7 of 7) sorted by relevance
/linux/mm/damon/ |
H A D | paddr.c | 249 LIST_HEAD(folio_list); in damon_pa_pageout() 283 list_add(&folio->lru, &folio_list); in damon_pa_pageout() 289 applied = reclaim_pages(&folio_list); in damon_pa_pageout() 363 static unsigned int damon_pa_migrate_folio_list(struct list_head *folio_list, in damon_pa_migrate_folio_list() argument 372 while (!list_empty(folio_list)) { in damon_pa_migrate_folio_list() 377 folio = lru_to_folio(folio_list); in damon_pa_migrate_folio_list() 400 list_splice_init(&migrate_folios, folio_list); in damon_pa_migrate_folio_list() 404 list_splice(&ret_folios, folio_list); in damon_pa_migrate_folio_list() 406 while (!list_empty(folio_list)) { in damon_pa_migrate_folio_list() 407 folio = lru_to_folio(folio_list); in damon_pa_migrate_folio_list() [all …]
|
/linux/mm/ |
H A D | hugetlb_vmemmap.h | 23 struct list_head *folio_list, 26 void hugetlb_vmemmap_optimize_folios(struct hstate *h, struct list_head *folio_list); 52 struct list_head *folio_list, in hugetlb_vmemmap_restore_folios() argument 55 list_splice_init(folio_list, non_hvo_folios); in hugetlb_vmemmap_restore_folios() 63 static inline void hugetlb_vmemmap_optimize_folios(struct hstate *h, struct list_head *folio_list) in hugetlb_vmemmap_optimize_folios() argument
|
H A D | hugetlb_vmemmap.c | 514 struct list_head *folio_list, in hugetlb_vmemmap_restore_folios() argument 522 list_for_each_entry_safe(folio, t_folio, folio_list, lru) { in hugetlb_vmemmap_restore_folios() 648 void hugetlb_vmemmap_optimize_folios(struct hstate *h, struct list_head *folio_list) in hugetlb_vmemmap_optimize_folios() argument 654 list_for_each_entry(folio, folio_list, lru) { in hugetlb_vmemmap_optimize_folios() 669 list_for_each_entry(folio, folio_list, lru) { in hugetlb_vmemmap_optimize_folios()
|
H A D | vmscan.c | 639 struct swap_iocb **plug, struct list_head *folio_list) in pageout() argument 693 wbc.list = folio_list; in pageout() 1049 static unsigned int shrink_folio_list(struct list_head *folio_list, in shrink_folio_list() argument 1067 while (!list_empty(folio_list)) { in shrink_folio_list() 1076 folio = lru_to_folio(folio_list); in shrink_folio_list() 1200 list_add_tail(&folio->lru, folio_list); in shrink_folio_list() 1251 split_folio_to_list(folio, folio_list)) in shrink_folio_list() 1260 if (split_folio_to_list(folio, folio_list)) in shrink_folio_list() 1374 switch (pageout(folio, mapping, &plug, folio_list)) { in shrink_folio_list() 1530 list_splice_init(&demote_folios, folio_list); in shrink_folio_list() [all …]
|
H A D | hugetlb.c | 1779 struct list_head *folio_list, in bulk_vmemmap_restore_error() argument 1811 list_for_each_entry_safe(folio, t_folio, folio_list, lru) in bulk_vmemmap_restore_error() 1830 struct list_head *folio_list) in update_and_free_pages_bulk() argument 1842 ret = hugetlb_vmemmap_restore_folios(h, folio_list, &non_hvo_folios); in update_and_free_pages_bulk() 1844 bulk_vmemmap_restore_error(h, folio_list, &non_hvo_folios); in update_and_free_pages_bulk() 1855 VM_WARN_ON(!list_empty(folio_list)); in update_and_free_pages_bulk() 2105 struct list_head *folio_list) in prep_and_add_allocated_folios() argument 2111 hugetlb_vmemmap_optimize_folios(h, folio_list); in prep_and_add_allocated_folios() 2115 list_for_each_entry_safe(folio, tmp_f, folio_list, lru) { in prep_and_add_allocated_folios() 3206 struct list_head *folio_list) in prep_and_add_bootmem_folios() argument [all …]
|
H A D | madvise.c | 356 LIST_HEAD(folio_list); in madvise_cold_or_pageout_pte_range() 427 list_add(&folio->lru, &folio_list); in madvise_cold_or_pageout_pte_range() 434 reclaim_pages(&folio_list); in madvise_cold_or_pageout_pte_range() 547 list_add(&folio->lru, &folio_list); in madvise_cold_or_pageout_pte_range() 558 reclaim_pages(&folio_list);
|
H A D | internal.h | 1139 unsigned long reclaim_pages(struct list_head *folio_list); 1141 struct list_head *folio_list);
|