Lines Matching refs:pfn
281 unsigned long pfn, block_end_pfn; in pagetypeinfo_showmixedcount_print() local
288 pfn = zone->zone_start_pfn; in pagetypeinfo_showmixedcount_print()
295 for (; pfn < end_pfn; ) { in pagetypeinfo_showmixedcount_print()
296 page = pfn_to_online_page(pfn); in pagetypeinfo_showmixedcount_print()
298 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in pagetypeinfo_showmixedcount_print()
302 block_end_pfn = pageblock_end_pfn(pfn); in pagetypeinfo_showmixedcount_print()
307 for (; pfn < block_end_pfn; pfn++) { in pagetypeinfo_showmixedcount_print()
309 page = pfn_to_page(pfn); in pagetypeinfo_showmixedcount_print()
319 pfn += (1UL << freepage_order) - 1; in pagetypeinfo_showmixedcount_print()
341 pfn = block_end_pfn; in pagetypeinfo_showmixedcount_print()
345 pfn += (1UL << page_owner->order) - 1; in pagetypeinfo_showmixedcount_print()
398 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner() argument
422 pfn, in print_page_owner()
424 pfn >> pageblock_order, in print_page_owner()
511 unsigned long pfn; in read_page_owner() local
522 pfn = min_low_pfn; in read_page_owner()
524 pfn = *ppos; in read_page_owner()
526 while (!pfn_valid(pfn) && (pfn & (MAX_ORDER_NR_PAGES - 1)) != 0) in read_page_owner()
527 pfn++; in read_page_owner()
530 for (; pfn < max_pfn; pfn++) { in read_page_owner()
543 if ((pfn & (MAX_ORDER_NR_PAGES - 1)) == 0 && !pfn_valid(pfn)) { in read_page_owner()
544 pfn += MAX_ORDER_NR_PAGES - 1; in read_page_owner()
548 page = pfn_to_page(pfn); in read_page_owner()
553 pfn += (1UL << freepage_order) - 1; in read_page_owner()
581 if (!IS_ALIGNED(pfn, 1 << page_owner->order)) in read_page_owner()
593 *ppos = pfn + 1; in read_page_owner()
597 return print_page_owner(buf, count, pfn, page, in read_page_owner()
623 unsigned long pfn = zone->zone_start_pfn; in init_pages_in_zone() local
632 for (; pfn < end_pfn; ) { in init_pages_in_zone()
635 if (!pfn_valid(pfn)) { in init_pages_in_zone()
636 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone()
640 block_end_pfn = pageblock_end_pfn(pfn); in init_pages_in_zone()
643 for (; pfn < block_end_pfn; pfn++) { in init_pages_in_zone()
644 struct page *page = pfn_to_page(pfn); in init_pages_in_zone()
661 pfn += (1UL << order) - 1; in init_pages_in_zone()