Searched refs:mem_section (Results 1 – 14 of 14) sorted by relevance
27 struct mem_section **mem_section; variable29 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT] variable32 EXPORT_SYMBOL(mem_section);94 if (mem_section[root]) in sparse_index_init()203 struct mem_section *ms; in subsection_map_init()237 if (!mem_section) in memory_present()247 struct mem_section *ms; in memory_present()546 struct mem_section *ms; in sparse_init_nid()599 struct mem_section *ms; in online_mem_sections()617 struct mem_section *ms; in offline_mem_sections()[all …]
284 struct mem_section *section = __pfn_to_section(pfn); in lookup_page_ext()317 struct mem_section *section; in init_section_page_ext()369 struct mem_section *ms; in __free_page_ext()391 struct mem_section *ms; in __invalidate_page_ext()
46 struct mem_section *ms; in register_page_bootmem_info_section()81 struct mem_section *ms; in register_page_bootmem_info_section()
263 struct mem_section *ms; in pfn_to_online_page()499 struct mem_section *ms = __pfn_to_section(pfn); in __remove_section()668 struct mem_section *ms = __pfn_to_section(pfn); in section_taint_zone_device()
453 # statically allocating the mem_section[] array can potentially463 # Architecture platforms which require a two level mem_section in SPARSEMEM
1792 struct mem_section { struct1833 extern struct mem_section **mem_section;1835 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];1843 static inline struct mem_section *__nr_to_section(unsigned long nr) in __nr_to_section()1851 if (!mem_section || !mem_section[root]) in __nr_to_section()1854 return &mem_section[root][nr & SECTION_ROOT_MASK]; in __nr_to_section()1903 static inline int present_section(struct mem_section *section) in present_section()1913 static inline int valid_section(struct mem_section *section) in valid_section()1918 static inline int early_section(struct mem_section *section) in early_section()1928 static inline int online_section(struct mem_section *section) in online_section()[all …]
13 struct mem_section;350 extern void sparse_remove_section(struct mem_section *ms,
112 struct mem_section;
63 SPARSEMEM模型将物理内存显示为一个部分的集合。一个区段用mem_section结构77 `mem_section` 对象被安排在一个叫做 `mem_sections` 的二维数组中。这个数组的81 `NR_MEM_SECTIONS` 行。每一行持有一个 `mem_section` 对象。83 每一行包含价值 `PAGE_SIZE` 的 `mem_section` 对象,行数的计算是为了适应所有的
439 VMCOREINFO_SYMBOL_ARRAY(mem_section); in crash_save_vmcoreinfo_init()440 VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); in crash_save_vmcoreinfo_init()441 VMCOREINFO_STRUCT_SIZE(mem_section); in crash_save_vmcoreinfo_init()442 VMCOREINFO_OFFSET(mem_section, section_mem_map); in crash_save_vmcoreinfo_init()
53 struct mem_section *__sec = __pfn_to_section(__pfn); \
70 sections. A section is represented with struct mem_section87 The `mem_section` objects are arranged in a two-dimensional array94 single `mem_section` object.97 `mem_section` objects and the number of rows is calculated to fit
92 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
1524 struct mem_section *ms; in prevent_bootmem_remove_notifier()1585 struct mem_section *ms; in validate_bootmem_online()
Completed in 29 milliseconds