Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c870 static unsigned int cmd_head, cmd_tail; variable
1143 if (cmd_head == cmd_tail) in handle_ctrl_cmd()
1153 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1346 *(cmd_hist[cmd_head]) = '\0'; in kdb_local()
1359 if (cmdptr == cmd_head) { in kdb_local()
1360 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1362 *(cmd_hist[cmd_head] + in kdb_local()
1363 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local()
1370 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1374 cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
[all …]