Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/
Dcrash_dump.c21 unsigned long long elfcorehdr_size; variable
36 elfcorehdr_size = elfcorehdr_addr; in setup_elfcorehdr()
/Linux-v6.1/arch/loongarch/kernel/
Dsetup.c199 if (!elfcorehdr_size) { in arch_reserve_vmcore()
207 elfcorehdr_size = end - elfcorehdr_addr; in arch_reserve_vmcore()
213 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in arch_reserve_vmcore()
218 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in arch_reserve_vmcore()
221 elfcorehdr_size >> 10, elfcorehdr_addr); in arch_reserve_vmcore()
/Linux-v6.1/arch/mips/kernel/
Dsetup.c425 if (!elfcorehdr_size) { in mips_reserve_vmcore()
433 elfcorehdr_size = end - elfcorehdr_addr; in mips_reserve_vmcore()
440 (unsigned long)elfcorehdr_size >> 10, (unsigned long)elfcorehdr_addr >> 10); in mips_reserve_vmcore()
442 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in mips_reserve_vmcore()
/Linux-v6.1/drivers/of/
Dfdt.c613 if (!IS_ENABLED(CONFIG_CRASH_DUMP) || !elfcorehdr_size) in fdt_reserve_elfcorehdr()
616 if (memblock_is_region_reserved(elfcorehdr_addr, elfcorehdr_size)) { in fdt_reserve_elfcorehdr()
621 memblock_reserve(elfcorehdr_addr, elfcorehdr_size); in fdt_reserve_elfcorehdr()
624 elfcorehdr_size >> 10, elfcorehdr_addr); in fdt_reserve_elfcorehdr()
960 elfcorehdr_size = dt_mem_next_cell(dt_root_size_cells, &prop); in early_init_dt_check_for_elfcorehdr()
963 elfcorehdr_addr, elfcorehdr_size); in early_init_dt_check_for_elfcorehdr()
/Linux-v6.1/arch/riscv/kernel/
Dsetup.c182 if (elfcorehdr_size > 0) { in init_resources()
184 elfcorehdr_res.end = elfcorehdr_addr + elfcorehdr_size - 1; in init_resources()
/Linux-v6.1/include/linux/
Dcrash_dump.h16 extern unsigned long long elfcorehdr_size;
/Linux-v6.1/arch/s390/kernel/
Dcrash_dump.c618 BUG_ON(elfcorehdr_size > alloc_size); in elfcorehdr_alloc()
/Linux-v6.1/fs/proc/
Dvmcore.c1559 rc = elfcorehdr_alloc(&elfcorehdr_addr, &elfcorehdr_size); in vmcore_init()