Home
last modified time | relevance | path

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

/include/linux/
Dmmzone.h1892 struct mem_section { struct
1923 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1933 extern struct mem_section **mem_section;
1935 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1938 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1943 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1951 if (!mem_section || !mem_section[root]) in __nr_to_section()
1954 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1996 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
2003 static inline int present_section(struct mem_section *section) in present_section()
[all …]
Dmemory.h117 struct mem_section;
Dmemory_hotplug.h13 struct mem_section;
/include/asm-generic/
Dmemory_model.h53 struct mem_section *__sec = __pfn_to_section(__pfn); \