Lines Matching refs:mem_section
1084 struct mem_section { struct
1116 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1126 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
1128 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1131 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1133 if (!mem_section[SECTION_NR_TO_ROOT(nr)]) in __nr_to_section()
1135 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1137 extern int __section_nr(struct mem_section* ms);
1151 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
1158 static inline int present_section(struct mem_section *section) in present_section()
1168 static inline int valid_section(struct mem_section *section) in valid_section()
1178 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section()