Home
last modified time | relevance | path

Searched refs:crash_base (Results 1 – 6 of 6) sorted by relevance

/arch/s390/kernel/
Dsetup.c561 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
566 &crash_base); in reserve_crashkernel()
568 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
579 low = crash_base ?: OLDMEM_BASE; in reserve_crashkernel()
583 crash_base = low; in reserve_crashkernel()
587 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
589 if (crash_base && crash_base < low) { in reserve_crashkernel()
594 low = crash_base ?: low; in reserve_crashkernel()
595 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel()
599 if (!crash_base) { in reserve_crashkernel()
[all …]
/arch/powerpc/kernel/
Dmachine_kexec.c116 unsigned long long crash_size, crash_base, total_mem_sz; in reserve_crashkernel() local
122 &crash_size, &crash_base); in reserve_crashkernel()
124 crashk_res.start = crash_base; in reserve_crashkernel()
125 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
158 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel()
159 if (crash_base != crashk_res.start) { in reserve_crashkernel()
162 crashk_res.start = crash_base; in reserve_crashkernel()
/arch/sh/kernel/
Dmachine_kexec.c157 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
161 &crash_size, &crash_base); in reserve_crashkernel()
163 crashk_res.start = crash_base; in reserve_crashkernel()
164 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/arch/x86/kernel/
Dsetup.c556 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
563 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
567 &crash_size, &crash_base); in reserve_crashkernel()
574 if (crash_base <= 0) { in reserve_crashkernel()
578 crash_base = memblock_find_in_range(CRASH_ALIGN, in reserve_crashkernel()
582 if (!crash_base) { in reserve_crashkernel()
590 start = memblock_find_in_range(crash_base, in reserve_crashkernel()
591 crash_base + crash_size, in reserve_crashkernel()
593 if (start != crash_base) { in reserve_crashkernel()
598 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
[all …]
/arch/arm/kernel/
Dsetup.c900 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
906 &crash_size, &crash_base); in reserve_crashkernel()
910 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
913 (unsigned long)crash_base); in reserve_crashkernel()
919 (unsigned long)(crash_base >> 20), in reserve_crashkernel()
922 crashk_res.start = crash_base; in reserve_crashkernel()
923 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/arch/mips/kernel/
Dsetup.c702 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
707 &crash_size, &crash_base); in mips_parse_crashkernel()
711 crashk_res.start = crash_base; in mips_parse_crashkernel()
712 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()