Home
last modified time | relevance | path

Searched refs:__nr_to_section (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/mm/
Dsparse.c208 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()
Dbootmem_info.c51 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()
Dmemory_hotplug.c268 ms = __nr_to_section(nr); in pfn_to_online_page()
/linux-6.1.9/include/asm-generic/
Dmemory_model.h36 (unsigned long)(__pg - __section_mem_map_addr(__nr_to_section(__sec))); \
/linux-6.1.9/include/linux/
Dmmzone.h1687 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section() function
1754 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()