Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dsparse.c26 struct mem_section **mem_section; variable
28 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT] variable
31 EXPORT_SYMBOL(mem_section);
62 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc()
64 struct mem_section *section = NULL; in sparse_index_alloc()
66 sizeof(struct mem_section); in sparse_index_alloc()
84 struct mem_section *section; in sparse_index_init()
93 if (mem_section[root]) in sparse_index_init()
100 mem_section[root] = section; in sparse_index_init()
112 unsigned long __section_nr(struct mem_section *ms) in __section_nr()
[all …]
Dpage_ext.c199 struct mem_section *section = __pfn_to_section(pfn); in lookup_page_ext()
229 struct mem_section *section; in init_section_page_ext()
281 struct mem_section *ms; in __free_page_ext()
Dmemory_hotplug.c176 struct mem_section *ms; in register_page_bootmem_info_section()
211 struct mem_section *ms; in register_page_bootmem_info_section()
514 struct mem_section *ms = __pfn_to_section(pfn); in __remove_section()
DKconfig142 # statically allocating the mem_section[] array can potentially
152 # Architecture platforms which require a two level mem_section in SPARSEMEM
/kernel/linux/linux-5.10/include/linux/
Dmmzone.h1251 struct mem_section { struct
1282 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
1292 extern struct mem_section **mem_section;
1294 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
1297 static inline unsigned long *section_to_usemap(struct mem_section *ms) in section_to_usemap()
1302 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()
1310 if (!mem_section || !mem_section[root]) in __nr_to_section()
1313 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()
1315 extern unsigned long __section_nr(struct mem_section *ms);
1339 static inline struct page *__section_mem_map_addr(struct mem_section *section) in __section_mem_map_addr()
[all …]
Dmemory.h55 struct mem_section;
87 extern struct memory_block *find_memory_block(struct mem_section *);
Dmemory_hotplug.h13 struct mem_section;
357 extern void sparse_remove_section(struct mem_section *ms,
/kernel/linux/linux-5.10/kernel/
Dcrash_core.c462 VMCOREINFO_SYMBOL_ARRAY(mem_section); in crash_save_vmcoreinfo_init()
463 VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); in crash_save_vmcoreinfo_init()
464 VMCOREINFO_STRUCT_SIZE(mem_section); in crash_save_vmcoreinfo_init()
465 VMCOREINFO_OFFSET(mem_section, section_mem_map); in crash_save_vmcoreinfo_init()
/kernel/linux/linux-5.10/include/asm-generic/
Dmemory_model.h70 struct mem_section *__sec = __pfn_to_section(__pfn); \
/kernel/linux/linux-5.10/Documentation/vm/
Dmemory-model.rst113 sections. A section is represented with struct mem_section
130 The `mem_section` objects are arranged in a two-dimensional array
137 single `mem_section` object.
140 `mem_section` objects and the number of rows is calculated to fit
/kernel/linux/linux-5.10/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst86 mem_section|(mem_section, NR_SECTION_ROOTS)|(mem_section, section_mem_map)
89 The address of the mem_section array, its length, structure size, and
/kernel/linux/linux-5.10/drivers/base/
Dmemory.c515 struct memory_block *find_memory_block(struct mem_section *section) in find_memory_block()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dhotplug-memory.c214 struct mem_section *mem_sect; in lmb_to_memblock()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dmmu.c1570 struct mem_section *ms; in prevent_bootmem_remove_notifier()