Lines Matching refs:section_nr
49 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument
51 section_to_node_table[section_nr] = nid; in set_section_nid()
54 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument
80 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument
83 unsigned long root = SECTION_NR_TO_ROOT(section_nr); in sparse_index_init()
110 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument
278 unsigned long section_nr; in sparse_early_usemaps_alloc_pgdat_section() local
290 section_nr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
291 return alloc_bootmem_section(usemap_size() * count, section_nr); in sparse_early_usemaps_alloc_pgdat_section()
741 unsigned long section_nr = pfn_to_section_nr(start_pfn); in sparse_add_one_section() local
753 ret = sparse_index_init(section_nr, pgdat->node_id); in sparse_add_one_section()
756 memmap = kmalloc_section_memmap(section_nr, pgdat->node_id, nr_pages); in sparse_add_one_section()
775 ret = sparse_init_one_section(ms, section_nr, memmap, usemap); in sparse_add_one_section()