Searched refs:mem_section (Results 1 – 4 of 4) sorted by relevance
1532 struct mem_section { struct1563 #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()[all …]
104 struct mem_section;
13 struct mem_section;348 extern void sparse_remove_section(struct mem_section *ms,
41 struct mem_section *__sec = __pfn_to_section(__pfn); \