Searched refs:newhalloc (Results 1 – 1 of 1) sorted by relevance
59 ssize_t newhalloc = cmd->cmd_halloc + MDB_DEF_HISTLEN; in mdb_cmdbuf_allocchunk() local61 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()