Lines Matching refs:pfn

265 	unsigned long pfn, block_end_pfn;  in pagetypeinfo_showmixedcount_print()  local
272 pfn = zone->zone_start_pfn; in pagetypeinfo_showmixedcount_print()
279 for (; pfn < end_pfn; ) { in pagetypeinfo_showmixedcount_print()
280 page = pfn_to_online_page(pfn); in pagetypeinfo_showmixedcount_print()
282 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
286 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in pagetypeinfo_showmixedcount_print()
291 for (; pfn < block_end_pfn; pfn++) { in pagetypeinfo_showmixedcount_print()
293 page = pfn_to_page(pfn); in pagetypeinfo_showmixedcount_print()
303 pfn += (1UL << freepage_order) - 1; in pagetypeinfo_showmixedcount_print()
325 pfn = block_end_pfn; in pagetypeinfo_showmixedcount_print()
328 pfn += (1UL << page_owner->order) - 1; in pagetypeinfo_showmixedcount_print()
379 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner() argument
403 pfn, in print_page_owner()
405 pfn >> pageblock_order, in print_page_owner()
490 unsigned long pfn; in read_page_owner() local
500 pfn = min_low_pfn + *ppos; in read_page_owner()
503 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
504 pfn++; in read_page_owner()
509 for (; pfn < max_pfn; pfn++) { in read_page_owner()
514 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
515 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
519 page = pfn_to_page(pfn); in read_page_owner()
524 pfn += (1UL << freepage_order) - 1; in read_page_owner()
552 if (!IS_ALIGNED(pfn, 1 << page_owner->order)) in read_page_owner()
564 *ppos = (pfn - min_low_pfn) + 1; in read_page_owner()
566 return print_page_owner(buf, count, pfn, page, in read_page_owner()
575 unsigned long pfn = zone->zone_start_pfn; in init_pages_in_zone() local
584 for (; pfn < end_pfn; ) { in init_pages_in_zone()
587 if (!pfn_valid(pfn)) { in init_pages_in_zone()
588 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
592 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in init_pages_in_zone()
595 for (; pfn < block_end_pfn; pfn++) { in init_pages_in_zone()
596 struct page *page = pfn_to_page(pfn); in init_pages_in_zone()
613 pfn += (1UL << order) - 1; in init_pages_in_zone()