Lines Matching defs:mem_section
20 * 1) mem_section - memory sections, mem_map's for valid memory
23 struct mem_section *mem_section[NR_SECTION_ROOTS]
26 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]
29 EXPORT_SYMBOL(mem_section);
60 static struct mem_section noinline __init_refok *sparse_index_alloc(int nid)
62 struct mem_section *section = NULL;
64 sizeof(struct mem_section);
84 struct mem_section *section;
87 if (mem_section[root])
99 if (mem_section[root]) {
104 mem_section[root] = section;
121 int __section_nr(struct mem_section* ms)
124 struct mem_section* root;
149 static inline int sparse_early_nid(struct mem_section *section)
189 struct mem_section *ms;
243 static int __meminit sparse_init_one_section(struct mem_section *ms,
431 struct mem_section *ms;
459 struct mem_section *ms = __nr_to_section(pnum);
514 struct mem_section *ms;
525 struct mem_section *ms;
555 struct mem_section *ms;
566 struct mem_section *ms;
743 struct mem_section *ms;
786 void sparse_remove_one_section(struct zone *zone, struct mem_section *ms)