Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmmzone.h1917 struct mem_section { struct
1948 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1958 extern struct mem_section **mem_section;
1960 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1963 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1968 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1976 if (!mem_section || !mem_section[root]) in __nr_to_section()
1979 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
2027 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
2034 static inline int present_section(const struct mem_section *section) in present_section()
[all …]
H A Dmemory.h108 struct mem_section;
/linux/scripts/gdb/linux/
H A Dmm.py102 mem_section = gdb.parse_and_eval("mem_section")
103 return mem_section[root][nr & self.SECTION_ROOT_MASK]
127 def valid_section(self, mem_section): argument
128 if mem_section != None and (mem_section['section_mem_map'] & self.SECTION_HAS_MEM_MAP):
132 def early_section(self, mem_section): argument
133 if mem_section != None and (mem_section['section_mem_map'] & self.SECTION_IS_EARLY):
306 mem_section = gdb.parse_and_eval("mem_section")
307 return mem_section[root][nr & self.SECTION_ROOT_MASK]
331 def valid_section(self, mem_section): argument
332 if mem_section != None and (mem_section['section_mem_map'] & self.SECTION_HAS_MEM_MAP):
[all …]
/linux/kernel/
H A Dvmcore_info.c182 VMCOREINFO_SYMBOL_ARRAY(mem_section); in crash_save_vmcoreinfo_init()
183 VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); in crash_save_vmcoreinfo_init()
184 VMCOREINFO_STRUCT_SIZE(mem_section); in crash_save_vmcoreinfo_init()
185 VMCOREINFO_OFFSET(mem_section, section_mem_map); in crash_save_vmcoreinfo_init()
/linux/include/asm-generic/
H A Dmemory_model.h62 struct mem_section *__sec = __pfn_to_section(__pfn); \
/linux/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst92 mem_section|(mem_section, NR_SECTION_ROOTS)|(mem_section, section_mem_map)
95 The address of the mem_section array, its length, structure size, and
/linux/mm/
H A Dmemory_hotplug.c350 struct mem_section *ms; in pfn_to_online_page()
489 * In this case, we find second smallest valid mem_section in shrink_zone_span()
505 * In this case, we find second biggest valid mem_section for in shrink_zone_span()
729 struct mem_section *ms = __pfn_to_section(pfn); in section_taint_zone_device()
H A DKconfig383 # statically allocating the mem_section[] array can potentially
393 # Architecture platforms which require a two level mem_section in SPARSEMEM
/linux/arch/arm64/mm/
H A Dmmu.c2025 struct mem_section *ms; in prevent_bootmem_remove_notifier()
2086 struct mem_section *ms; in validate_bootmem_online()