Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dcrash_reserve.c34 struct resource crashk_low_res = { variable
369 crashk_low_res.start = low_base; in reserve_crashkernel_low()
370 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
372 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
451 if (crashk_low_res.end) in reserve_crashkernel_generic()
452 kmemleak_ignore_phys(crashk_low_res.start); in reserve_crashkernel_generic()
467 if (crashk_low_res.start < crashk_low_res.end) in insert_crashkernel_resources()
468 insert_resource(&iomem_resource, &crashk_low_res); in insert_crashkernel_resources()
Dcrash_core.c330 size += crash_resource_size(&crashk_low_res); in crash_get_memory_size()
377 low_size = crash_resource_size(&crashk_low_res); in crash_shrink_memory()
398 ret = __crash_shrink_memory(&crashk_low_res, new_size); in crash_shrink_memory()
404 if (!crashk_res.end && crashk_low_res.end) { in crash_shrink_memory()
405 crashk_res.start = crashk_low_res.start; in crash_shrink_memory()
406 crashk_res.end = crashk_low_res.end; in crash_shrink_memory()
407 release_resource(&crashk_low_res); in crash_shrink_memory()
408 crashk_low_res.start = 0; in crash_shrink_memory()
409 crashk_low_res.end = 0; in crash_shrink_memory()
/linux-6.12.1/arch/x86/kernel/
Dcrash.c198 if (crashk_low_res.end) in elf_header_exclude_ranges()
199 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges()
200 crashk_low_res.end); in elf_header_exclude_ranges()
332 if (crashk_low_res.end) { in crash_setup_memmap_entries()
333 ei.addr = crashk_low_res.start; in crash_setup_memmap_entries()
334 ei.size = resource_size(&crashk_low_res); in crash_setup_memmap_entries()
Dmachine_kexec_64.c572 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
/linux-6.12.1/arch/arm64/kernel/
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()
Dmachine_kexec.c300 if (!crashk_low_res.end) in crash_is_nosave()
303 if ((addr < crashk_low_res.start) || (crashk_low_res.end < addr)) in crash_is_nosave()
/linux-6.12.1/drivers/of/
Dkexec.c406 if (crashk_low_res.end) { in of_kexec_alloc_and_setup_fdt()
409 crashk_low_res.start, in of_kexec_alloc_and_setup_fdt()
410 crashk_low_res.end - crashk_low_res.start + 1); in of_kexec_alloc_and_setup_fdt()
/linux-6.12.1/include/linux/
Dcrash_reserve.h15 extern struct resource crashk_low_res;