Lines Matching refs:start_pfn
180 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in memory_block_online() local
187 start_pfn, nr_pages); in memory_block_online()
197 ret = mhp_init_memmap_on_memory(start_pfn, nr_vmemmap_pages, zone); in memory_block_online()
202 ret = online_pages(start_pfn + nr_vmemmap_pages, in memory_block_online()
206 mhp_deinit_memmap_on_memory(start_pfn, nr_vmemmap_pages); in memory_block_online()
215 adjust_present_page_count(pfn_to_page(start_pfn), mem->group, in memory_block_online()
224 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in memory_block_offline() local
237 adjust_present_page_count(pfn_to_page(start_pfn), mem->group, in memory_block_offline()
240 ret = offline_pages(start_pfn + nr_vmemmap_pages, in memory_block_offline()
245 adjust_present_page_count(pfn_to_page(start_pfn), in memory_block_offline()
251 mhp_deinit_memmap_on_memory(start_pfn, nr_vmemmap_pages); in memory_block_offline()
381 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in phys_device_show() local
384 arch_get_memory_phys_device(start_pfn)); in phys_device_show()
390 unsigned long start_pfn, unsigned long nr_pages, in print_allowed_zone() argument
395 zone = zone_for_pfn_range(online_type, nid, group, start_pfn, nr_pages); in print_allowed_zone()
406 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in valid_zones_show() local
430 start_pfn, nr_pages); in valid_zones_show()
433 len += print_allowed_zone(buf, len, nid, group, start_pfn, nr_pages, in valid_zones_show()
435 len += print_allowed_zone(buf, len, nid, group, start_pfn, nr_pages, in valid_zones_show()
572 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
648 const unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in early_node_zone_for_memory_block() local
666 if (!zone_intersects(zone, start_pfn, nr_pages)) in early_node_zone_for_memory_block()