Searched refs:memmap_size (Results 1 – 2 of 2) sorted by relevance
632 unsigned long memmap_size = sizeof(struct page) * nr_pages; in __kmalloc_section_memmap() local634 page = alloc_pages(GFP_KERNEL|__GFP_NOWARN, get_order(memmap_size)); in __kmalloc_section_memmap()638 ret = vmalloc(memmap_size); in __kmalloc_section_memmap()646 memset(ret, 0, memmap_size); in __kmalloc_section_memmap()
608 int memmap_size = (end - start) * sizeof(struct page); in zone_sizes_init() local631 alloc_bootmem_pfn(memmap_size, goal); in zone_sizes_init()638 node_memmap_pfn[i] = alloc_bootmem_pfn(memmap_size, 0); in zone_sizes_init()643 node_free_pfn[i] += PFN_UP(memmap_size); in zone_sizes_init()