Home
last modified time | relevance | path

Searched refs:bootmap_size (Results 1 – 20 of 20) 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.c146 int bootmap_size; in setup_arch() local
172 bootmap_size = init_bootmem_node(NODE_DATA(0), in setup_arch()
192 pr_debug("reserve_bootmem(%#lx, %#x)\n", memory_start, bootmap_size); in setup_arch()
193 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/cris/kernel/
Dsetup.c66 unsigned long bootmap_size; in setup_arch() local
132 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_arch()
149 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.c89 int bootmap_size; in setup_arch() local
161 bootmap_size = init_bootmem_node( in setup_arch()
171 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/alpha/mm/
Dnuma.c62 unsigned long bootmap_size, bootmap_pages, bootmap_start; in setup_memory_node() local
203 bootmap_size = init_bootmem_node(NODE_DATA(nid), bootmap_start, in setup_memory_node()
206 bootmap_start, bootmap_size, bootmap_pages); in setup_memory_node()
245 bootmap_size, BOOTMEM_DEFAULT); in setup_memory_node()
246 printk(" reserving pages %ld:%ld\n", bootmap_start, bootmap_start+PFN_UP(bootmap_size)); in setup_memory_node()
/arch/m32r/mm/
Ddiscontig.c74 unsigned long bootmap_size; in setup_memory() local
90 bootmap_size = init_bootmem_node(NODE_DATA(nid), mp->free_pfn, in setup_memory()
97 PFN_PHYS(mp->free_pfn - mp->start_pfn) + bootmap_size, in setup_memory()
/arch/h8300/kernel/
Dsetup.c74 int bootmap_size; in bootmem_init() local
102 bootmap_size = init_bootmem_node(NODE_DATA(0), in bootmem_init()
112 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/sparc/mm/
Dinit_32.c106 unsigned long bootmap_size, start_pfn; in bootmem_init() local
178 bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap_pfn, pfn_base, in bootmem_init()
229 size = bootmap_size; in bootmem_init()
/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/m32r/kernel/
Dsetup.c139 unsigned long start_pfn, max_low_pfn, bootmap_size; in setup_memory() local
147 bootmap_size = init_bootmem_node(NODE_DATA(0), start_pfn, in setup_memory()
183 (PFN_PHYS(start_pfn) + bootmap_size + PAGE_SIZE - 1) in setup_memory()
/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/mips/kernel/
Dsetup.c376 unsigned long bootmap_size; in bootmem_init() local
485 bootmap_size = bootmap_bytes(max_low_pfn - min_low_pfn); in bootmem_init()
488 bootmap_size); in bootmem_init()
500 bootmap_size); in bootmem_init()
515 if (bootmap_size != init_bootmem_node(NODE_DATA(0), mapstart, in bootmem_init()
599 reserve_bootmem(PFN_PHYS(mapstart), bootmap_size, BOOTMEM_DEFAULT); in bootmem_init()
/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/alpha/kernel/
Dsetup.c316 unsigned long bootmap_size, bootmap_pages, bootmap_start; in setup_memory() local
411 bootmap_size = init_bootmem(bootmap_start, max_low_pfn); in setup_memory()
444 reserve_bootmem(PFN_PHYS(bootmap_start), bootmap_size, in setup_memory()
446 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()