Home
last modified time | relevance | path

Searched refs:elfcorehdr_size (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/kernel/
Delfcorehdr.c21 unsigned long long elfcorehdr_size; variable
36 elfcorehdr_size = elfcorehdr_addr; in setup_elfcorehdr()
/linux-6.12.1/arch/loongarch/kernel/
Dsetup.c231 if (!elfcorehdr_size) { 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/powerpc/kernel/
Dfadump.c1360 if (fw_dump.elfcorehdr_addr == 0 || fw_dump.elfcorehdr_size == 0) in fadump_free_elfcorehdr_buf()
1369 fadump_free_buffer(fw_dump.elfcorehdr_addr, fw_dump.elfcorehdr_size); in fadump_free_elfcorehdr_buf()
1371 fw_dump.elfcorehdr_size = 0; in fadump_free_elfcorehdr_buf()
1646 unsigned long elfcorehdr_size; in fadump_setup_elfcorehdr_buf() local
1654 elfcorehdr_size = sizeof(struct elfhdr) + (elf_phdr_cnt * sizeof(struct elf_phdr)); in fadump_setup_elfcorehdr_buf()
1655 elfcorehdr_size = PAGE_ALIGN(elfcorehdr_size); in fadump_setup_elfcorehdr_buf()
1657 fw_dump.elfcorehdr_addr = (u64)fadump_alloc_buffer(elfcorehdr_size); in fadump_setup_elfcorehdr_buf()
1660 elfcorehdr_size); in fadump_setup_elfcorehdr_buf()
1663 fw_dump.elfcorehdr_size = elfcorehdr_size; in fadump_setup_elfcorehdr_buf()
/linux-6.12.1/arch/mips/kernel/
Dsetup.c424 if (!elfcorehdr_size) { 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/drivers/of/
Dfdt.c475 if (!IS_ENABLED(CONFIG_CRASH_DUMP) || !elfcorehdr_size) in fdt_reserve_elfcorehdr()
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()
824 elfcorehdr_size = dt_mem_next_cell(dt_root_size_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/riscv/kernel/
Dsetup.c164 if (elfcorehdr_size > 0) { in init_resources()
166 elfcorehdr_res.end = elfcorehdr_addr + elfcorehdr_size - 1; in init_resources()
/linux-6.12.1/include/linux/
Dcrash_dump.h16 extern unsigned long long elfcorehdr_size;
/linux-6.12.1/arch/powerpc/include/asm/
Dfadump-internal.h123 u64 elfcorehdr_size; member
/linux-6.12.1/arch/s390/kernel/
Dcrash_dump.c656 BUG_ON(elfcorehdr_size > alloc_size); in elfcorehdr_alloc()
/linux-6.12.1/fs/proc/
Dvmcore.c1560 rc = elfcorehdr_alloc(&elfcorehdr_addr, &elfcorehdr_size); in vmcore_init()