Lines Matching refs:start

86 void __init add_memory_region(phys_addr_t start, phys_addr_t size, long type)  in add_memory_region()  argument
92 if (start + size < start) { in add_memory_region()
107 if (start + size < entry->addr) in add_memory_region()
110 if (entry->addr + entry->size < start) in add_memory_region()
113 top = max(entry->addr + entry->size, start + size); in add_memory_region()
114 entry->addr = min(entry->addr, start); in add_memory_region()
125 boot_mem_map.map[x].addr = start; in add_memory_region()
131 void __init detect_memory_region(phys_addr_t start, phys_addr_t sz_min, phys_addr_t sz_max) in detect_memory_region() argument
143 (unsigned long long) start, in detect_memory_region()
147 add_memory_region(start, size, BOOT_MEM_RAM); in detect_memory_region()
187 unsigned long start = memparse(p, &p); in rd_start_early() local
191 if (start < XKPHYS) in rd_start_early()
192 start = (int)start; in rd_start_early()
194 initrd_start = start; in rd_start_early()
195 initrd_end += start; in rd_start_early()
325 unsigned long start, end; in bootmem_init() local
330 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
336 if (start < min_low_pfn) in bootmem_init()
337 min_low_pfn = start; in bootmem_init()
340 if (start >= mapstart) in bootmem_init()
342 mapstart = max(reserved_end, start); in bootmem_init()
385 unsigned long start, end; in bootmem_init() local
387 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
391 if (start <= min_low_pfn) in bootmem_init()
392 start = min_low_pfn; in bootmem_init()
393 if (start >= end) in bootmem_init()
403 if (end <= start) in bootmem_init()
407 memblock_add_node(PFN_PHYS(start), PFN_PHYS(end - start), 0); in bootmem_init()
414 unsigned long start, end, size; in bootmem_init() local
416 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
427 memory_present(0, start, end); in bootmem_init()
438 if (start >= max_low_pfn) in bootmem_init()
440 if (start < reserved_end) in bootmem_init()
441 start = reserved_end; in bootmem_init()
448 if (end <= start) in bootmem_init()
450 size = end - start; in bootmem_init()
453 free_bootmem(PFN_PHYS(start), size << PAGE_SHIFT); in bootmem_init()
454 memory_present(0, start, end); in bootmem_init()
497 phys_addr_t start, size; in early_parse_mem() local
508 start = 0; in early_parse_mem()
511 start = memparse(p + 1, &p); in early_parse_mem()
513 add_memory_region(start, size, BOOT_MEM_RAM); in early_parse_mem()
527 unsigned long start = boot_mem_map.map[i].addr; in early_parse_elfcorehdr() local
530 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) { in early_parse_elfcorehdr()
589 crashk_res.start = crash_base; in mips_parse_crashkernel()
601 crashk_res.start + 1) >> 20), in request_crashkernel()
602 (unsigned long)(crashk_res.start >> 20)); in request_crashkernel()
674 if (crashk_res.start != crashk_res.end) in arch_mem_init()
675 reserve_bootmem(crashk_res.start, in arch_mem_init()
676 crashk_res.end - crashk_res.start + 1, in arch_mem_init()
698 code_resource.start = __pa_symbol(&_text); in resource_init()
700 data_resource.start = __pa_symbol(&_etext); in resource_init()
705 unsigned long start, end; in resource_init() local
707 start = boot_mem_map.map[i].addr; in resource_init()
709 if (start >= HIGHMEM_START) in resource_init()
726 res->start = start; in resource_init()