Searched refs:cmd_history (Results 1 – 2 of 2) sorted by relevance
64 bcopy(cmd->cmd_history, newhistory, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()65 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()[all …]
36 char **cmd_history; /* Circular array of history buffers */ member