Searched refs:section_nr (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | sparse.c | 51 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 53 section_to_node_table[section_nr] = nid; in set_section_nid() 56 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 81 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 83 unsigned long root = SECTION_NR_TO_ROOT(section_nr); in sparse_index_init() 105 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 191 unsigned long section_nr = __section_nr(ms); in section_mark_present() local 193 if (section_nr > __highest_present_section_nr) in section_mark_present() 194 __highest_present_section_nr = section_nr; in section_mark_present() 199 #define for_each_present_section_nr(start, section_nr) \ argument [all …]
|
D | memory_hotplug.c | 175 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 180 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section() 181 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 184 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 196 get_page_bootmem(section_nr, page, SECTION_INFO); in register_page_bootmem_info_section() 204 get_page_bootmem(section_nr, page, MIX_SECTION_INFO); in register_page_bootmem_info_section() 210 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 215 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section() 216 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 218 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | mmzone.h | 1436 static inline unsigned long next_present_section_nr(unsigned long section_nr) in next_present_section_nr() argument 1438 while (++section_nr <= __highest_present_section_nr) { in next_present_section_nr() 1439 if (present_section_nr(section_nr)) in next_present_section_nr() 1440 return section_nr; in next_present_section_nr()
|
D | mm.h | 3077 void register_page_bootmem_memmap(unsigned long section_nr, struct page *map,
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | init_64.c | 1575 void register_page_bootmem_memmap(unsigned long section_nr, in register_page_bootmem_memmap() argument 1596 get_page_bootmem(section_nr, pgd_page(*pgd), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1603 get_page_bootmem(section_nr, p4d_page(*p4d), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1610 get_page_bootmem(section_nr, pud_page(*pud), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1617 get_page_bootmem(section_nr, pmd_page(*pmd), in register_page_bootmem_memmap() 1623 get_page_bootmem(section_nr, pte_page(*pte), in register_page_bootmem_memmap() 1635 get_page_bootmem(section_nr, page++, in register_page_bootmem_memmap()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 213 unsigned long section_nr; in lmb_to_memblock() local 217 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock() 218 mem_sect = __nr_to_section(section_nr); in lmb_to_memblock()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | memory.c | 53 static inline unsigned long memory_block_id(unsigned long section_nr) in memory_block_id() argument 55 return section_nr / sections_per_block; in memory_block_id()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | init_64.c | 365 void register_page_bootmem_memmap(unsigned long section_nr, in register_page_bootmem_memmap() argument
|