Searched refs:crash_size (Results 1 – 6 of 6) 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 memblock_reserve(crashk_res.start, crash_size); in reserve_crashkernel()
|
/arch/s390/kernel/ |
D | setup.c | 574 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 578 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel() 582 crash_size = ALIGN(crash_size, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel() 583 if (rc || crash_size == 0) in reserve_crashkernel() 586 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel() 593 high = low + crash_size; in reserve_crashkernel() 599 low = max_t(unsigned long, crash_size, sclp_get_hsa_size()); in reserve_crashkernel() 600 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel() 608 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel() 622 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); in reserve_crashkernel() [all …]
|
/arch/x86/kernel/ |
D | setup.c | 573 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 581 &crash_size, &crash_base); in reserve_crashkernel() 582 if (ret != 0 || crash_size <= 0) { in reserve_crashkernel() 585 &crash_size, &crash_base); in reserve_crashkernel() 586 if (ret != 0 || crash_size <= 0) in reserve_crashkernel() 599 crash_size, alignment); in reserve_crashkernel() 610 crash_base + crash_size, crash_size, 1<<20); in reserve_crashkernel() 616 memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 620 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 625 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
|
/arch/arm/kernel/ |
D | setup.c | 864 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 870 &crash_size, &crash_base); in reserve_crashkernel() 874 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 882 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 887 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
|
/arch/mips/kernel/ |
D | setup.c | 619 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local 624 &crash_size, &crash_base); in mips_parse_crashkernel() 625 if (ret != 0 || crash_size <= 0) in mips_parse_crashkernel() 629 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
|