Lines Matching refs:mem_section
525 struct mem_section { struct
542 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section)) argument
552 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
554 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
557 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
559 if (!mem_section[SECTION_NR_TO_ROOT(nr)]) in __nr_to_section()
561 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK]; in __nr_to_section()
563 extern int __section_nr(struct mem_section* ms);
576 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
583 static inline int valid_section(struct mem_section *section) in valid_section()
588 static inline int section_has_mem_map(struct mem_section *section) in section_has_mem_map()
598 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section()