Lines Matching defs:free
178 * copy the data, and free the old array.
233 uint_t i, j, free;
235 free = (uint_t)-1;
238 if (set[i] == NULL && free == (uint_t)-1) {
240 * Found a new free slot.
243 free = i;
244 } else if (set[i] != NULL && free != (uint_t)-1) {
247 * an earlier free slot.
249 ASSERT(set[free] == NULL);
250 set[free] = set[i];
254 * Find the next free slot
256 for (j = free + 1; set[j] != NULL; j++) {
262 free = j;
264 free = (uint_t)-1;