Searched refs:CMD_BUFLEN (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/kernel/debug/kdb/ |
H A D | kdb_io.c | 29 #define CMD_BUFLEN 256 macro 30 char kdb_prompt_str[CMD_BUFLEN]; 211 static char tmpbuffer[CMD_BUFLEN]; kdb_read() 445 strncpy(kdb_prompt_str, prompt, CMD_BUFLEN); kdb_getstr()
|
H A D | kdb_main.c | 810 #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]; 947 if (cpp >= cbuf + CMD_BUFLEN) { 965 if (cpp >= cbuf + CMD_BUFLEN) 1104 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); handle_ctrl_cmd() 1109 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); handle_ctrl_cmd() 1291 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT"), kdb_local() 1294 snprintf(kdb_prompt_str, CMD_BUFLEN, kdbgetenv("PROMPT")); kdb_local() 1297 strncat(kdb_prompt_str, "[defcmd]", CMD_BUFLEN); kdb_local() 1302 cmdbuf = kdb_getstr(cmdbuf, CMD_BUFLEN, kdb_prompt_str); kdb_local() 1307 CMD_BUFLEN); kdb_local() 1317 CMD_BUFLEN); kdb_local()
|
Completed in 69 milliseconds