Lines Matching refs:zone_start_pfn

914 	unsigned long zone_start_pfn = zone->zone_start_pfn;  in memmap_init_zone_range()  local
915 unsigned long zone_end_pfn = zone_start_pfn + zone->spanned_pages; in memmap_init_zone_range()
918 start_pfn = clamp(start_pfn, zone_start_pfn, zone_end_pfn); in memmap_init_zone_range()
919 end_pfn = clamp(end_pfn, zone_start_pfn, zone_end_pfn); in memmap_init_zone_range()
1119 unsigned long *zone_start_pfn, in adjust_zone_range_for_zone_movable() argument
1126 *zone_start_pfn = zone_movable_pfn[nid]; in adjust_zone_range_for_zone_movable()
1132 *zone_start_pfn < zone_movable_pfn[nid] && in adjust_zone_range_for_zone_movable()
1137 } else if (*zone_start_pfn >= zone_movable_pfn[nid]) in adjust_zone_range_for_zone_movable()
1138 *zone_start_pfn = *zone_end_pfn; in adjust_zone_range_for_zone_movable()
1178 unsigned long zone_start_pfn, in zone_absent_pages_in_node() argument
1184 if (zone_start_pfn == zone_end_pfn) in zone_absent_pages_in_node()
1187 nr_absent = __absent_pages_in_range(nid, zone_start_pfn, zone_end_pfn); in zone_absent_pages_in_node()
1200 zone_start_pfn, zone_end_pfn); in zone_absent_pages_in_node()
1202 zone_start_pfn, zone_end_pfn); in zone_absent_pages_in_node()
1225 unsigned long *zone_start_pfn, in zone_spanned_pages_in_node() argument
1232 *zone_start_pfn = clamp(node_start_pfn, zone_low, zone_high); in zone_spanned_pages_in_node()
1235 zone_start_pfn, zone_end_pfn); in zone_spanned_pages_in_node()
1238 if (*zone_end_pfn < node_start_pfn || *zone_start_pfn > node_end_pfn) in zone_spanned_pages_in_node()
1243 *zone_start_pfn = max(*zone_start_pfn, node_start_pfn); in zone_spanned_pages_in_node()
1246 return *zone_end_pfn - *zone_start_pfn; in zone_spanned_pages_in_node()
1254 z->zone_start_pfn = 0; in reset_memoryless_node_totalpages()
1276 unsigned long zone_start_pfn, zone_end_pfn; in calculate_node_totalpages() local
1283 &zone_start_pfn, in calculate_node_totalpages()
1286 zone_start_pfn, in calculate_node_totalpages()
1292 zone->zone_start_pfn = zone_start_pfn; in calculate_node_totalpages()
1294 zone->zone_start_pfn = 0; in calculate_node_totalpages()
1398 unsigned long zone_start_pfn, in init_currently_empty_zone() argument
1407 zone->zone_start_pfn = zone_start_pfn; in init_currently_empty_zone()
1413 zone_start_pfn, (zone_start_pfn + size)); in init_currently_empty_zone()
1427 static unsigned long __init usemap_size(unsigned long zone_start_pfn, unsigned long zonesize) in usemap_size() argument
1431 zonesize += zone_start_pfn & (pageblock_nr_pages-1); in usemap_size()
1442 unsigned long usemapsize = usemap_size(zone->zone_start_pfn, in setup_usemap()
1610 init_currently_empty_zone(zone, zone->zone_start_pfn, size); in free_area_init_core()
2361 unsigned long block_start_pfn = zone->zone_start_pfn; in set_zone_contiguous()