Searched refs:crashk_low_res (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/loongarch/kernel/ |
| H A D | machine_kexec_file.c | 88 if (crashk_low_res.end) { in prepare_elf_headers() 89 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end); in prepare_elf_headers() 113 if (crashk_low_res.end) { in cmdline_add_mem() 115 crashk_low_res.end - crashk_low_res.start + 1, crashk_low_res.start); in cmdline_add_mem()
|
| /linux/kernel/ |
| H A D | crash_reserve.c | 36 struct resource crashk_low_res = { variable 383 crashk_low_res.start = low_base; in reserve_crashkernel_low() 384 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low() 386 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low() 464 if (crashk_low_res.end) in reserve_crashkernel_generic() 465 kmemleak_ignore_phys(crashk_low_res.start); in reserve_crashkernel_generic() 533 if (crashk_low_res.start < crashk_low_res.end) in insert_crashkernel_resources() 534 insert_resource(&iomem_resource, &crashk_low_res); in insert_crashkernel_resources()
|
| H A D | crash_core.c | 360 size += crash_resource_size(&crashk_low_res); in __crash_shrink_memory() 407 low_size = crash_resource_size(&crashk_low_res); in crash_shrink_memory() 420 * crashk_low_res also needs to be shrunken. Otherwise, only crashk_res in crash_shrink_memory() 428 ret = __crash_shrink_memory(&crashk_low_res, new_size); in crash_shrink_memory() 433 /* Swap crashk_res and crashk_low_res if needed */ in crash_shrink_memory() 434 if (!crashk_res.end && crashk_low_res.end) { in crash_shrink_memory() 435 crashk_res.start = crashk_low_res.start; in crash_shrink_memory() 436 crashk_res.end = crashk_low_res.end; in crash_shrink_memory() 437 release_resource(&crashk_low_res); in crash_shrink_memory() 438 crashk_low_res in crash_shrink_memory() [all...] |
| /linux/arch/x86/kernel/ |
| H A D | crash.c | 208 if (crashk_low_res.end) in elf_header_exclude_ranges() 209 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges() 210 crashk_low_res.end); in elf_header_exclude_ranges() 377 if (crashk_low_res.end) { in crash_setup_memmap_entries() 378 ei.addr = crashk_low_res.start; in crash_setup_memmap_entries() 379 ei.size = resource_size(&crashk_low_res); in crash_setup_memmap_entries()
|
| H A D | machine_kexec_64.c | 654 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
|
| /linux/arch/arm64/kernel/ |
| H A D | machine_kexec_file.c | 72 if (crashk_low_res.end) { in prepare_elf_headers() 73 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end); in prepare_elf_headers()
|
| /linux/drivers/of/ |
| H A D | kexec.c | 434 if (crashk_low_res.end) { in of_kexec_alloc_and_setup_fdt() 437 crashk_low_res.start, in of_kexec_alloc_and_setup_fdt() 438 crashk_low_res.end - crashk_low_res.start + 1); in of_kexec_alloc_and_setup_fdt()
|
| /linux/include/linux/ |
| H A D | crash_reserve.h | 15 extern struct resource crashk_low_res;
|