Lines Matching refs:section
66 struct mem_section *section = NULL; in sparse_index_alloc() local
71 section = kzalloc_node(array_size, GFP_KERNEL, nid); in sparse_index_alloc()
73 section = memblock_alloc_node(array_size, SMP_CACHE_BYTES, in sparse_index_alloc()
75 if (!section) in sparse_index_alloc()
80 return section; in sparse_index_alloc()
86 struct mem_section *section; in sparse_index_init() local
98 section = sparse_index_alloc(nid); in sparse_index_init()
99 if (!section) in sparse_index_init()
102 mem_section[root] = section; in sparse_index_init()
124 static inline int sparse_early_nid(struct mem_section *section) in sparse_early_nid() argument
126 return (section->section_mem_map >> SECTION_NID_SHIFT); in sparse_early_nid()