Home
last modified time | relevance | path

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

/linux/arch/powerpc/kexec/
H A 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/arch/riscv/kernel/
H A Delf_kexec.c173 int elfcorehdr_strlen; in setup_kdump_cmdline() local
180 elfcorehdr_strlen = sprintf(cmdline_ptr, "elfcorehdr=0x%lx ", in setup_kdump_cmdline()
183 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline()
189 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline()