Home
last modified time | relevance | path

Searched refs:section_nr (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dsparse.c53 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument
55 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() argument
83 int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument
85 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() argument
179 unsigned long section_nr = pfn_to_section_nr(pfn); in memory_present() local
182 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 …]
H A Dsparse.h18 int sparse_index_init(unsigned long section_nr, int nid);
43 unsigned long section_nr) in __section_mark_present() argument
45 if (section_nr > __highest_present_section_nr) in __section_mark_present()
46 __highest_present_section_nr = section_nr; in __section_mark_present()
/linux/include/linux/
H A Dmmzone.h2351 static inline unsigned long next_present_section_nr(unsigned long section_nr) in next_present_section_nr() argument
2353 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) \ argument
2362 for (section_nr = next_present_section_nr(start - 1); \
2363 section_nr != -1; \
2364 section_nr = next_present_section_nr(section_nr))