Lines Matching refs:start_pfn
129 static void __meminit mminit_validate_memmodel_limits(unsigned long *start_pfn, in mminit_validate_memmodel_limits() argument
138 if (*start_pfn > max_sparsemem_pfn) { in mminit_validate_memmodel_limits()
141 *start_pfn, *end_pfn, max_sparsemem_pfn); in mminit_validate_memmodel_limits()
143 *start_pfn = max_sparsemem_pfn; in mminit_validate_memmodel_limits()
148 *start_pfn, *end_pfn, max_sparsemem_pfn); in mminit_validate_memmodel_limits()
592 void online_mem_sections(unsigned long start_pfn, unsigned long end_pfn) in online_mem_sections() argument
596 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in online_mem_sections()
610 void offline_mem_sections(unsigned long start_pfn, unsigned long end_pfn) in offline_mem_sections() argument
614 for (pfn = start_pfn; pfn < end_pfn; pfn += PAGES_PER_SECTION) { in offline_mem_sections()
889 int __meminit sparse_add_section(int nid, unsigned long start_pfn, in sparse_add_section() argument
893 unsigned long section_nr = pfn_to_section_nr(start_pfn); in sparse_add_section()
902 memmap = section_activate(nid, start_pfn, nr_pages, altmap, pgmap); in sparse_add_section()
917 if (section_nr_to_pfn(section_nr) != start_pfn) in sparse_add_section()