Searched refs:CMD_BUFLEN (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/kernel/debug/kdb/ |
D | kdb_main.c | 868 #define CMD_BUFLEN 200 /* kdb_printf: max printline macro 872 static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN]; 873 static char cmd_cur[CMD_BUFLEN]; 971 static char cbuf[CMD_BUFLEN+2]; in kdb_parse() 1005 if (cpp >= cbuf + CMD_BUFLEN) { in kdb_parse() 1023 if (cpp >= cbuf + CMD_BUFLEN) in kdb_parse() 1150 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd() 1155 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd() 1350 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT"), in kdb_local() 1353 strncat(kdb_prompt_str, "[defcmd]", CMD_BUFLEN); in kdb_local() [all …]
|
D | kdb_io.c | 28 #define CMD_BUFLEN 256 macro 29 char kdb_prompt_str[CMD_BUFLEN]; 216 static char tmpbuffer[CMD_BUFLEN]; in kdb_read() 452 strscpy(kdb_prompt_str, prompt, CMD_BUFLEN); in kdb_getstr()
|