Home
last modified time | relevance | path

Searched refs:bootmap_size (Results 1 – 22 of 22) sorted by relevance

/arch/hexagon/mm/
Dinit.c182 int bootmap_size; in setup_arch_memory() local
208 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmem_startpg, min_low_pfn, max_low_pfn); in setup_arch_memory()
212 printk(KERN_INFO "bootmap_size: %d\n", bootmap_size); in setup_arch_memory()
266 free_bootmem(PFN_PHYS(bootmem_startpg) + bootmap_size, in setup_arch_memory()
267 PFN_PHYS(bootmem_lastpg - bootmem_startpg) - bootmap_size - in setup_arch_memory()
/arch/ia64/mm/
Dcontig.c199 unsigned long bootmap_size; in find_memory() local
209 bootmap_size = bootmem_bootmap_pages(max_pfn) << PAGE_SHIFT; in find_memory()
213 efi_memmap_walk(find_bootmap_location, &bootmap_size); in find_memory()
215 panic("Cannot find %ld bytes for bootmap\n", bootmap_size); in find_memory()
217 bootmap_size = init_bootmem_node(NODE_DATA(0), in find_memory()
222 reserve_bootmem(bootmap_start, bootmap_size, BOOTMEM_DEFAULT); in find_memory()
/arch/nios2/kernel/
Dsetup.c138 int bootmap_size; in setup_arch() local
168 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_arch()
188 pr_debug("reserve_bootmem(%#lx, %#x)\n", memory_start, bootmap_size); in setup_arch()
189 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/cris/kernel/
Dsetup.c65 unsigned long bootmap_size; in setup_arch() local
131 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
148 reserve_bootmem(PFN_PHYS(start_pfn), bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/um/kernel/
Dphysmem.c85 unsigned long offset, bootmap_size; in setup_physmem() local
116 bootmap_size = init_bootmem(pfn, pfn + delta); in setup_physmem()
117 free_bootmem(__pa(reserve_end) + bootmap_size, in setup_physmem()
118 len - bootmap_size - reserve); in setup_physmem()
/arch/score/kernel/
Dsetup.c46 unsigned long start_pfn, bootmap_size; in bootmem_init() local
56 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in bootmem_init()
66 reserve_bootmem(PFN_PHYS(start_pfn), bootmap_size, BOOTMEM_DEFAULT); in bootmem_init()
/arch/m68k/kernel/
Dsetup_no.c88 int bootmap_size; in setup_arch() local
160 bootmap_size = init_bootmem_node( in setup_arch()
170 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/alpha/mm/
Dnuma.c61 unsigned long bootmap_size, bootmap_pages, bootmap_start; in setup_memory_node() local
202 bootmap_size = init_bootmem_node(NODE_DATA(nid), bootmap_start, in setup_memory_node()
205 bootmap_start, bootmap_size, bootmap_pages); in setup_memory_node()
244 bootmap_size, BOOTMEM_DEFAULT); in setup_memory_node()
245 printk(" reserving pages %ld:%ld\n", bootmap_start, bootmap_start+PFN_UP(bootmap_size)); in setup_memory_node()
/arch/m32r/mm/
Ddiscontig.c73 unsigned long bootmap_size; in setup_memory() local
89 bootmap_size = init_bootmem_node(NODE_DATA(nid), mp->free_pfn, in setup_memory()
96 PFN_PHYS(mp->free_pfn - mp->start_pfn) + bootmap_size, in setup_memory()
/arch/h8300/kernel/
Dsetup.c73 int bootmap_size; in bootmem_init() local
101 bootmap_size = init_bootmem_node(NODE_DATA(0), in bootmem_init()
111 reserve_bootmem(PFN_PHYS(free_ram_start_pfn), bootmap_size, in bootmem_init()
/arch/mn10300/kernel/
Dsetup.c94 unsigned long bootmap_size; in setup_arch() local
130 bootmap_size = init_bootmem_node(&contig_page_data, in setup_arch()
149 reserve_bootmem(PAGE_ALIGN(PFN_PHYS(free_pfn)), bootmap_size, in setup_arch()
/arch/mips/loongson64/loongson-3/
Dnuma.c183 unsigned long bootmap_size; in node_mem_init() local
204 bootmap_size = init_bootmem_node(NODE_DATA(node), freepfn, in node_mem_init()
212 ((freepfn - start_pfn) << PAGE_SHIFT) + bootmap_size, in node_mem_init()
/arch/openrisc/kernel/
Dsetup.c56 unsigned long bootmap_size; in setup_memory() local
91 bootmap_size = init_bootmem(free_ram_start_pfn, in setup_memory()
95 reserve_bootmem(PFN_PHYS(free_ram_start_pfn), bootmap_size, in setup_memory()
/arch/sparc/mm/
Dinit_32.c116 unsigned long bootmap_size, start_pfn; in bootmem_init() local
188 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap_pfn, pfn_base, in bootmem_init()
239 size = bootmap_size; in bootmem_init()
/arch/m32r/kernel/
Dsetup.c138 unsigned long start_pfn, max_low_pfn, bootmap_size; in setup_memory() local
146 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_memory()
182 (PFN_PHYS(start_pfn) + bootmap_size + PAGE_SIZE - 1) in setup_memory()
/arch/mips/kernel/
Dsetup.c375 unsigned long bootmap_size; in bootmem_init() local
473 bootmap_size = bootmap_bytes(max_low_pfn - min_low_pfn); in bootmem_init()
476 bootmap_size); in bootmem_init()
488 bootmap_size); in bootmem_init()
503 if (bootmap_size != init_bootmem_node(NODE_DATA(0), mapstart, in bootmem_init()
587 reserve_bootmem(PFN_PHYS(mapstart), bootmap_size, BOOTMEM_DEFAULT); in bootmem_init()
/arch/c6x/kernel/
Dsetup.c299 int bootmap_size; in setup_arch() local
360 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_arch()
364 memblock_reserve(memory_start, bootmap_size); in setup_arch()
/arch/frv/kernel/
Dsetup.c876 unsigned long bootmap_size, low_top_pfn, kstart, kend, high_mem; in setup_linux_memory() local
888 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_linux_memory()
926 reserve_bootmem(kstart, kend - kstart + bootmap_size, in setup_linux_memory()
963 int bootmap_size; in setup_uclinux_memory() local
971 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_uclinux_memory()
989 reserve_bootmem(kend, bootmap_size, BOOTMEM_DEFAULT); in setup_uclinux_memory()
/arch/mips/sgi-ip27/
Dip27-memory.c392 unsigned long bootmap_size; in node_mem_init() local
412 bootmap_size = init_bootmem_node(NODE_DATA(node), slot_freepfn, in node_mem_init()
416 ((slot_freepfn - slot_firstpfn) << PAGE_SHIFT) + bootmap_size, in node_mem_init()
/arch/avr32/kernel/
Dsetup.c472 unsigned bootmap_size; in setup_bootmem() local
515 bootmap_size = init_bootmem_node(NODE_DATA(node), bootmap_pfn, in setup_bootmem()
529 bootmap_size, in setup_bootmem()
/arch/alpha/kernel/
Dsetup.c315 unsigned long bootmap_size, bootmap_pages, bootmap_start; in setup_memory() local
410 bootmap_size = init_bootmem(bootmap_start, max_low_pfn); in setup_memory()
443 reserve_bootmem(PFN_PHYS(bootmap_start), bootmap_size, in setup_memory()
445 printk("reserving pages %ld:%ld\n", bootmap_start, bootmap_start+PFN_UP(bootmap_size)); in setup_memory()
/arch/blackfin/kernel/
Dsetup.c736 int bootmap_size; in setup_bootmem_allocator() local
765 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_bootmem_allocator()
804 memory_start + bootmap_size + PAGE_SIZE - 1 - CONFIG_PHY_RAM_BASE_ADDRESS, in setup_bootmem_allocator()