Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/arch/riscv/kernel/
Delf_kexec.c153 int elfcorehdr_strlen; in setup_kdump_cmdline() local
160 elfcorehdr_strlen = sprintf(cmdline_ptr, "elfcorehdr=0x%lx ", in setup_kdump_cmdline()
163 if (elfcorehdr_strlen + cmdline_len > COMMAND_LINE_SIZE) { in setup_kdump_cmdline()
169 memcpy(cmdline_ptr + elfcorehdr_strlen, cmdline, cmdline_len); in setup_kdump_cmdline()