Searched refs:NR_MEM_SECTIONS (Results 1 – 6 of 6) sorted by relevance
71 最大的段数表示为 `NR_MEM_SECTIONS` ,定义为81 `NR_MEM_SECTIONS` 行。每一行持有一个 `mem_section` 对象。
41 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()
332 if (nr >= NR_MEM_SECTIONS) in pfn_to_online_page()
66 self.NR_MEM_SECTIONS = 1 << self.SECTIONS_SHIFT75 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:
1736 #define NR_MEM_SECTIONS (1UL << SECTIONS_SHIFT) macro1826 #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()
80 The maximal number of sections is denoted `NR_MEM_SECTIONS` and93 array is static and has `NR_MEM_SECTIONS` rows. Each row holds a