Home
last modified time | relevance | path

Searched refs:elfcorehdr_strlen (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/powerpc/kexec/
Dfile_load.c39 int elfcorehdr_strlen; in setup_kdump_cmdline() local
46 elfcorehdr_strlen = sprintf(cmdline_ptr, "elfcorehdr=0x%lx ", in setup_kdump_cmdline()
49 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline()
55 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline()
/linux-6.1.9/arch/riscv/kernel/
Delf_kexec.c165 int elfcorehdr_strlen; in setup_kdump_cmdline() local
172 elfcorehdr_strlen = sprintf(cmdline_ptr, "elfcorehdr=0x%lx ", in setup_kdump_cmdline()
175 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline()
181 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline()