Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dsunddi.c6033 size_t new_n_items; in ddi_soft_state_zalloc() local
6053 new_n_items = ss->n_items; in ddi_soft_state_zalloc()
6054 while (new_n_items < (1 + item)) in ddi_soft_state_zalloc()
6055 new_n_items <<= 1; /* double array size .. */ in ddi_soft_state_zalloc()
6057 ASSERT(new_n_items >= (1 + item)); /* sanity check! */ in ddi_soft_state_zalloc()
6059 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc()
6076 ss->n_items = new_n_items; in ddi_soft_state_zalloc()