Searched refs:CMD_BUFLEN (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/kernel/debug/kdb/ |
D | kdb_main.c | 751 #define CMD_BUFLEN 200 /* kdb_printf: max printline macro 755 static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN]; 756 static char cmd_cur[CMD_BUFLEN]; 854 static char cbuf[CMD_BUFLEN+2]; in kdb_parse() 889 if (cpp >= cbuf + CMD_BUFLEN) { in kdb_parse() 907 if (cpp >= cbuf + CMD_BUFLEN) in kdb_parse() 1049 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd() 1054 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd() 1252 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT"), in kdb_local() 1255 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT")); in kdb_local() [all …]
|
D | kdb_io.c | 29 #define CMD_BUFLEN 256 macro 30 char kdb_prompt_str[CMD_BUFLEN]; 205 static char tmpbuffer[CMD_BUFLEN]; in kdb_read() 431 strncpy(kdb_prompt_str, prompt, CMD_BUFLEN); in kdb_getstr()
|