Lines Matching refs:start
91 void __init add_memory_region(phys_addr_t start, phys_addr_t size, long type) in add_memory_region() argument
97 if (start + size < start) { in add_memory_region()
112 if (start + size < entry->addr) in add_memory_region()
115 if (entry->addr + entry->size < start) in add_memory_region()
118 top = max(entry->addr + entry->size, start + size); in add_memory_region()
119 entry->addr = min(entry->addr, start); in add_memory_region()
130 boot_mem_map.map[x].addr = start; in add_memory_region()
136 void __init detect_memory_region(phys_addr_t start, phys_addr_t sz_min, phys_addr_t sz_max) in detect_memory_region() argument
148 (unsigned long long) start, in detect_memory_region()
152 add_memory_region(start, size, BOOT_MEM_RAM); in detect_memory_region()
192 unsigned long start = memparse(p, &p); in rd_start_early() local
196 if (start < XKPHYS) in rd_start_early()
197 start = (int)start; in rd_start_early()
199 initrd_start = start; in rd_start_early()
200 initrd_end += start; in rd_start_early()
330 unsigned long start, end; in bootmem_init() local
335 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
341 if (start < min_low_pfn) in bootmem_init()
342 min_low_pfn = start; in bootmem_init()
350 if (start >= mapstart) in bootmem_init()
352 mapstart = max(reserved_end, start); in bootmem_init()
395 unsigned long start, end; in bootmem_init() local
397 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
401 if (start <= min_low_pfn) in bootmem_init()
402 start = min_low_pfn; in bootmem_init()
403 if (start >= end) in bootmem_init()
413 if (end <= start) in bootmem_init()
417 memblock_add_node(PFN_PHYS(start), PFN_PHYS(end - start), 0); in bootmem_init()
424 unsigned long start, end, size; in bootmem_init() local
426 start = PFN_UP(boot_mem_map.map[i].addr); in bootmem_init()
437 memory_present(0, start, end); in bootmem_init()
448 if (start >= max_low_pfn) in bootmem_init()
450 if (start < reserved_end) in bootmem_init()
451 start = reserved_end; in bootmem_init()
458 if (end <= start) in bootmem_init()
460 size = end - start; in bootmem_init()
463 free_bootmem(PFN_PHYS(start), size << PAGE_SHIFT); in bootmem_init()
464 memory_present(0, start, end); in bootmem_init()
507 phys_addr_t start, size; in early_parse_mem() local
518 start = 0; in early_parse_mem()
521 start = memparse(p + 1, &p); in early_parse_mem()
523 add_memory_region(start, size, BOOT_MEM_RAM); in early_parse_mem()
537 unsigned long start = boot_mem_map.map[i].addr; in early_parse_elfcorehdr() local
540 if (setup_elfcorehdr >= start && setup_elfcorehdr < end) { in early_parse_elfcorehdr()
599 crashk_res.start = crash_base; in mips_parse_crashkernel()
611 crashk_res.start + 1) >> 20), in request_crashkernel()
612 (unsigned long)(crashk_res.start >> 20)); in request_crashkernel()
694 if (crashk_res.start != crashk_res.end) in arch_mem_init()
695 reserve_bootmem(crashk_res.start, in arch_mem_init()
696 crashk_res.end - crashk_res.start + 1, in arch_mem_init()
721 code_resource.start = __pa_symbol(&_text); in resource_init()
723 data_resource.start = __pa_symbol(&_etext); in resource_init()
728 unsigned long start, end; in resource_init() local
730 start = boot_mem_map.map[i].addr; in resource_init()
732 if (start >= HIGHMEM_START) in resource_init()
749 res->start = start; in resource_init()