Searched refs:elfcorehdr_addr (Results 1 – 11 of 11) sorted by relevance
| /linux/kernel/ |
| H A D | elfcorehdr.c | 15 unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX; variable 16 EXPORT_SYMBOL_GPL(elfcorehdr_addr); 34 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr() 36 elfcorehdr_size = elfcorehdr_addr; in setup_elfcorehdr() 37 elfcorehdr_addr = memparse(end + 1, &end); in setup_elfcorehdr()
|
| /linux/include/linux/ |
| H A D | crash_dump.h | 15 extern unsigned long long elfcorehdr_addr; 70 return elfcorehdr_addr != ELFCORE_ADDR_MAX; in is_kdump_kernel() 84 return elfcorehdr_addr != ELFCORE_ADDR_ERR && in is_vmcore_usable() 85 elfcorehdr_addr != ELFCORE_ADDR_MAX ? 1 : 0; in is_vmcore_usable() 94 elfcorehdr_addr = ELFCORE_ADDR_ERR; in vmcore_unusable()
|
| /linux/arch/loongarch/kernel/ |
| H A D | setup.c | 241 if (elfcorehdr_addr >= start && elfcorehdr_addr < end) { in arch_reserve_vmcore() 247 elfcorehdr_size = end - elfcorehdr_addr; in arch_reserve_vmcore() 253 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in arch_reserve_vmcore() 258 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in arch_reserve_vmcore() 261 elfcorehdr_size >> 10, elfcorehdr_addr); in arch_reserve_vmcore()
|
| /linux/arch/mips/kernel/ |
| H A D | setup.c | 426 if (elfcorehdr_addr >= start && elfcorehdr_addr < end) { in mips_reserve_vmcore() 432 elfcorehdr_size = end - elfcorehdr_addr; in mips_reserve_vmcore() 439 (unsigned long)elfcorehdr_size >> 10, (unsigned long)elfcorehdr_addr >> 10); in mips_reserve_vmcore() 441 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in mips_reserve_vmcore()
|
| /linux/arch/powerpc/kernel/ |
| H A D | fadump.c | 1011 bufp = (char *) fw_dump.elfcorehdr_addr; in fadump_populate_elfcorehdr() 1360 if (fw_dump.elfcorehdr_addr == 0 || fw_dump.elfcorehdr_size == 0) in fadump_free_elfcorehdr_buf() 1368 elfcorehdr_addr = ELFCORE_ADDR_ERR; in fadump_free_elfcorehdr_buf() 1369 fadump_free_buffer(fw_dump.elfcorehdr_addr, fw_dump.elfcorehdr_size); in fadump_free_elfcorehdr_buf() 1370 fw_dump.elfcorehdr_addr = 0; in fadump_free_elfcorehdr_buf() 1660 fw_dump.elfcorehdr_addr = (u64)fadump_alloc_buffer(elfcorehdr_size); in fadump_setup_elfcorehdr_buf() 1661 if (!fw_dump.elfcorehdr_addr) { in fadump_setup_elfcorehdr_buf() 1735 elfcorehdr_addr = virt_to_phys((void *)fw_dump.elfcorehdr_addr); in fadump_process()
|
| /linux/fs/proc/ |
| H A D | vmcore.c | 1219 addr = elfcorehdr_addr; in parse_crash_elf64_headers() 1248 addr = elfcorehdr_addr; in parse_crash_elf64_headers() 1275 addr = elfcorehdr_addr; in parse_crash_elf32_headers() 1303 addr = elfcorehdr_addr; in parse_crash_elf32_headers() 1330 addr = elfcorehdr_addr; in parse_crash_elf_headers() 1718 rc = elfcorehdr_alloc(&elfcorehdr_addr, &elfcorehdr_size); in vmcore_init() 1729 elfcorehdr_free(elfcorehdr_addr); in vmcore_init() 1733 elfcorehdr_free(elfcorehdr_addr); in vmcore_init() 1734 elfcorehdr_addr = ELFCORE_ADDR_ERR; in vmcore_init()
|
| /linux/drivers/of/ |
| H A D | fdt.c | 479 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in fdt_reserve_elfcorehdr() 484 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in fdt_reserve_elfcorehdr() 487 elfcorehdr_size >> 10, elfcorehdr_addr); in fdt_reserve_elfcorehdr() 862 &elfcorehdr_addr, &elfcorehdr_size)) in early_init_dt_check_for_elfcorehdr() 866 elfcorehdr_addr, elfcorehdr_size); in early_init_dt_check_for_elfcorehdr()
|
| /linux/arch/riscv/kernel/ |
| H A D | setup.c | 169 elfcorehdr_res.start = elfcorehdr_addr; in init_resources() 170 elfcorehdr_res.end = elfcorehdr_addr + elfcorehdr_size - 1; in init_resources()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | fadump-internal.h | 122 u64 elfcorehdr_addr; member
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-fadump.c | 516 fadump_conf->elfcorehdr_addr); in opal_fadump_build_cpu_notes() 517 fadump_update_elfcore_header((char *)fadump_conf->elfcorehdr_addr); in opal_fadump_build_cpu_notes()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | rtas-fadump.c | 426 pr_debug("Updating elfcore header (%llx) with cpu notes\n", fadump_conf->elfcorehdr_addr); in rtas_fadump_build_cpu_notes() 427 fadump_update_elfcore_header((char *)fadump_conf->elfcorehdr_addr); in rtas_fadump_build_cpu_notes()
|