Searched refs:crashk_low_res (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/arch/x86/kernel/ |
H A D | crash.c | 182 if (crashk_low_res.end) in elf_header_exclude_ranges() 183 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges() 184 crashk_low_res.end); in elf_header_exclude_ranges() 316 if (crashk_low_res.end) { in crash_setup_memmap_entries() 317 ei.addr = crashk_low_res.start; in crash_setup_memmap_entries() 318 ei.size = resource_size(&crashk_low_res); in crash_setup_memmap_entries()
|
H A D | setup.c | 537 crashk_low_res.start = low_base; in reserve_crashkernel_low() 538 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low() 539 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
|
H A D | machine_kexec_64.c | 573 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | init.c | 116 crashk_low_res.start = low_base; in reserve_crashkernel_low() 117 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low() 118 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low() 231 if (crashk_low_res.end) in reserve_crashkernel() 232 kmemleak_ignore_phys(crashk_low_res.start); in reserve_crashkernel()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | machine_kexec_file.c | 71 if (crashk_low_res.end) { in prepare_elf_headers() 72 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end); in prepare_elf_headers()
|
H A D | machine_kexec.c | 314 if (!crashk_low_res.end) in crash_is_nosave() 317 if ((addr < crashk_low_res.start) || (crashk_low_res.end < addr)) in crash_is_nosave()
|
/openbmc/linux/kernel/ |
H A D | kexec_core.c | 64 struct resource crashk_low_res = { variable 1110 size += crash_resource_size(&crashk_low_res); in crash_get_memory_size() 1157 low_size = crash_resource_size(&crashk_low_res); in crash_shrink_memory() 1178 ret = __crash_shrink_memory(&crashk_low_res, new_size); in crash_shrink_memory() 1184 if (!crashk_res.end && crashk_low_res.end) { in crash_shrink_memory() 1185 crashk_res.start = crashk_low_res.start; in crash_shrink_memory() 1186 crashk_res.end = crashk_low_res.end; in crash_shrink_memory() 1187 release_resource(&crashk_low_res); in crash_shrink_memory() 1188 crashk_low_res.start = 0; in crash_shrink_memory() 1189 crashk_low_res.end = 0; in crash_shrink_memory()
|
/openbmc/linux/drivers/of/ |
H A D | kexec.c | 405 if (crashk_low_res.end) { in of_kexec_alloc_and_setup_fdt() 408 crashk_low_res.start, in of_kexec_alloc_and_setup_fdt() 409 crashk_low_res.end - crashk_low_res.start + 1); in of_kexec_alloc_and_setup_fdt()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | setup.c | 175 if (crashk_low_res.start != crashk_low_res.end) { in init_resources() 176 ret = add_resource(&iomem_resource, &crashk_low_res); in init_resources()
|
/openbmc/linux/include/linux/ |
H A D | kexec.h | 28 extern struct resource crashk_low_res;
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 1371 crashk_low_res.start = low_base; in reserve_crashkernel_low() 1372 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
|