Lines Matching refs:mem_section
1532 struct mem_section { struct
1563 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1573 extern struct mem_section **mem_section;
1575 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1578 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1583 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1591 if (!mem_section || !mem_section[root]) in __nr_to_section()
1594 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1620 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
1627 static inline int present_section(struct mem_section *section) in present_section()
1637 static inline int valid_section(struct mem_section *section) in valid_section()
1642 static inline int early_section(struct mem_section *section) in early_section()
1652 static inline int online_section(struct mem_section *section) in online_section()
1657 static inline int online_device_section(struct mem_section *section) in online_device_section()
1674 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section()
1687 static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn) in pfn_section_valid()
1694 static inline int pfn_section_valid(struct mem_section *ms, unsigned long pfn) in pfn_section_valid()
1714 struct mem_section *ms; in pfn_valid()