Lines Matching refs:freepage
1248 move_freelist_head(struct list_head *freelist, struct page *freepage) in move_freelist_head() argument
1252 if (!list_is_last(freelist, &freepage->lru)) { in move_freelist_head()
1253 list_cut_before(&sublist, freelist, &freepage->lru); in move_freelist_head()
1266 move_freelist_tail(struct list_head *freelist, struct page *freepage) in move_freelist_tail() argument
1270 if (!list_is_first(freelist, &freepage->lru)) { in move_freelist_tail()
1271 list_cut_position(&sublist, freelist, &freepage->lru); in move_freelist_tail()
1373 struct page *freepage; in fast_isolate_freepages() local
1383 list_for_each_entry_reverse(freepage, freelist, lru) { in fast_isolate_freepages()
1388 pfn = page_to_pfn(freepage); in fast_isolate_freepages()
1397 page = freepage; in fast_isolate_freepages()
1417 freepage = page; in fast_isolate_freepages()
1421 move_freelist_head(freelist, freepage); in fast_isolate_freepages()
1610 struct page *freepage; in compaction_alloc() local
1619 freepage = list_entry(cc->freepages.next, struct page, lru); in compaction_alloc()
1620 list_del(&freepage->lru); in compaction_alloc()
1623 return freepage; in compaction_alloc()
1741 struct page *freepage; in fast_find_migrateblock() local
1748 list_for_each_entry(freepage, freelist, lru) { in fast_find_migrateblock()
1752 move_freelist_tail(freelist, freepage); in fast_find_migrateblock()
1756 free_pfn = page_to_pfn(freepage); in fast_find_migrateblock()
1764 if (get_pageblock_skip(freepage)) in fast_find_migrateblock()
1768 move_freelist_tail(freelist, freepage); in fast_find_migrateblock()
1776 set_pageblock_skip(freepage); in fast_find_migrateblock()