Searched refs:crash_size (Results 1 – 7 of 7) sorted by relevance
/arch/sh/kernel/ |
D | machine_kexec.c | 157 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 161 &crash_size, &crash_base); in reserve_crashkernel() 162 if (ret == 0 && crash_size > 0) { in reserve_crashkernel() 164 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 170 crash_size = PAGE_ALIGN(resource_size(&crashk_res)); in reserve_crashkernel() 173 crashk_res.start = __memblock_alloc_base(crash_size, PAGE_SIZE, max); in reserve_crashkernel() 179 ret = memblock_reserve(crashk_res.start, crash_size); in reserve_crashkernel() 187 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel() 199 (unsigned long)(crash_size >> 20), in reserve_crashkernel()
|
/arch/powerpc/kernel/ |
D | machine_kexec.c | 116 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 121 &crash_size, &crash_base); in reserve_crashkernel() 122 if (ret == 0 && crash_size > 0) { in reserve_crashkernel() 124 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 135 crash_size = resource_size(&crashk_res); in reserve_crashkernel() 165 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel() 166 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel() 185 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 189 if (!memblock_is_region_memory(crashk_res.start, crash_size) || in reserve_crashkernel() 190 memblock_reserve(crashk_res.start, crash_size)) { in reserve_crashkernel()
|
/arch/arm64/mm/ |
D | init.c | 93 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 97 &crash_size, &crash_base); in reserve_crashkernel() 99 if (ret || !crash_size) in reserve_crashkernel() 102 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel() 107 crash_size, SZ_2M); in reserve_crashkernel() 110 crash_size); in reserve_crashkernel() 115 if (!memblock_is_region_memory(crash_base, crash_size)) { in reserve_crashkernel() 120 if (memblock_is_region_reserved(crash_base, crash_size)) { in reserve_crashkernel() 130 memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 133 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel() [all …]
|
/arch/s390/kernel/ |
D | setup.c | 588 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 592 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel() 596 crash_size = ALIGN(crash_size, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel() 597 if (rc || crash_size == 0) in reserve_crashkernel() 600 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel() 607 high = low + crash_size; in reserve_crashkernel() 613 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel() 614 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel() 622 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel() 636 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); in reserve_crashkernel() [all …]
|
/arch/x86/kernel/ |
D | setup.c | 535 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local 542 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel() 543 if (ret != 0 || crash_size <= 0) { in reserve_crashkernel() 546 &crash_size, &crash_base); in reserve_crashkernel() 547 if (ret != 0 || crash_size <= 0) in reserve_crashkernel() 562 crash_size, CRASH_ALIGN); in reserve_crashkernel() 572 crash_base + crash_size, in reserve_crashkernel() 573 crash_size, 1 << 20); in reserve_crashkernel() 579 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 586 memblock_free(crash_base, crash_size); in reserve_crashkernel() [all …]
|
/arch/arm/kernel/ |
D | setup.c | 988 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 994 &crash_size, &crash_base); in reserve_crashkernel() 1004 crash_size, CRASH_ALIGN); in reserve_crashkernel() 1013 crash_base + crash_size, in reserve_crashkernel() 1014 crash_size, SECTION_SIZE); in reserve_crashkernel() 1021 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 1029 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 1035 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 1049 crashk_boot_res.end = crashk_boot_res.start + crash_size - 1; in reserve_crashkernel()
|
/arch/mips/kernel/ |
D | setup.c | 783 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local 788 &crash_size, &crash_base); in mips_parse_crashkernel() 789 if (ret != 0 || crash_size <= 0) in mips_parse_crashkernel() 792 if (!memory_region_available(crash_base, crash_size)) { in mips_parse_crashkernel() 798 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
|