Home
last modified time | relevance | path

Searched refs:mem_section (Results 1 – 4 of 4) sorted by relevance

/include/linux/
Dmmzone.h1215 struct mem_section { struct
1246 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1256 extern struct mem_section **mem_section;
1258 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1261 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1266 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1274 if (!mem_section || !mem_section[root]) in __nr_to_section()
1277 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1279 extern unsigned long __section_nr(struct mem_section *ms);
1303 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
[all …]
Dmemory.h72 struct mem_section;
118 extern struct memory_block *find_memory_block(struct mem_section *);
Dmemory_hotplug.h13 struct mem_section;
354 extern void sparse_remove_section(struct mem_section *ms,
/include/asm-generic/
Dmemory_model.h70 struct mem_section *__sec = __pfn_to_section(__pfn); \