Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/debug/kdb/
Dkdb_io.c29 #define CMD_BUFLEN 256 macro
30 char kdb_prompt_str[CMD_BUFLEN];
204 static char tmpbuffer[CMD_BUFLEN]; in kdb_read()
439 strscpy(kdb_prompt_str, prompt, CMD_BUFLEN); in kdb_getstr()
Dkdb_main.c817 #define CMD_BUFLEN 200 /* kdb_printf: max printline macro
821 static char cmd_hist[KDB_CMD_HISTORY_COUNT][CMD_BUFLEN];
822 static char cmd_cur[CMD_BUFLEN];
920 static char cbuf[CMD_BUFLEN+2]; in kdb_parse()
954 if (cpp >= cbuf + CMD_BUFLEN) { in kdb_parse()
972 if (cpp >= cbuf + CMD_BUFLEN) in kdb_parse()
1112 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1117 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1309 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT"), in kdb_local()
1312 strncat(kdb_prompt_str, "[defcmd]", CMD_BUFLEN); in kdb_local()
[all …]