• Home
  • Raw
  • Download

Lines Matching refs:start_pfn

191 static bool pages_correctly_probed(unsigned long start_pfn)  in pages_correctly_probed()  argument
193 unsigned long section_nr = pfn_to_section_nr(start_pfn); in pages_correctly_probed()
195 unsigned long pfn = start_pfn; in pages_correctly_probed()
233 unsigned long start_pfn; in memory_block_action() local
237 start_pfn = section_nr_to_pfn(start_section_nr); in memory_block_action()
241 if (!pages_correctly_probed(start_pfn)) in memory_block_action()
244 ret = online_pages(start_pfn, nr_pages, online_type); in memory_block_action()
247 ret = offline_pages(start_pfn, nr_pages); in memory_block_action()
382 static void print_allowed_zone(char *buf, int nid, unsigned long start_pfn, in print_allowed_zone() argument
388 zone = zone_for_pfn_range(online_type, nid, start_pfn, nr_pages); in print_allowed_zone()
399 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in valid_zones_show() local
414 if (!test_pages_in_a_zone(start_pfn, start_pfn + nr_pages, in valid_zones_show()
417 start_pfn = valid_start_pfn; in valid_zones_show()
418 strcat(buf, page_zone(pfn_to_page(start_pfn))->name); in valid_zones_show()
423 default_zone = zone_for_pfn_range(MMOP_ONLINE_KEEP, nid, start_pfn, nr_pages); in valid_zones_show()
426 print_allowed_zone(buf, nid, start_pfn, nr_pages, MMOP_ONLINE_KERNEL, in valid_zones_show()
428 print_allowed_zone(buf, nid, start_pfn, nr_pages, MMOP_ONLINE_MOVABLE, in valid_zones_show()
575 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
649 unsigned long start_pfn; in init_memory_block() local
663 start_pfn = section_nr_to_pfn(mem->start_section_nr); in init_memory_block()
664 mem->phys_device = arch_get_memory_phys_device(start_pfn); in init_memory_block()