Searched refs:elfcorehdr_addr (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/kernel/ |
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-6.12.1/include/linux/ |
D | crash_dump.h | 15 extern unsigned long long elfcorehdr_addr; 66 return elfcorehdr_addr != ELFCORE_ADDR_MAX; in is_kdump_kernel() 80 return elfcorehdr_addr != ELFCORE_ADDR_ERR && in is_vmcore_usable() 81 elfcorehdr_addr != ELFCORE_ADDR_MAX ? 1 : 0; in is_vmcore_usable() 90 elfcorehdr_addr = ELFCORE_ADDR_ERR; in vmcore_unusable()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | setup.c | 233 if (elfcorehdr_addr >= start && elfcorehdr_addr < end) { in arch_reserve_vmcore() 239 elfcorehdr_size = end - elfcorehdr_addr; in arch_reserve_vmcore() 245 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in arch_reserve_vmcore() 250 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in arch_reserve_vmcore() 253 elfcorehdr_size >> 10, elfcorehdr_addr); in arch_reserve_vmcore()
|
/linux-6.12.1/arch/mips/kernel/ |
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-6.12.1/arch/powerpc/kernel/ |
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() 1657 fw_dump.elfcorehdr_addr = (u64)fadump_alloc_buffer(elfcorehdr_size); in fadump_setup_elfcorehdr_buf() 1658 if (!fw_dump.elfcorehdr_addr) { in fadump_setup_elfcorehdr_buf() 1732 elfcorehdr_addr = virt_to_phys((void *)fw_dump.elfcorehdr_addr); in fadump_process()
|
D | crash_dump.c | 103 return !is_fadump_active() && elfcorehdr_addr != ELFCORE_ADDR_MAX; in is_kdump_kernel()
|
/linux-6.12.1/fs/proc/ |
D | vmcore.c | 1217 addr = elfcorehdr_addr; in parse_crash_elf64_headers() 1246 addr = elfcorehdr_addr; in parse_crash_elf64_headers() 1273 addr = elfcorehdr_addr; in parse_crash_elf32_headers() 1301 addr = elfcorehdr_addr; in parse_crash_elf32_headers() 1328 addr = elfcorehdr_addr; in parse_crash_elf_headers() 1560 rc = elfcorehdr_alloc(&elfcorehdr_addr, &elfcorehdr_size); in vmcore_init() 1571 elfcorehdr_free(elfcorehdr_addr); in vmcore_init() 1575 elfcorehdr_free(elfcorehdr_addr); in vmcore_init() 1576 elfcorehdr_addr = ELFCORE_ADDR_ERR; in vmcore_init()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | setup.c | 165 elfcorehdr_res.start = elfcorehdr_addr; in init_resources() 166 elfcorehdr_res.end = elfcorehdr_addr + elfcorehdr_size - 1; in init_resources()
|
/linux-6.12.1/drivers/of/ |
D | fdt.c | 478 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in fdt_reserve_elfcorehdr() 483 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in fdt_reserve_elfcorehdr() 486 elfcorehdr_size >> 10, elfcorehdr_addr); in fdt_reserve_elfcorehdr() 823 elfcorehdr_addr = dt_mem_next_cell(dt_root_addr_cells, &prop); in early_init_dt_check_for_elfcorehdr() 827 elfcorehdr_addr, elfcorehdr_size); in early_init_dt_check_for_elfcorehdr()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | fadump-internal.h | 122 u64 elfcorehdr_addr; member
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
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-6.12.1/arch/powerpc/platforms/pseries/ |
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()
|
/linux-6.12.1/arch/s390/kernel/ |
D | setup.c | 928 elfcorehdr_addr = ELFCORE_ADDR_MAX; in setup_arch()
|