Lines Matching refs:mem_section
1292 struct mem_section { struct
1323 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1333 extern struct mem_section **mem_section;
1335 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1338 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1343 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1346 if (!mem_section) in __nr_to_section()
1349 if (!mem_section[SECTION_NR_TO_ROOT(nr)]) in __nr_to_section()
1351 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1377 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
1384 static inline int present_section(struct mem_section *section) in present_section()
1394 static inline int valid_section(struct mem_section *section) in valid_section()
1399 static inline int early_section(struct mem_section *section) in early_section()
1409 static inline int online_section(struct mem_section *section) in online_section()
1414 static inline int online_device_section(struct mem_section *section) in online_device_section()
1431 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section()
1444 static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn) in pfn_section_valid()
1451 static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn) in pfn_section_valid()
1471 struct mem_section *ms; in pfn_valid()