Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c61 ssize_t newhalloc = cmd->cmd_halloc + MDB_DEF_HISTLEN; in mdb_cmdbuf_allocchunk() local
63 if (newhalloc > cmd->cmd_histlen) in mdb_cmdbuf_allocchunk()
64 newhalloc = cmd->cmd_histlen; in mdb_cmdbuf_allocchunk()
65 newhistory = mdb_alloc(newhalloc * sizeof (char *), UM_SLEEP); in mdb_cmdbuf_allocchunk()
68 for (i = cmd->cmd_halloc; i < newhalloc; i++) in mdb_cmdbuf_allocchunk()
71 cmd->cmd_halloc = newhalloc; in mdb_cmdbuf_allocchunk()