Lines Matching refs:buckets
170 /* The buckets are managed as a 256 by 256 matrix. We allocate an entire
171 * row (256 buckets) at a time to minimize fragmentation. Rows are
188 hash_bucket_type **buckets;
194 (class_hash->buckets[ID / HASH_ROW_SIZE] + ID % HASH_ROW_SIZE)
441 class_hash->buckets = (hash_bucket_type **)
445 if (class_hash->buckets == 0 ||
468 if (class_hash->buckets) {
470 if (class_hash->buckets[i] == 0)
472 free(class_hash->buckets[i]);
475 free(class_hash->buckets);
487 if (class_hash->buckets[row] == 0) {
488 class_hash->buckets[row] = (hash_bucket_type*)
490 if (class_hash->buckets[row] == 0)