Lines Matching defs:mem_section
16 * 1) mem_section - memory sections, mem_map's for valid memory
19 struct mem_section *mem_section[NR_SECTION_ROOTS]
22 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]
25 EXPORT_SYMBOL(mem_section);
47 static struct mem_section noinline __init_refok *sparse_index_alloc(int nid)
49 struct mem_section *section = NULL;
51 sizeof(struct mem_section);
68 struct mem_section *section;
75 if (mem_section[root])
85 if (mem_section[root]) {
90 mem_section[root] = section;
107 int __section_nr(struct mem_section* ms)
110 struct mem_section* root;
135 static inline int sparse_early_nid(struct mem_section *section)
148 struct mem_section *ms;
200 static int __meminit sparse_init_one_section(struct mem_section *ms,
221 struct mem_section *ms = __nr_to_section(pnum);
313 struct mem_section *ms;