Home
last modified time | relevance | path

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

/linux/arch/arm64/mm/
A Dinit.c77 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
82 &crash_size, &crash_base); in reserve_crashkernel()
90 if (crash_base) in reserve_crashkernel()
91 crash_max = crash_base + crash_size; in reserve_crashkernel()
94 crash_base = memblock_phys_alloc_range(crash_size, SZ_2M, in reserve_crashkernel()
95 crash_base, crash_max); in reserve_crashkernel()
96 if (!crash_base) { in reserve_crashkernel()
103 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel()
109 kmemleak_ignore_phys(crash_base); in reserve_crashkernel()
110 crashk_res.start = crash_base; in reserve_crashkernel()
[all …]
/linux/kernel/
A Dcrash_core.c43 unsigned long long *crash_base) in parse_crashkernel_mem() argument
107 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
128 unsigned long long *crash_base) in parse_crashkernel_simple() argument
139 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
234 unsigned long long *crash_base, in __parse_crashkernel() argument
241 BUG_ON(!crash_size || !crash_base); in __parse_crashkernel()
243 *crash_base = 0; in __parse_crashkernel()
263 crash_size, crash_base); in __parse_crashkernel()
275 unsigned long long *crash_base) in parse_crashkernel() argument
284 unsigned long long *crash_base) in parse_crashkernel_high() argument
[all …]
/linux/arch/s390/kernel/
A Dsetup.c651 &crash_base); in reserve_crashkernel()
653 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
664 low = crash_base ?: oldmem_data.start; in reserve_crashkernel()
668 crash_base = low; in reserve_crashkernel()
672 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
674 if (crash_base && crash_base < low) { in reserve_crashkernel()
679 low = crash_base ?: low; in reserve_crashkernel()
685 if (!crash_base) { in reserve_crashkernel()
698 crashk_res.start = crash_base; in reserve_crashkernel()
700 memblock_remove(crash_base, crash_size); in reserve_crashkernel()
[all …]
/linux/arch/x86/kernel/
A Dsetup.c479 &crash_size, &crash_base); in reserve_crashkernel()
491 if (!crash_base) { in reserve_crashkernel()
501 crash_base = memblock_phys_alloc_range(crash_size, in reserve_crashkernel()
504 if (!crash_base) in reserve_crashkernel()
508 if (!crash_base) { in reserve_crashkernel()
516 crash_base + crash_size); in reserve_crashkernel()
517 if (start != crash_base) { in reserve_crashkernel()
524 memblock_phys_free(crash_base, crash_size); in reserve_crashkernel()
530 (unsigned long)(crash_base >> 20), in reserve_crashkernel()
533 crashk_res.start = crash_base; in reserve_crashkernel()
[all …]
/linux/arch/powerpc/kexec/
A Dcore.c105 unsigned long long crash_size, crash_base, total_mem_sz; in reserve_crashkernel() local
111 &crash_size, &crash_base); in reserve_crashkernel()
113 crashk_res.start = crash_base; in reserve_crashkernel()
114 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
147 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel()
148 if (crash_base != crashk_res.start) { in reserve_crashkernel()
151 crashk_res.start = crash_base; in reserve_crashkernel()
/linux/arch/mips/kernel/
A Dsetup.c445 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
450 &crash_size, &crash_base); in mips_parse_crashkernel()
454 if (crash_base <= 0) { in mips_parse_crashkernel()
455 crash_base = memblock_phys_alloc_range(crash_size, CRASH_ALIGN, in mips_parse_crashkernel()
458 if (!crash_base) { in mips_parse_crashkernel()
466 crash_base, in mips_parse_crashkernel()
467 crash_base + crash_size); in mips_parse_crashkernel()
468 if (start != crash_base) { in mips_parse_crashkernel()
474 crashk_res.start = crash_base; in mips_parse_crashkernel()
475 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
/linux/arch/powerpc/mm/nohash/
A Dkaslr_booke.c183 unsigned long long crash_size, crash_base; in get_crash_kernel() local
187 &crash_base); in get_crash_kernel()
190 if (crash_base == 0) in get_crash_kernel()
191 crash_base = KDUMP_KERNELBASE; in get_crash_kernel()
193 regions.crash_start = (unsigned long)crash_base; in get_crash_kernel()
194 regions.crash_end = (unsigned long)(crash_base + crash_size); in get_crash_kernel()
196 pr_debug("crash_base=0x%llx crash_size=0x%llx\n", crash_base, crash_size); in get_crash_kernel()
/linux/arch/sh/kernel/
A Dmachine_kexec.c153 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
157 &crash_size, &crash_base); in reserve_crashkernel()
159 crashk_res.start = crash_base; in reserve_crashkernel()
160 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/linux/arch/riscv/mm/
A Dinit.c781 unsigned long long crash_base = 0; in reserve_crashkernel() local
801 &crash_size, &crash_base); in reserve_crashkernel()
807 if (crash_base) { in reserve_crashkernel()
808 search_start = crash_base; in reserve_crashkernel()
809 search_end = crash_base + crash_size; in reserve_crashkernel()
816 crash_base = memblock_phys_alloc_range(crash_size, PMD_SIZE, in reserve_crashkernel()
818 if (crash_base == 0) { in reserve_crashkernel()
825 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel()
827 crashk_res.start = crash_base; in reserve_crashkernel()
828 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/linux/include/linux/
A Dcrash_core.h81 unsigned long long *crash_size, unsigned long long *crash_base);
83 unsigned long long *crash_size, unsigned long long *crash_base);
85 unsigned long long *crash_size, unsigned long long *crash_base);
/linux/arch/arm/kernel/
A Dsetup.c1000 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
1006 &crash_size, &crash_base); in reserve_crashkernel()
1010 if (crash_base <= 0) { in reserve_crashkernel()
1016 crash_base = memblock_phys_alloc_range(crash_size, CRASH_ALIGN, in reserve_crashkernel()
1018 if (!crash_base) { in reserve_crashkernel()
1023 unsigned long long crash_max = crash_base + crash_size; in reserve_crashkernel()
1027 crash_base, crash_max); in reserve_crashkernel()
1036 (unsigned long)(crash_base >> 20), in reserve_crashkernel()
1040 crashk_res.start = crash_base; in reserve_crashkernel()
1041 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
[all …]

Completed in 18 milliseconds