Searched refs:section_nr (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/mm/ |
D | bootmem_info.c | 45 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 50 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section() 51 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 54 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 66 get_page_bootmem(section_nr, page, SECTION_INFO); in register_page_bootmem_info_section() 74 get_page_bootmem(section_nr, page, MIX_SECTION_INFO); in register_page_bootmem_info_section() 80 unsigned long mapsize, section_nr, i; in register_page_bootmem_info_section() local 85 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section() 86 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 88 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() [all …]
|
D | sparse.c | 52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 54 section_to_node_table[section_nr] = nid; in set_section_nid() 57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 84 unsigned long root = SECTION_NR_TO_ROOT(section_nr); in sparse_index_init() 106 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 165 unsigned long section_nr) in __section_mark_present() argument 167 if (section_nr > __highest_present_section_nr) in __section_mark_present() 168 __highest_present_section_nr = section_nr; in __section_mark_present() 173 #define for_each_present_section_nr(start, section_nr) \ argument [all …]
|
/linux-6.1.9/arch/x86/mm/ |
D | init_64.c | 1628 void register_page_bootmem_memmap(unsigned long section_nr, in register_page_bootmem_memmap() argument 1649 get_page_bootmem(section_nr, pgd_page(*pgd), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1656 get_page_bootmem(section_nr, p4d_page(*p4d), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1663 get_page_bootmem(section_nr, pud_page(*pud), MIX_SECTION_INFO); in register_page_bootmem_memmap() 1670 get_page_bootmem(section_nr, pmd_page(*pmd), in register_page_bootmem_memmap() 1676 get_page_bootmem(section_nr, pte_page(*pte), in register_page_bootmem_memmap() 1688 get_page_bootmem(section_nr, page++, in register_page_bootmem_memmap()
|
/linux-6.1.9/include/linux/ |
D | memory.h | 151 extern struct memory_block *find_memory_block(unsigned long section_nr);
|
D | mmzone.h | 1872 static inline unsigned long next_present_section_nr(unsigned long section_nr) in next_present_section_nr() argument 1874 while (++section_nr <= __highest_present_section_nr) { in next_present_section_nr() 1875 if (present_section_nr(section_nr)) in next_present_section_nr() 1876 return section_nr; in next_present_section_nr()
|
D | mm.h | 3277 void register_page_bootmem_memmap(unsigned long section_nr, struct page *map,
|
/linux-6.1.9/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() 595 struct memory_block *find_memory_block(unsigned long section_nr) in find_memory_block() argument 597 unsigned long block_id = memory_block_id(section_nr); in find_memory_block()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 214 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() 219 mem_block = find_memory_block(section_nr); in lmb_to_memblock()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | init_64.c | 366 void register_page_bootmem_memmap(unsigned long section_nr, in register_page_bootmem_memmap() argument
|