Lines Matching refs:zone
228 static void init_pages_in_zone(pg_data_t *pgdat, struct zone *zone) in init_pages_in_zone() argument
232 unsigned long pfn = zone->zone_start_pfn, block_end_pfn; in init_pages_in_zone()
233 unsigned long end_pfn = pfn + zone->spanned_pages; in init_pages_in_zone()
237 pfn = zone->zone_start_pfn; in init_pages_in_zone()
288 pgdat->node_id, zone->name, count); in init_pages_in_zone()
293 struct zone *zone; in init_zones_in_node() local
294 struct zone *node_zones = pgdat->node_zones; in init_zones_in_node()
297 for (zone = node_zones; zone - node_zones < MAX_NR_ZONES; ++zone) { in init_zones_in_node()
298 if (!populated_zone(zone)) in init_zones_in_node()
301 spin_lock_irqsave(&zone->lock, flags); in init_zones_in_node()
302 init_pages_in_zone(pgdat, zone); in init_zones_in_node()
303 spin_unlock_irqrestore(&zone->lock, flags); in init_zones_in_node()