Lines Matching refs:grp_capacity
59 if (g->grp_capacity > 0) {
60 kmem_free(g->grp_set, g->grp_capacity * sizeof (void *));
61 g->grp_capacity = 0;
93 g->grp_size == g->grp_capacity)
96 ASSERT(g->grp_size != g->grp_capacity || (gflag & GRP_RESIZE));
99 if (g->grp_size > g->grp_capacity)
148 while (g->grp_capacity < n)
161 cap_old = g->grp_capacity;
174 g->grp_capacity = cap_new;
183 g->grp_capacity = cap_new;
201 cap_old = g->grp_capacity;
219 g->grp_capacity = cap_new;
303 if (idx >= g->grp_capacity)
320 if (idx >= g->grp_capacity)
337 ASSERT(idx < g->grp_capacity);
350 for (idx = 0; idx < g->grp_capacity; idx++) {