Searched refs:num_buckets (Results 1 – 5 of 5) sorted by relevance
68 unsigned int num_buckets; member155 new_num_buckets = bcache->num_buckets * 2; in expand_hash_table()157 if (sizes[i] > bcache->num_buckets) in expand_hash_table()176 for (i = 0; i < bcache->num_buckets; i++) in expand_hash_table()197 bcache->num_buckets = new_num_buckets; in expand_hash_table()253 hash_index = full_hash % bcache->num_buckets; in bcache_full()381 for (b = 0; b < c->num_buckets; b++) in print_bcache_statistics()393 gdb_assert (b < c->num_buckets); in print_bcache_statistics()409 if (c->num_buckets > 0) in print_bcache_statistics()467 c->num_buckets); in print_bcache_statistics()[all …]
145 return (s % ht->num_buckets); in string_hash()242 result->num_buckets = num; in hash_create()270 while (i++ < ht->num_buckets) in hash_count()298 while (i++ < ht->num_buckets) in hash_sizeinfo()526 pos->num_buckets = ht->num_buckets; in hash_first_uint()565 if (pos->curr >= pos->num_buckets) in hash_next_uint()864 pos->num_buckets = ht->num_buckets; in hash_first_pid()903 if (pos->curr >= pos->num_buckets) in hash_next_pid()1202 pos->num_buckets = ht->num_buckets; in hash_first_string()1540 pos->num_buckets = ht->num_buckets; in hash_first_pidthr()[all …]
64 int num_buckets; member69 int num_buckets; member
71 aura_dict_new(size_t num_buckets, int method) in aura_dict_new() argument96 d->num_buckets = num_buckets; in aura_dict_new()97 d->b = malloc(sizeof(struct bucket *) * num_buckets); in aura_dict_new()102 for (i = 0; i < num_buckets; i++) { in aura_dict_new()131 while (bucket_no < d->num_buckets) { in aura_dict_free()195 *b_index = hashpjw(key, key_size, d->num_buckets); in aura_dict_locate_hash()403 if (d->cur_bucket == d->num_buckets - 1) { in aura_dict_advance()453 while (bucket_no < d->num_buckets) { in aura_dict_size()
52 size_t num_buckets; member