Home
last modified time | relevance | path

Searched refs:crash_size (Results 1 – 9 of 9) sorted by relevance

/arch/sh/kernel/
Dmachine_kexec.c155 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
159 &crash_size, &crash_base); in reserve_crashkernel()
160 if (ret == 0 && crash_size > 0) { in reserve_crashkernel()
162 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
168 crash_size = PAGE_ALIGN(resource_size(&crashk_res)); in reserve_crashkernel()
171 crashk_res.start = memblock_phys_alloc_range(crash_size, in reserve_crashkernel()
178 ret = memblock_reserve(crashk_res.start, crash_size); in reserve_crashkernel()
186 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel()
198 (unsigned long)(crash_size >> 20), in reserve_crashkernel()
/arch/powerpc/kernel/
Dmachine_kexec.c117 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
122 &crash_size, &crash_base); in reserve_crashkernel()
123 if (ret == 0 && crash_size > 0) { in reserve_crashkernel()
125 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
136 crash_size = resource_size(&crashk_res); in reserve_crashkernel()
166 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel()
167 crashk_res.end = crashk_res.start + crash_size - 1; in reserve_crashkernel()
186 (unsigned long)(crash_size >> 20), in reserve_crashkernel()
190 if (!memblock_is_region_memory(crashk_res.start, crash_size) || in reserve_crashkernel()
191 memblock_reserve(crashk_res.start, crash_size)) { in reserve_crashkernel()
/arch/arm64/mm/
Dinit.c71 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
75 &crash_size, &crash_base); in reserve_crashkernel()
77 if (ret || !crash_size) in reserve_crashkernel()
80 crash_size = PAGE_ALIGN(crash_size); in reserve_crashkernel()
85 crash_size, SZ_2M); in reserve_crashkernel()
88 crash_size); in reserve_crashkernel()
93 if (!memblock_is_region_memory(crash_base, crash_size)) { in reserve_crashkernel()
98 if (memblock_is_region_reserved(crash_base, crash_size)) { in reserve_crashkernel()
108 memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
111 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel()
[all …]
/arch/x86/kernel/
Dsetup.c531 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
538 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
539 if (ret != 0 || crash_size <= 0) { in reserve_crashkernel()
542 &crash_size, &crash_base); in reserve_crashkernel()
543 if (ret != 0 || crash_size <= 0) in reserve_crashkernel()
566 crash_size, CRASH_ALIGN); in reserve_crashkernel()
570 crash_size, CRASH_ALIGN); in reserve_crashkernel()
579 crash_base + crash_size, in reserve_crashkernel()
580 crash_size, 1 << 20); in reserve_crashkernel()
586 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
[all …]
/arch/s390/kernel/
Dsetup.c670 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
674 rc = parse_crashkernel(boot_command_line, memory_end, &crash_size, in reserve_crashkernel()
678 crash_size = ALIGN(crash_size, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
679 if (rc || crash_size == 0) in reserve_crashkernel()
682 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel()
689 high = low + crash_size; in reserve_crashkernel()
695 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel()
696 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
704 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel()
718 diag10_range(PFN_DOWN(crash_base), PFN_DOWN(crash_size)); in reserve_crashkernel()
[all …]
Dmachine_kexec_file.c98 u64 crash_size; in kexec_file_update_purgatory() local
107 crash_size = crashk_res.end - crashk_res.start + 1; in kexec_file_update_purgatory()
109 &crash_size, in kexec_file_update_purgatory()
110 sizeof(crash_size), in kexec_file_update_purgatory()
/arch/mips/kernel/
Dsetup.c488 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
493 &crash_size, &crash_base); in mips_parse_crashkernel()
494 if (ret != 0 || crash_size <= 0) in mips_parse_crashkernel()
497 if (!memblock_find_in_range(crash_base, crash_base + crash_size, crash_size, 0)) { in mips_parse_crashkernel()
503 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()
/arch/arm/kernel/
Dsetup.c990 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
996 &crash_size, &crash_base); in reserve_crashkernel()
1006 crash_size, CRASH_ALIGN); in reserve_crashkernel()
1015 crash_base + crash_size, in reserve_crashkernel()
1016 crash_size, SECTION_SIZE); in reserve_crashkernel()
1023 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
1031 (unsigned long)(crash_size >> 20), in reserve_crashkernel()
1037 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
1051 crashk_boot_res.end = crashk_boot_res.start + crash_size - 1; in reserve_crashkernel()
/arch/s390/purgatory/
Dhead.S141 lg %r9,crash_size-.base_crash(%r13)
265 GLOBAL_VARIABLE crash_size,8