Home
last modified time | relevance | path

Searched refs:NR_MEM_SECTIONS (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dmemory-model.rst71 最大的段数表示为 `NR_MEM_SECTIONS` ,定义为
81 `NR_MEM_SECTIONS` 行。每一行持有一个 `mem_section` 对象。
/linux-6.6.21/mm/
Dsparse.c41 static u8 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
43 static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
371 old_usemap_snr = NR_MEM_SECTIONS; in check_usemap_section_nr()
372 old_pgdat_snr = NR_MEM_SECTIONS; in check_usemap_section_nr()
Dmemory_hotplug.c332 if (nr >= NR_MEM_SECTIONS) in pfn_to_online_page()
/linux-6.6.21/scripts/gdb/linux/
Dmm.py66 self.NR_MEM_SECTIONS = 1 << self.SECTIONS_SHIFT
75 self.NR_SECTION_ROOTS = DIV_ROUND_UP(self.NR_MEM_SECTIONS, self.SECTIONS_PER_ROOT)
169 if self.pfn_to_section_nr(pfn) >= self.NR_MEM_SECTIONS:
/linux-6.6.21/include/linux/
Dmmzone.h1736 #define NR_MEM_SECTIONS (1UL << SECTIONS_SHIFT) macro
1826 #define NR_SECTION_ROOTS DIV_ROUND_UP(NR_MEM_SECTIONS, SECTIONS_PER_ROOT)
2006 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()
2027 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_in_present_section()
/linux-6.6.21/Documentation/mm/
Dmemory-model.rst80 The maximal number of sections is denoted `NR_MEM_SECTIONS` and
93 array is static and has `NR_MEM_SECTIONS` rows. Each row holds a