Lines Matching refs:ms
188 struct mem_section *ms; in register_page_bootmem_info_section() local
192 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
195 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section()
222 struct mem_section *ms; in register_page_bootmem_info_section() local
229 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
231 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section()
527 struct mem_section *ms; in find_smallest_section_pfn() local
530 ms = __pfn_to_section(start_pfn); in find_smallest_section_pfn()
532 if (unlikely(!valid_section(ms))) in find_smallest_section_pfn()
552 struct mem_section *ms; in find_biggest_section_pfn() local
558 ms = __pfn_to_section(pfn); in find_biggest_section_pfn()
560 if (unlikely(!valid_section(ms))) in find_biggest_section_pfn()
582 struct mem_section *ms; in shrink_zone_span() local
620 ms = __pfn_to_section(pfn); in shrink_zone_span()
622 if (unlikely(!valid_section(ms))) in shrink_zone_span()
650 struct mem_section *ms; in shrink_pgdat_span() local
688 ms = __pfn_to_section(pfn); in shrink_pgdat_span()
690 if (unlikely(!valid_section(ms))) in shrink_pgdat_span()
724 static int __remove_section(struct zone *zone, struct mem_section *ms) in __remove_section() argument
730 if (!valid_section(ms)) in __remove_section()
733 ret = unregister_memory_section(ms); in __remove_section()
737 scn_nr = __section_nr(ms); in __remove_section()
741 sparse_remove_one_section(zone, ms); in __remove_section()