Lines Matching refs:page
22 /* request page reporting */
49 /* notify prdev of free page reporting request */
75 * free lists/areas. We assume at least one page is populated.
78 struct page *page = sg_page(sg);
79 int mt = get_pageblock_migratetype(page);
82 __putback_isolated_page(page, order, mt);
89 * If page was not comingled with another page we can
90 * consider the result to be "reported" since the page
92 * report on the new larger page when we make our way
95 if (PageBuddy(page) && buddy_order(page) == order)
96 __SetPageReported(page);
104 * The page reporting cycle consists of 4 stages, fill, report, drain, and
116 struct page *page, *next;
130 * Limit how many calls we will be making to the page reporting
146 list_for_each_entry_safe(page, next, list, lru) {
148 if (PageReported(page))
158 next = page;
162 /* Attempt to pull page from list and place in scatterlist */
164 if (!__isolate_free_page(page, order)) {
165 next = page;
169 /* Add page to scatter list */
171 sg_set_page(&sgl[*offset], page, page_len, 0);
177 * Make the first non-reported page in the free list
181 if (!list_is_first(&page->lru, list))
182 list_rotate_to_front(&page->lru, list);
206 next = list_first_entry(list, struct page, lru);
236 * to allocate page reporting statistics for the zone.
281 * anyone requests page reporting after we complete our pass. If
337 /* enable page reporting notification */
340 pr_info("Free page reporting enabled\n");
354 /* Disable page reporting notification */