Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 4 of 4) sorted by relevance

/mm/
Dsparse.c108 int __section_nr(struct mem_section* ms) in __section_nr() argument
118 if ((ms >= root) && (ms < (root + SECTIONS_PER_ROOT))) in __section_nr()
124 return (root_nr * SECTIONS_PER_ROOT) + (ms - root); in __section_nr()
178 struct mem_section *ms; in memory_present() local
183 ms = __nr_to_section(section); in memory_present()
184 if (!ms->section_mem_map) in memory_present()
185 ms->section_mem_map = sparse_encode_early_nid(nid) | in memory_present()
232 static int __meminit sparse_init_one_section(struct mem_section *ms, in sparse_init_one_section() argument
236 if (!present_section(ms)) in sparse_init_one_section()
239 ms->section_mem_map &= ~SECTION_MAP_MASK; in sparse_init_one_section()
[all …]
Dmemory_hotplug.c189 struct mem_section *ms; in register_page_bootmem_info_section() local
193 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
196 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section()
223 struct mem_section *ms; in register_page_bootmem_info_section() local
230 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
232 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section()
537 struct mem_section *ms; in find_smallest_section_pfn() local
540 ms = __pfn_to_section(start_pfn); in find_smallest_section_pfn()
542 if (unlikely(!valid_section(ms))) in find_smallest_section_pfn()
562 struct mem_section *ms; in find_biggest_section_pfn() local
[all …]
Dpage_ext.c265 struct mem_section *ms; in __free_page_ext() local
268 ms = __pfn_to_section(pfn); in __free_page_ext()
269 if (!ms || !ms->page_ext) in __free_page_ext()
271 base = ms->page_ext + pfn; in __free_page_ext()
273 ms->page_ext = NULL; in __free_page_ext()
Dsparse-vmemmap.c214 struct mem_section *ms; in sparse_mem_maps_populate_node() local
222 ms = __nr_to_section(pnum); in sparse_mem_maps_populate_node()
225 ms->section_mem_map = 0; in sparse_mem_maps_populate_node()