Lines Matching defs:mem_section
670 struct mem_section {
687 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
697 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
699 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
702 static inline struct mem_section *__nr_to_section(unsigned long nr)
704 if (!mem_section[SECTION_NR_TO_ROOT(nr)])
706 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK];
708 extern int __section_nr(struct mem_section* ms);
721 static inline struct page *__section_mem_map_addr(struct mem_section *section)
728 static inline int valid_section(struct mem_section *section)
733 static inline int section_has_mem_map(struct mem_section *section)
743 static inline struct mem_section *__pfn_to_section(unsigned long pfn)