Searched refs:NR_MEM_SECTIONS (Results 1 – 5 of 5) 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;372 old_usemap_snr = NR_MEM_SECTIONS; in check_usemap_section_nr()373 old_pgdat_snr = NR_MEM_SECTIONS; in check_usemap_section_nr()
265 if (nr >= NR_MEM_SECTIONS) in pfn_to_online_page()
1584 #define NR_MEM_SECTIONS (1UL << SECTIONS_SHIFT) macro1673 #define NR_SECTION_ROOTS DIV_ROUND_UP(NR_MEM_SECTIONS, SECTIONS_PER_ROOT)1852 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()1867 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_in_present_section()
82 The maximal number of sections is denoted `NR_MEM_SECTIONS` and95 array is static and has `NR_MEM_SECTIONS` rows. Each row holds a