Home
last modified time | relevance | path

Searched refs:crashk_low_res (Results 1 – 8 of 8) sorted by relevance

/linux/arch/loongarch/kernel/
H A Dmachine_kexec_file.c88 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 Dcrash_reserve.c36 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 Dcrash_core.c360 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 Dcrash.c208 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 Dmachine_kexec_64.c654 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
/linux/arch/arm64/kernel/
H A Dmachine_kexec_file.c72 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 Dkexec.c434 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 Dcrash_reserve.h15 extern struct resource crashk_low_res;