Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c810 #define CMD_BUFLEN 200 /* kdb_printf: max printline macro
814 static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN];
815 static char cmd_cur[CMD_BUFLEN];
913 static char cbuf[CMD_BUFLEN+2]; in kdb_parse()
947 if (cpp >= cbuf + CMD_BUFLEN) { in kdb_parse()
965 if (cpp >= cbuf + CMD_BUFLEN) in kdb_parse()
1104 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1109 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1291 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT"), in kdb_local()
1294 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT")); in kdb_local()
[all …]
Dkdb_io.c29 #define CMD_BUFLEN 256 macro
30 char kdb_prompt_str[CMD_BUFLEN];
211 static char tmpbuffer[CMD_BUFLEN]; in kdb_read()
453 strncpy(kdb_prompt_str, prompt, CMD_BUFLEN); in kdb_getstr()