Searched refs:new_n_items (Results 1 – 2 of 2) sorted by relevance
135 size_t new_n_items; in ddi_soft_state_zalloc() local154 new_n_items = ss->n_items; in ddi_soft_state_zalloc()155 while (new_n_items < (1 + item)) in ddi_soft_state_zalloc()156 new_n_items <<= 1; /* double array size .. */ in ddi_soft_state_zalloc()158 ASSERT(new_n_items >= (1 + item)); /* sanity check! */ in ddi_soft_state_zalloc()160 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc()174 ss->n_items = new_n_items; in ddi_soft_state_zalloc()
5952 size_t new_n_items; in ddi_soft_state_zalloc() local5972 new_n_items = ss->n_items; in ddi_soft_state_zalloc()5973 while (new_n_items < (1 + item)) in ddi_soft_state_zalloc()5974 new_n_items <<= 1; /* double array size .. */ in ddi_soft_state_zalloc()5976 ASSERT(new_n_items >= (1 + item)); /* sanity check! */ in ddi_soft_state_zalloc()5978 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc()5995 ss->n_items = new_n_items; in ddi_soft_state_zalloc()