Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_main.c871 static unsigned int cmdptr; variable
1147 if (cmdptr != cmd_tail) in handle_ctrl_cmd()
1148 cmdptr = (cmdptr + KDB_CMD_HISTORY_COUNT - 1) % in handle_ctrl_cmd()
1150 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1153 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1154 cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; in handle_ctrl_cmd()
1155 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1359 if (cmdptr == cmd_head) { in kdb_local()
1379 cmdptr = cmd_head; in kdb_local()