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()
223 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in memory_block_offline() local
233 adjust_present_page_count(pfn_to_page(start_pfn), mem->group, in memory_block_offline()
236 ret = offline_pages(start_pfn + nr_vmemmap_pages, in memory_block_offline()
241 adjust_present_page_count(pfn_to_page(start_pfn), in memory_block_offline()
247 mhp_deinit_memmap_on_memory(start_pfn, nr_vmemmap_pages); in memory_block_offline()
376 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in phys_device_show() local
379 arch_get_memory_phys_device(start_pfn)); in phys_device_show()
385 unsigned long start_pfn, unsigned long nr_pages, in print_allowed_zone() argument
390 zone = zone_for_pfn_range(online_type, nid, group, start_pfn, nr_pages); in print_allowed_zone()
401 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in valid_zones_show() local
417 default_zone = test_pages_in_a_zone(start_pfn, in valid_zones_show()
418 start_pfn + nr_pages); in valid_zones_show()
426 start_pfn, nr_pages); in valid_zones_show()
429 len += print_allowed_zone(buf, len, nid, group, start_pfn, nr_pages, in valid_zones_show()
431 len += print_allowed_zone(buf, len, nid, group, start_pfn, nr_pages, in valid_zones_show()
566 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument