Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dmachine_kexec.c116 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
121 &crash_size, &crash_base); in reserve_crashkernel()
123 crashk_res.start = crash_base; in reserve_crashkernel()
124 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
157 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel()
158 if (crash_base != crashk_res.start) { in reserve_crashkernel()
161 crashk_res.start = crash_base; in reserve_crashkernel()
/arch/s390/kernel/
Dsetup.c574 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
579 &crash_base); in reserve_crashkernel()
581 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
592 low = crash_base ?: OLDMEM_BASE; in reserve_crashkernel()
596 crash_base = low; in reserve_crashkernel()
600 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
602 if (crash_base && crash_base < low) { in reserve_crashkernel()
607 low = crash_base ?: low; in reserve_crashkernel()
608 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel()
612 if (!crash_base) { in reserve_crashkernel()
[all …]
/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.c573 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
581 &crash_size, &crash_base); in reserve_crashkernel()
585 &crash_size, &crash_base); in reserve_crashkernel()
592 if (crash_base <= 0) { in reserve_crashkernel()
596 crash_base = memblock_find_in_range(alignment, in reserve_crashkernel()
601 if (!crash_base) { in reserve_crashkernel()
609 start = memblock_find_in_range(crash_base, in reserve_crashkernel()
610 crash_base + crash_size, crash_size, 1<<20); in reserve_crashkernel()
611 if (start != crash_base) { in reserve_crashkernel()
616 memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
[all …]
/arch/arm/kernel/
Dsetup.c864 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()
877 (unsigned long)crash_base); in reserve_crashkernel()
883 (unsigned long)(crash_base >> 20), in reserve_crashkernel()
886 crashk_res.start = crash_base; in reserve_crashkernel()
887 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/arch/mips/kernel/
Dsetup.c619 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
624 &crash_size, &crash_base); in mips_parse_crashkernel()
628 crashk_res.start = crash_base; in mips_parse_crashkernel()
629 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()