Lines Matching refs:buckets
373 static struct links_entry **buckets;
386 if (buckets == NULL) {
388 buckets = malloc(number_buckets * sizeof(buckets[0]));
389 if (buckets == NULL)
392 buckets[i] = NULL;
415 while (buckets[i] != NULL) {
417 le = buckets[i];
418 buckets[i] = le->next;
431 free(buckets);
432 buckets = new_buckets;
439 for (le = buckets[hash]; le != NULL; le = le->next) {
450 if (buckets[hash] == le)
451 buckets[hash] = le->next;
485 le->next = buckets[hash];
487 if (buckets[hash] != NULL)
488 buckets[hash]->previous = le;
489 buckets[hash] = le;