Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c770 static unsigned int cmd_head, cmd_tail; variable
1060 if (cmd_head == cmd_tail) in handle_ctrl_cmd()
1069 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1244 *(cmd_hist[cmd_head]) = '\0'; in kdb_local()
1262 if (cmdptr == cmd_head) { in kdb_local()
1263 strncpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1265 *(cmd_hist[cmd_head] + in kdb_local()
1266 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local()
1273 strncpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1277 cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
[all …]