Home
last modified time | relevance | path

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

/linux-3.4.99/mm/
Dsparse.c632 unsigned long memmap_size = sizeof(struct page) * nr_pages; in __kmalloc_section_memmap() local
634 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()
/linux-3.4.99/arch/tile/kernel/
Dsetup.c608 int memmap_size = (end - start) * sizeof(struct page); in zone_sizes_init() local
631 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()