Home
last modified time | relevance | path

Searched refs:section_nr (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/mm/
Dsparse.c49 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument
51 section_to_node_table[section_nr] = nid; in set_section_nid()
54 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument
80 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()
110 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument
278 unsigned long section_nr; in sparse_early_usemaps_alloc_pgdat_section() local
290 section_nr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
291 return alloc_bootmem_section(usemap_size() * count, section_nr); in sparse_early_usemaps_alloc_pgdat_section()
741 unsigned long section_nr = pfn_to_section_nr(start_pfn); in sparse_add_one_section() local
[all …]
Dmemory_hotplug.c115 unsigned long *usemap, mapsize, section_nr, i; in register_page_bootmem_info_section() local
122 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section()
123 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section()
126 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section()
138 get_page_bootmem(section_nr, page, SECTION_INFO); in register_page_bootmem_info_section()
140 usemap = __nr_to_section(section_nr)->pageblock_flags; in register_page_bootmem_info_section()
146 get_page_bootmem(section_nr, page, MIX_SECTION_INFO); in register_page_bootmem_info_section()
Dnobootmem.c345 unsigned long section_nr) in alloc_bootmem_section() argument
349 pfn = section_nr_to_pfn(section_nr); in alloc_bootmem_section()
351 limit = section_nr_to_pfn(section_nr + 1) << PAGE_SHIFT; in alloc_bootmem_section()
Dbootmem.c768 unsigned long section_nr) in alloc_bootmem_section() argument
773 pfn = section_nr_to_pfn(section_nr); in alloc_bootmem_section()
775 limit = section_nr_to_pfn(section_nr + 1) << PAGE_SHIFT; in alloc_bootmem_section()
/linux-2.6.39/drivers/base/
Dnode.c449 unsigned long section_nr = pfn_to_section_nr(pfn); in link_mem_sections() local
453 if (!present_section_nr(section_nr)) in link_mem_sections()
455 mem_sect = __nr_to_section(section_nr); in link_mem_sections()
Dmemory.c37 static inline int base_memory_block_id(int section_nr) in base_memory_block_id() argument
39 return section_nr / sections_per_block; in base_memory_block_id()
/linux-2.6.39/include/linux/
Dbootmem.h132 unsigned long section_nr);