• Home
  • Raw
  • Download

Lines Matching refs:mem_section

25 struct mem_section *mem_section[NR_SECTION_ROOTS]  variable
28 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT] variable
31 EXPORT_SYMBOL(mem_section);
62 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc()
64 struct mem_section *section = NULL; in sparse_index_alloc()
66 sizeof(struct mem_section); in sparse_index_alloc()
83 struct mem_section *section; in sparse_index_init()
85 if (mem_section[root]) in sparse_index_init()
92 mem_section[root] = section; in sparse_index_init()
104 int __section_nr(struct mem_section* ms) in __section_nr()
107 struct mem_section* root; in __section_nr()
123 int __section_nr(struct mem_section* ms) in __section_nr()
125 return (int)(ms - mem_section[0]); in __section_nr()
140 static inline int sparse_early_nid(struct mem_section *section) in sparse_early_nid()
180 struct mem_section *ms; in memory_present()
234 static int __meminit sparse_init_one_section(struct mem_section *ms, in sparse_init_one_section()
422 struct mem_section *ms; in sparse_mem_maps_populate_node()
451 struct mem_section *ms = __nr_to_section(pnum); in sparse_early_mem_map_alloc()
483 struct mem_section *ms; in alloc_usemap_and_memmap()
494 struct mem_section *ms; in alloc_usemap_and_memmap()
535 BUILD_BUG_ON(!is_power_of_2(sizeof(struct mem_section))); in sparse_init()
696 struct mem_section *ms; in sparse_add_one_section()
790 void sparse_remove_one_section(struct zone *zone, struct mem_section *ms, in sparse_remove_one_section()