Lines Matching refs:mem_section
1027 struct mem_section { struct
1059 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1069 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
1071 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1074 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1076 if (!mem_section[SECTION_NR_TO_ROOT(nr)]) in __nr_to_section()
1078 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1080 extern int __section_nr(struct mem_section* ms);
1094 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
1101 static inline int present_section(struct mem_section *section) in present_section()
1111 static inline int valid_section(struct mem_section *section) in valid_section()
1121 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section()