Home
last modified time | relevance | path

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

/linux/kernel/
H A Dcrash_reserve.c59 unsigned long long *crash_base) in parse_crashkernel_mem() argument
132 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
153 unsigned long long *crash_base) in parse_crashkernel_simple() argument
164 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
256 unsigned long long *crash_base, in __parse_crashkernel() argument
263 BUG_ON(!crash_size || !crash_base); in __parse_crashkernel()
265 *crash_base = 0; in __parse_crashkernel()
284 crash_size, crash_base); in __parse_crashkernel()
286 return parse_crashkernel_simple(ck_cmdline, crash_size, crash_base); in __parse_crashkernel()
299 unsigned long long *crash_base, in parse_crashkernel() argument
[all …]
/linux/arch/s390/kernel/
H A Dsetup.c617 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
622 &crash_size, &crash_base, NULL, NULL); in reserve_crashkernel()
624 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
635 low = crash_base ?: oldmem_data.start; in reserve_crashkernel()
639 crash_base = low; in reserve_crashkernel()
643 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
645 if (crash_base && crash_base < low) { in reserve_crashkernel()
650 low = crash_base ?: low; in reserve_crashkernel()
651 crash_base = memblock_phys_alloc_range(crash_size, in reserve_crashkernel()
656 if (!crash_base) { in reserve_crashkernel()
[all …]
/linux/arch/powerpc/kexec/
H A Dcore.c85 unsigned long long crash_size, crash_base, total_mem_sz; in reserve_crashkernel() local
91 &crash_size, &crash_base, NULL, NULL); in reserve_crashkernel()
93 crashk_res.start = crash_base; in reserve_crashkernel()
94 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
134 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel()
135 if (crash_base != crashk_res.start) { in reserve_crashkernel()
138 crashk_res.start = crash_base; in reserve_crashkernel()
/linux/include/linux/
H A Dcrash_reserve.h18 unsigned long long *crash_size, unsigned long long *crash_base,
37 unsigned long long crash_base,
43 unsigned long long crash_base, in reserve_crashkernel_generic() argument
/linux/arch/mips/kernel/
H A Dsetup.c452 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
460 &crash_size, &crash_base, in mips_parse_crashkernel()
465 if (crash_base <= 0) { in mips_parse_crashkernel()
466 crash_base = memblock_phys_alloc_range(crash_size, CRASH_ALIGN, in mips_parse_crashkernel()
469 if (!crash_base) { in mips_parse_crashkernel()
477 crash_base, in mips_parse_crashkernel()
478 crash_base + crash_size); in mips_parse_crashkernel()
479 if (start != crash_base) { in mips_parse_crashkernel()
485 crashk_res.start = crash_base; in mips_parse_crashkernel()
486 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
/linux/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c177 unsigned long long crash_size, crash_base; in get_crash_kernel() local
181 &crash_base, NULL, NULL); in get_crash_kernel()
184 if (crash_base == 0) in get_crash_kernel()
185 crash_base = KDUMP_KERNELBASE; in get_crash_kernel()
187 regions.crash_start = (unsigned long)crash_base; in get_crash_kernel()
188 regions.crash_end = (unsigned long)(crash_base + crash_size); in get_crash_kernel()
190 pr_debug("crash_base=0x%llx crash_size=0x%llx\n", crash_base, crash_size); in get_crash_kernel()
/linux/arch/sh/kernel/
H A Dmachine_kexec.c142 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
149 &crash_size, &crash_base, NULL, NULL); in reserve_crashkernel()
151 crashk_res.start = crash_base; in reserve_crashkernel()
152 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/linux/arch/arm/kernel/
H A Dsetup.c1006 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
1012 &crash_size, &crash_base, in reserve_crashkernel()
1018 if (crash_base <= 0) { in reserve_crashkernel()
1024 crash_base = memblock_phys_alloc_range(crash_size, CRASH_ALIGN, in reserve_crashkernel()
1026 if (!crash_base) { in reserve_crashkernel()
1031 unsigned long long crash_max = crash_base + crash_size; in reserve_crashkernel()
1035 crash_base, crash_max); in reserve_crashkernel()
1044 (unsigned long)(crash_base >> 20), in reserve_crashkernel()
1048 crashk_res.start = crash_base; in reserve_crashkernel()
1049 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
[all …]
/linux/arch/loongarch/kernel/
H A Dsetup.c261 unsigned long long crash_base, crash_size; in arch_reserve_crashkernel() local
269 &crash_size, &crash_base, &low_size, &high); in arch_reserve_crashkernel()
273 reserve_crashkernel_generic(cmdline, crash_size, crash_base, low_size, high); in arch_reserve_crashkernel()
/linux/arch/x86/kernel/
H A Dsetup.c471 unsigned long long crash_base, crash_size, low_size = 0; in arch_reserve_crashkernel() local
480 &crash_size, &crash_base, in arch_reserve_crashkernel()
490 reserve_crashkernel_generic(cmdline, crash_size, crash_base, in arch_reserve_crashkernel()