Home
last modified time | relevance | path

Searched refs:mapsize (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmemory_hotplug.c187 unsigned long *usemap, mapsize, section_nr, i; in register_page_bootmem_info_section() local
202 mapsize = sizeof(struct page) * PAGES_PER_SECTION; in register_page_bootmem_info_section()
203 mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; in register_page_bootmem_info_section()
206 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
212 mapsize = PAGE_ALIGN(usemap_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section()
214 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
221 unsigned long *usemap, mapsize, section_nr, i; in register_page_bootmem_info_section() local
238 mapsize = PAGE_ALIGN(usemap_size()) >> PAGE_SHIFT; in register_page_bootmem_info_section()
240 for (i = 0; i < mapsize; i++, page++) in register_page_bootmem_info_section()
Dbootmem.c98 unsigned long mapsize; in init_bootmem_core() local
110 mapsize = bootmap_bytes(end - start); in init_bootmem_core()
111 memset(bdata->node_bootmem_map, 0xff, mapsize); in init_bootmem_core()
114 bdata - bootmem_node_data, start, mapstart, end, mapsize); in init_bootmem_core()
116 return mapsize; in init_bootmem_core()