Home
last modified time | relevance | path

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

/linux/mm/
A Dsparse.c27 struct mem_section **mem_section; variable
29 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT] variable
32 EXPORT_SYMBOL(mem_section);
94 if (mem_section[root]) in sparse_index_init()
199 struct mem_section *ms; in subsection_map_init()
230 struct mem_section *ms; in memory_present()
261 if (!mem_section) in memblocks_present()
545 struct mem_section *ms; in sparse_init_nid()
600 struct mem_section *ms; in online_mem_sections()
618 struct mem_section *ms; in offline_mem_sections()
[all …]
A Dpage_ext.c251 struct mem_section *section = __pfn_to_section(pfn); in lookup_page_ext()
285 struct mem_section *section; in init_section_page_ext()
339 struct mem_section *ms; in __free_page_ext()
361 struct mem_section *ms; in __invalidate_page_ext()
A Dbootmem_info.c46 struct mem_section *ms; in register_page_bootmem_info_section()
81 struct mem_section *ms; in register_page_bootmem_info_section()
A Dmemory_hotplug.c330 struct mem_section *ms; in pfn_to_online_page()
725 struct mem_section *ms = __pfn_to_section(pfn); in section_taint_zone_device()
A DKconfig463 # statically allocating the mem_section[] array can potentially
473 # Architecture platforms which require a two level mem_section in SPARSEMEM
/linux/include/linux/
A Dmmzone.h1822 struct mem_section { struct
1863 extern struct mem_section **mem_section;
1865 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1873 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1881 if (!mem_section || !mem_section[root]) in __nr_to_section()
1884 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1933 static inline int present_section(struct mem_section *section) in present_section()
1943 static inline int valid_section(struct mem_section *section) in valid_section()
1948 static inline int early_section(struct mem_section *section) in early_section()
1958 static inline int online_section(struct mem_section *section) in online_section()
[all …]
A Dmemory.h117 struct mem_section;
A Dmemory_hotplug.h13 struct mem_section;
/linux/Documentation/translations/zh_CN/mm/
A Dmemory-model.rst63 SPARSEMEM模型将物理内存显示为一个部分的集合。一个区段用mem_section结构
77 `mem_section` 对象被安排在一个叫做 `mem_sections` 的二维数组中。这个数组的
81 `NR_MEM_SECTIONS` 行。每一行持有一个 `mem_section` 对象。
83 每一行包含价值 `PAGE_SIZE` 的 `mem_section` 对象,行数的计算是为了适应所有的
/linux/kernel/
A Dvmcore_info.c159 VMCOREINFO_SYMBOL_ARRAY(mem_section); in crash_save_vmcoreinfo_init()
160 VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); in crash_save_vmcoreinfo_init()
161 VMCOREINFO_STRUCT_SIZE(mem_section); in crash_save_vmcoreinfo_init()
162 VMCOREINFO_OFFSET(mem_section, section_mem_map); in crash_save_vmcoreinfo_init()
/linux/scripts/gdb/linux/
A Dmm.py135 mem_section = gdb.parse_and_eval("mem_section")
136 return mem_section[root][nr & self.SECTION_ROOT_MASK]
160 def valid_section(self, mem_section): argument
161 if mem_section != None and (mem_section['section_mem_map'] & self.SECTION_HAS_MEM_MAP):
165 def early_section(self, mem_section): argument
166 if mem_section != None and (mem_section['section_mem_map'] & self.SECTION_IS_EARLY):
/linux/include/asm-generic/
A Dmemory_model.h53 struct mem_section *__sec = __pfn_to_section(__pfn); \
/linux/Documentation/mm/
A Dmemory-model.rst70 sections. A section is represented with struct mem_section
87 The `mem_section` objects are arranged in a two-dimensional array
94 single `mem_section` object.
97 `mem_section` objects and the number of rows is calculated to fit
/linux/Documentation/admin-guide/kdump/
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/arch/arm64/mm/
A Dmmu.c1388 struct mem_section *ms; in prevent_bootmem_remove_notifier()
1449 struct mem_section *ms; in validate_bootmem_online()

Completed in 39 milliseconds