Lines Matching refs:start_pfn
188 static bool pages_correctly_reserved(unsigned long start_pfn) in pages_correctly_reserved() argument
192 unsigned long pfn = start_pfn; in pages_correctly_reserved()
227 unsigned long start_pfn; in memory_block_action() local
232 start_pfn = section_nr_to_pfn(phys_index); in memory_block_action()
233 first_page = pfn_to_page(start_pfn); in memory_block_action()
237 if (!pages_correctly_reserved(start_pfn)) in memory_block_action()
240 ret = online_pages(start_pfn, nr_pages, online_type); in memory_block_action()
243 ret = offline_pages(start_pfn, nr_pages); in memory_block_action()
390 unsigned long start_pfn, end_pfn; in show_valid_zones() local
395 start_pfn = section_nr_to_pfn(mem->start_section_nr); in show_valid_zones()
396 end_pfn = start_pfn + nr_pages; in show_valid_zones()
397 first_page = pfn_to_page(start_pfn); in show_valid_zones()
400 if (!test_pages_in_a_zone(start_pfn, end_pfn)) in show_valid_zones()
414 if (start_pfn == zone->zone_start_pfn) in show_valid_zones()
532 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
608 unsigned long start_pfn; in init_memory_block() local
622 start_pfn = section_nr_to_pfn(mem->start_section_nr); in init_memory_block()
623 mem->phys_device = arch_get_memory_phys_device(start_pfn); in init_memory_block()