Lines Matching refs:section_nr
37 static inline int base_memory_block_id(int section_nr) in base_memory_block_id() argument
39 return section_nr / sections_per_block; in base_memory_block_id()
196 unsigned long section_nr = pfn_to_section_nr(start_pfn); in pages_correctly_probed() local
197 unsigned long section_nr_end = section_nr + sections_per_block; in pages_correctly_probed()
205 for (; section_nr < section_nr_end; section_nr++) { in pages_correctly_probed()
209 if (!present_section_nr(section_nr)) { in pages_correctly_probed()
211 section_nr, pfn, pfn + PAGES_PER_SECTION); in pages_correctly_probed()
213 } else if (!valid_section_nr(section_nr)) { in pages_correctly_probed()
215 section_nr, pfn, pfn + PAGES_PER_SECTION); in pages_correctly_probed()
217 } else if (online_section_nr(section_nr)) { in pages_correctly_probed()
219 section_nr, pfn, pfn + PAGES_PER_SECTION); in pages_correctly_probed()
694 int i, ret, section_count = 0, section_nr; in add_memory_block() local
702 section_nr = i; in add_memory_block()
708 ret = init_memory_block(&mem, __nr_to_section(section_nr), MEM_ONLINE); in add_memory_block()