Lines Matching refs:zone
254 pg_data_t *pgdat, struct zone *zone) in pagetypeinfo_showmixedcount_print() argument
259 unsigned long pfn = zone->zone_start_pfn, block_end_pfn; in pagetypeinfo_showmixedcount_print()
260 unsigned long end_pfn = pfn + zone->spanned_pages; in pagetypeinfo_showmixedcount_print()
266 pfn = zone->zone_start_pfn; in pagetypeinfo_showmixedcount_print()
292 if (page_zone(page) != zone) in pagetypeinfo_showmixedcount_print()
331 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); in pagetypeinfo_showmixedcount_print()
546 static void init_pages_in_zone(pg_data_t *pgdat, struct zone *zone) in init_pages_in_zone() argument
548 unsigned long pfn = zone->zone_start_pfn; in init_pages_in_zone()
549 unsigned long end_pfn = zone_end_pfn(zone); in init_pages_in_zone()
577 if (page_zone(page) != zone) in init_pages_in_zone()
615 pgdat->node_id, zone->name, count); in init_pages_in_zone()
620 struct zone *zone; in init_zones_in_node() local
621 struct zone *node_zones = pgdat->node_zones; in init_zones_in_node()
623 for (zone = node_zones; zone - node_zones < MAX_NR_ZONES; ++zone) { in init_zones_in_node()
624 if (!populated_zone(zone)) in init_zones_in_node()
627 init_pages_in_zone(pgdat, zone); in init_zones_in_node()