Searched refs:__nr_to_section (Results 1 – 5 of 5) sorted by relevance
208 ms = __nr_to_section(nr); in subsection_map_init()252 ms = __nr_to_section(section); in memory_present()388 usemap_nid = sparse_early_nid(__nr_to_section(usemap_snr)); in check_usemap_section_nr()537 sparse_init_one_section(__nr_to_section(pnum), pnum, map, usage, in sparse_init_nid()550 ms = __nr_to_section(pnum); in sparse_init_nid()567 nid_begin = sparse_early_nid(__nr_to_section(pnum_begin)); in sparse_init()573 int nid = sparse_early_nid(__nr_to_section(pnum_end)); in sparse_init()605 ms = __nr_to_section(section_nr); in online_mem_sections()626 ms = __nr_to_section(section_nr); in offline_mem_sections()913 ms = __nr_to_section(section_nr); in sparse_add_section()
51 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()86 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
268 ms = __nr_to_section(nr); in pfn_to_online_page()
36 (unsigned long)(__pg - __section_mem_map_addr(__nr_to_section(__sec))); \
1687 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section() function1754 return present_section(__nr_to_section(nr)); in present_section_nr()1769 return valid_section(__nr_to_section(nr)); in valid_section_nr()1793 return online_section(__nr_to_section(nr)); in online_section_nr()1803 return __nr_to_section(pfn_to_section_nr(pfn)); in __pfn_to_section()