Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c868 #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()
1356 cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, kdb_prompt_str); in kdb_local()
[all …]
Dkdb_io.c28 #define CMD_BUFLEN 256 macro
29 char kdb_prompt_str[CMD_BUFLEN];
203 static char tmpbuffer[CMD_BUFLEN]; in kdb_read()
438 strscpy(kdb_prompt_str, prompt, CMD_BUFLEN); in kdb_getstr()