Searched refs:zone_end_pfn (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/arch/x86/mm/
H A Dhighmem_32.c118 unsigned long zone_start_pfn, zone_end_pfn; for_each_zone() local
124 zone_end_pfn = zone_start_pfn + zone->spanned_pages; for_each_zone()
128 zone->name, nid, zone_start_pfn, zone_end_pfn); for_each_zone()
131 zone_end_pfn); for_each_zone()
/linux-4.4.14/mm/
H A Dmemory_hotplug.c295 old_zone_end_pfn = zone_end_pfn(zone); grow_zone_span()
361 if (end_pfn > zone_end_pfn(z2)) move_pfn_range_left()
377 resize_zone(z2, end_pfn, zone_end_pfn(z2)); move_pfn_range_left()
406 if (zone_end_pfn(z1) > end_pfn) move_pfn_range_right()
409 if (start_pfn >= zone_end_pfn(z1)) move_pfn_range_right()
414 z2_end_pfn = zone_end_pfn(z2); move_pfn_range_right()
588 unsigned long z = zone_end_pfn(zone); /* zone_end_pfn namespace clash */ shrink_zone_span()
589 unsigned long zone_end_pfn = z; shrink_zone_span() local
603 zone_end_pfn); shrink_zone_span()
606 zone->spanned_pages = zone_end_pfn - pfn; shrink_zone_span()
608 } else if (zone_end_pfn == end_pfn) { shrink_zone_span()
628 for (; pfn < zone_end_pfn; pfn += PAGES_PER_SECTION) { shrink_zone_span()
H A Dpage_alloc.c937 if (pfn >= zone->zone_start_pfn && pfn < zone_end_pfn(zone)) init_reserved_page()
1169 if (first_init_pfn < zone_end_pfn(zone)) deferred_init_memmap()
1180 end_pfn = min(walk_end, zone_end_pfn(zone)); deferred_init_memmap()
2018 max_zone_pfn = zone_end_pfn(zone); mark_free_pages()
4923 unsigned long *zone_end_pfn) adjust_zone_range_for_zone_movable()
4930 *zone_end_pfn = min(node_end_pfn, adjust_zone_range_for_zone_movable()
4935 *zone_end_pfn > zone_movable_pfn[nid]) { adjust_zone_range_for_zone_movable()
4936 *zone_end_pfn = zone_movable_pfn[nid]; adjust_zone_range_for_zone_movable()
4940 *zone_start_pfn = *zone_end_pfn; adjust_zone_range_for_zone_movable()
4954 unsigned long zone_start_pfn, zone_end_pfn; zone_spanned_pages_in_node() local
4962 zone_end_pfn = arch_zone_highest_possible_pfn[zone_type]; zone_spanned_pages_in_node()
4965 &zone_start_pfn, &zone_end_pfn); zone_spanned_pages_in_node()
4968 if (zone_end_pfn < node_start_pfn || zone_start_pfn > node_end_pfn) zone_spanned_pages_in_node()
4972 zone_end_pfn = min(zone_end_pfn, node_end_pfn); zone_spanned_pages_in_node()
4976 return zone_end_pfn - zone_start_pfn; zone_spanned_pages_in_node()
5021 unsigned long zone_start_pfn, zone_end_pfn; zone_absent_pages_in_node() local
5028 zone_end_pfn = clamp(node_end_pfn, zone_low, zone_high); zone_absent_pages_in_node()
5032 &zone_start_pfn, &zone_end_pfn); zone_absent_pages_in_node()
5033 return __absent_pages_in_range(nid, zone_start_pfn, zone_end_pfn); zone_absent_pages_in_node()
4918 adjust_zone_range_for_zone_movable(int nid, unsigned long zone_type, unsigned long node_start_pfn, unsigned long node_end_pfn, unsigned long *zone_start_pfn, unsigned long *zone_end_pfn) adjust_zone_range_for_zone_movable() argument
H A Dcompaction.c203 zone->compact_cached_free_pfn = zone_end_pfn(zone); reset_cached_positions()
214 unsigned long end_pfn = zone_end_pfn(zone); __reset_isolation_suitable()
957 zone_end_pfn(zone)); isolate_freepages()
1335 unsigned long end_pfn = zone_end_pfn(zone); compact_zone()
H A Dvmstat.c1004 unsigned long end_pfn = zone_end_pfn(zone); pagetypeinfo_showblockcount_print()
/linux-4.4.14/include/linux/
H A Dmmzone.h391 * spanned_pages = zone_end_pfn - zone_start_pfn;
549 static inline unsigned long zone_end_pfn(const struct zone *zone) zone_end_pfn() function
556 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); zone_spans_pfn()
/linux-4.4.14/kernel/power/
H A Dsnapshot.c525 zone_end = zone_end_pfn(zone); for_each_populated_zone()
1121 max_zone_pfn = zone_end_pfn(zone); for_each_populated_zone()
1185 max_zone_pfn = zone_end_pfn(zone); for_each_populated_zone()
1278 max_zone_pfn = zone_end_pfn(zone); for_each_populated_zone()
2015 max_zone_pfn = zone_end_pfn(zone); for_each_populated_zone()
/linux-4.4.14/drivers/base/
H A Dmemory.c407 if (end_pfn == zone_end_pfn(zone)) show_valid_zones()

Completed in 344 milliseconds