Searched refs:section_nr (Results 1 – 3 of 3) sorted by relevance
53 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument55 section_to_node_table[section_nr] = nid; in set_section_nid()58 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument83 int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument85 unsigned long root = SECTION_NR_TO_ROOT(section_nr); in sparse_index_init()107 int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument179 unsigned long section_nr = pfn_to_section_nr(pfn); in memory_present() local182 sparse_index_init(section_nr, nid); in memory_present()183 set_section_nid(section_nr, nid); in memory_present()185 ms = __nr_to_section(section_nr); in memory_present()[all …]
18 int sparse_index_init(unsigned long section_nr, int nid);43 unsigned long section_nr) in __section_mark_present() argument45 if (section_nr > __highest_present_section_nr) in __section_mark_present()46 __highest_present_section_nr = section_nr; in __section_mark_present()
2351 static inline unsigned long next_present_section_nr(unsigned long section_nr) in next_present_section_nr() argument2353 while (++section_nr <= __highest_present_section_nr) { in next_present_section_nr()2354 if (present_section_nr(section_nr)) in next_present_section_nr()2355 return section_nr; in next_present_section_nr()2361 #define for_each_present_section_nr(start, section_nr) \ argument2362 for (section_nr = next_present_section_nr(start - 1); \2363 section_nr != -1; \2364 section_nr = next_present_section_nr(section_nr))