Lines Matching refs:start_pfn

194 static bool pages_correctly_probed(unsigned long start_pfn)  in pages_correctly_probed()  argument
196 unsigned long section_nr = pfn_to_section_nr(start_pfn); in pages_correctly_probed()
198 unsigned long pfn = start_pfn; in pages_correctly_probed()
236 unsigned long start_pfn; in memory_block_action() local
240 start_pfn = section_nr_to_pfn(phys_index); in memory_block_action()
244 if (!pages_correctly_probed(start_pfn)) in memory_block_action()
247 ret = online_pages(start_pfn, nr_pages, online_type); in memory_block_action()
250 ret = offline_pages(start_pfn, nr_pages); in memory_block_action()
396 static void print_allowed_zone(char *buf, int nid, unsigned long start_pfn, in print_allowed_zone() argument
402 zone = zone_for_pfn_range(online_type, nid, start_pfn, nr_pages); in print_allowed_zone()
413 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in show_valid_zones() local
428 if (!test_pages_in_a_zone(start_pfn, start_pfn + nr_pages, in show_valid_zones()
431 start_pfn = valid_start_pfn; in show_valid_zones()
432 strcat(buf, page_zone(pfn_to_page(start_pfn))->name); in show_valid_zones()
437 default_zone = zone_for_pfn_range(MMOP_ONLINE_KEEP, nid, start_pfn, nr_pages); in show_valid_zones()
440 print_allowed_zone(buf, nid, start_pfn, nr_pages, MMOP_ONLINE_KERNEL, in show_valid_zones()
442 print_allowed_zone(buf, nid, start_pfn, nr_pages, MMOP_ONLINE_MOVABLE, in show_valid_zones()
587 int __weak arch_get_memory_phys_device(unsigned long start_pfn) in arch_get_memory_phys_device() argument
669 unsigned long start_pfn; in init_memory_block() local
682 start_pfn = section_nr_to_pfn(mem->start_section_nr); in init_memory_block()
683 mem->phys_device = arch_get_memory_phys_device(start_pfn); in init_memory_block()