Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c59 ssize_t newhalloc = cmd->cmd_halloc + MDB_DEF_HISTLEN; in mdb_cmdbuf_allocchunk() local
61 if (newhalloc > cmd->cmd_histlen) in mdb_cmdbuf_allocchunk()
62 newhalloc = cmd->cmd_histlen; in mdb_cmdbuf_allocchunk()
63 newhistory = mdb_alloc(newhalloc * sizeof (char *), UM_SLEEP); in mdb_cmdbuf_allocchunk()
66 for (i = cmd->cmd_halloc; i < newhalloc; i++) in mdb_cmdbuf_allocchunk()
69 cmd->cmd_halloc = newhalloc; in mdb_cmdbuf_allocchunk()