Searched refs:elfcorehdr_strlen (Results 1 – 2 of 2) sorted by relevance
39 int elfcorehdr_strlen; in setup_kdump_cmdline() local46 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()
153 int elfcorehdr_strlen; in setup_kdump_cmdline() local160 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()