Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c65 mdb_free(cmd->cmd_history, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()
68 cmd->cmd_history = newhistory; in mdb_cmdbuf_allocchunk()
80 cmd->cmd_history = mdb_alloc(cmd->cmd_halloc * sizeof (char *), in mdb_cmdbuf_create()
85 cmd->cmd_history[i] = mdb_alloc(CMDBUF_LINELEN, UM_SLEEP); in mdb_cmdbuf_create()
87 cmd->cmd_buf = cmd->cmd_history[0]; in mdb_cmdbuf_create()
104 mdb_free(cmd->cmd_history[i], CMDBUF_LINELEN); in mdb_cmdbuf_destroy()
107 mdb_free(cmd->cmd_history, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_destroy()
178 cmd->cmd_history[lastidx]) == 0; in mdb_cmdbuf_accept()
190 cmd->cmd_buf = cmd->cmd_history[cmd->cmd_hnew]; in mdb_cmdbuf_accept()
468 cmd->cmd_history[cmd->cmd_hcur]); in mdb_cmdbuf_nexthist()
[all …]
H A Dmdb_cmdbuf.h36 char **cmd_history; /* Circular array of history buffers */ member