Lines Matching defs:mem_section
24 * 1) mem_section - memory sections, mem_map's for valid memory
27 struct mem_section **mem_section;
29 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]
32 EXPORT_SYMBOL(mem_section);
63 static noinline struct mem_section __ref *sparse_index_alloc(int nid)
65 struct mem_section *section = NULL;
67 sizeof(struct mem_section);
85 struct mem_section *section;
94 if (mem_section[root])
101 mem_section[root] = section;
123 static inline int sparse_early_nid(struct mem_section *section)
164 static void __section_mark_present(struct mem_section *ms,
202 struct mem_section *ms;
230 if (unlikely(!mem_section)) {
233 size = sizeof(struct mem_section *) * NR_SECTION_ROOTS;
235 mem_section = memblock_alloc(size, align);
236 if (!mem_section)
246 struct mem_section *ms;
300 static void __meminit sparse_init_one_section(struct mem_section *ms,
545 struct mem_section *ms;
598 struct mem_section *ms;
616 struct mem_section *ms;
658 struct mem_section *ms = __pfn_to_section(pfn);
675 static bool is_subsection_map_empty(struct mem_section *ms)
683 struct mem_section *ms = __pfn_to_section(pfn);
752 static bool is_subsection_map_empty(struct mem_section *ms)
782 struct mem_section *ms = __pfn_to_section(pfn);
832 struct mem_section *ms = __pfn_to_section(pfn);
895 struct mem_section *ms;
928 struct mem_section *ms = __pfn_to_section(pfn);