Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c66 bcopy(cmd->cmd_history, newhistory, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()
67 mdb_free(cmd->cmd_history, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()
70 cmd->cmd_history = newhistory; in mdb_cmdbuf_allocchunk()
82 cmd->cmd_history = mdb_alloc(cmd->cmd_halloc * sizeof (char *), in mdb_cmdbuf_create()
87 cmd->cmd_history[i] = mdb_alloc(CMDBUF_LINELEN, UM_SLEEP); in mdb_cmdbuf_create()
89 cmd->cmd_buf = cmd->cmd_history[0]; in mdb_cmdbuf_create()
106 mdb_free(cmd->cmd_history[i], CMDBUF_LINELEN); in mdb_cmdbuf_destroy()
109 mdb_free(cmd->cmd_history, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_destroy()
180 cmd->cmd_history[lastidx]) == 0; in mdb_cmdbuf_accept()
192 cmd->cmd_buf = cmd->cmd_history[cmd->cmd_hnew]; in mdb_cmdbuf_accept()
[all …]
H A Dmdb_cmdbuf.h38 char **cmd_history; /* Circular array of history buffers */ member