Lines Matching refs:pfn
279 unsigned long pfn, block_end_pfn; in pagetypeinfo_showmixedcount_print() local
286 pfn = zone->zone_start_pfn; in pagetypeinfo_showmixedcount_print()
293 for (; pfn < end_pfn; ) { in pagetypeinfo_showmixedcount_print()
294 page = pfn_to_online_page(pfn); in pagetypeinfo_showmixedcount_print()
296 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
300 block_end_pfn = pageblock_end_pfn(pfn); in pagetypeinfo_showmixedcount_print()
305 for (; pfn < block_end_pfn; pfn++) { in pagetypeinfo_showmixedcount_print()
307 page = pfn_to_page(pfn); in pagetypeinfo_showmixedcount_print()
317 pfn += (1UL << freepage_order) - 1; in pagetypeinfo_showmixedcount_print()
339 pfn = block_end_pfn; in pagetypeinfo_showmixedcount_print()
343 pfn += (1UL << page_owner->order) - 1; in pagetypeinfo_showmixedcount_print()
396 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner() argument
420 pfn, in print_page_owner()
422 pfn >> pageblock_order, in print_page_owner()
509 unsigned long pfn; in read_page_owner() local
520 pfn = min_low_pfn; in read_page_owner()
522 pfn = *ppos; in read_page_owner()
524 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
525 pfn++; in read_page_owner()
528 for (; pfn < max_pfn; pfn++) { in read_page_owner()
541 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
542 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
546 page = pfn_to_page(pfn); in read_page_owner()
551 pfn += (1UL << freepage_order) - 1; in read_page_owner()
579 if (!IS_ALIGNED(pfn, 1 << page_owner->order)) in read_page_owner()
591 *ppos = pfn + 1; in read_page_owner()
595 return print_page_owner(buf, count, pfn, page, in read_page_owner()
621 unsigned long pfn = zone->zone_start_pfn; in init_pages_in_zone() local
630 for (; pfn < end_pfn; ) { in init_pages_in_zone()
633 if (!pfn_valid(pfn)) { in init_pages_in_zone()
634 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
638 block_end_pfn = pageblock_end_pfn(pfn); in init_pages_in_zone()
641 for (; pfn < block_end_pfn; pfn++) { in init_pages_in_zone()
642 struct page *page = pfn_to_page(pfn); in init_pages_in_zone()
659 pfn += (1UL << order) - 1; in init_pages_in_zone()