/kernel/linux/linux-5.10/kernel/ |
D | crash_core.c | 40 unsigned long long *crash_size, in parse_crashkernel_mem() argument 95 *crash_size = size; in parse_crashkernel_mem() 100 if (*crash_size > 0) { in parse_crashkernel_mem() 125 unsigned long long *crash_size, in parse_crashkernel_simple() argument 130 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple() 163 unsigned long long *crash_size, in parse_crashkernel_suffix() argument 168 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix() 231 unsigned long long *crash_size, in __parse_crashkernel() argument 239 BUG_ON(!crash_size || !crash_base); in __parse_crashkernel() 240 *crash_size = 0; in __parse_crashkernel() [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | machine_kexec.c | 153 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 157 &crash_size, &crash_base); in reserve_crashkernel() 158 if (ret == 0 && crash_size > 0) { in reserve_crashkernel() 160 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 166 crash_size = PAGE_ALIGN(resource_size(&crashk_res)); in reserve_crashkernel() 169 crashk_res.start = memblock_phys_alloc_range(crash_size, in reserve_crashkernel() 176 ret = memblock_reserve(crashk_res.start, crash_size); in reserve_crashkernel() 184 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel() 196 (unsigned long)(crash_size >> 20), in reserve_crashkernel()
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
D | core.c | 118 unsigned long long crash_size, crash_base, total_mem_sz; in reserve_crashkernel() local 124 &crash_size, &crash_base); in reserve_crashkernel() 125 if (ret == 0 && crash_size > 0) { in reserve_crashkernel() 127 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 138 crash_size = resource_size(&crashk_res); in reserve_crashkernel() 175 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel() 176 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel() 196 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 200 if (!memblock_is_region_memory(crashk_res.start, crash_size) || in reserve_crashkernel() 201 memblock_reserve(crashk_res.start, crash_size)) { in reserve_crashkernel()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | init.c | 100 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 104 &crash_size, &crash_base); in reserve_crashkernel() 106 if (ret || !crash_size) in reserve_crashkernel() 109 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel() 114 crash_size, SZ_2M); in reserve_crashkernel() 117 crash_size); in reserve_crashkernel() 122 if (!memblock_is_region_memory(crash_base, crash_size)) { in reserve_crashkernel() 127 if (memblock_is_region_reserved(crash_base, crash_size)) { in reserve_crashkernel() 137 memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 140 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | setup.c | 674 unsigned long long crash_base, crash_size; in reserve_crashkernel() local 678 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel() 682 crash_size = ALIGN(crash_size, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel() 683 if (rc || crash_size == 0) in reserve_crashkernel() 686 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel() 693 high = low + crash_size; in reserve_crashkernel() 699 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel() 700 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel() 708 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel() 722 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); in reserve_crashkernel() [all …]
|
D | machine_kexec_file.c | 107 u64 crash_size; in kexec_file_update_purgatory() local 116 crash_size = crashk_res.end - crashk_res.start + 1; in kexec_file_update_purgatory() 118 &crash_size, in kexec_file_update_purgatory() 119 sizeof(crash_size), in kexec_file_update_purgatory()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | setup.c | 491 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local 498 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel() 499 if (ret != 0 || crash_size <= 0) { in reserve_crashkernel() 502 &crash_size, &crash_base); in reserve_crashkernel() 503 if (ret != 0 || crash_size <= 0) in reserve_crashkernel() 524 crash_base = memblock_phys_alloc_range(crash_size, in reserve_crashkernel() 528 crash_base = memblock_phys_alloc_range(crash_size, in reserve_crashkernel() 538 start = memblock_phys_alloc_range(crash_size, SZ_1M, crash_base, in reserve_crashkernel() 539 crash_base + crash_size); in reserve_crashkernel() 547 memblock_free(crash_base, crash_size); in reserve_crashkernel() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | crash_core.h | 81 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);
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | setup.c | 445 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local 450 &crash_size, &crash_base); in mips_parse_crashkernel() 451 if (ret != 0 || crash_size <= 0) in mips_parse_crashkernel() 456 crash_size, CRASH_ALIGN); in mips_parse_crashkernel() 464 start = memblock_find_in_range(crash_base, crash_base + crash_size, in mips_parse_crashkernel() 465 crash_size, 1); in mips_parse_crashkernel() 473 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 179 unsigned long long crash_size, crash_base; in get_crash_kernel() local 182 ret = parse_crashkernel(boot_command_line, size, &crash_size, in get_crash_kernel() 184 if (ret != 0 || crash_size == 0) in get_crash_kernel() 190 regions.crash_end = (unsigned long)(crash_base + crash_size); in get_crash_kernel() 192 pr_debug("crash_base=0x%llx crash_size=0x%llx\n", crash_base, crash_size); in get_crash_kernel()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | setup.c | 1000 unsigned long long crash_size, crash_base; in reserve_crashkernel() local 1006 &crash_size, &crash_base); in reserve_crashkernel() 1016 crash_size, CRASH_ALIGN); in reserve_crashkernel() 1025 crash_base + crash_size, in reserve_crashkernel() 1026 crash_size, SECTION_SIZE); in reserve_crashkernel() 1033 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel() 1041 (unsigned long)(crash_size >> 20), in reserve_crashkernel() 1047 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel() 1061 crashk_boot_res.end = crashk_boot_res.start + crash_size - 1; in reserve_crashkernel()
|
/kernel/linux/linux-5.10/arch/s390/purgatory/ |
D | head.S | 142 lg %r9,crash_size-.base_crash(%r13) 266 GLOBAL_VARIABLE crash_size,8
|