Searched refs:ht_buckets_num (Results 1 – 1 of 1) sorted by relevance
218 static uint_t ht_buckets_num = 0; variable227 for (i = 0; i < ht_buckets_num; i++) { in ht_free()236 ht_buckets_num = 0; in ht_free()245 ht_buckets_num = 8; in ht_init()246 ht_buckets = safe_malloc(sizeof (*ht_buckets) * ht_buckets_num); in ht_init()247 bzero(ht_buckets, sizeof (*ht_buckets) * ht_buckets_num); in ht_init()282 new_ht_buckets_num = ht_buckets_num * 2; in ht_grow()283 assert(new_ht_buckets_num > ht_buckets_num); in ht_grow()288 for (i = 0; i < ht_buckets_num; ++i) { in ht_grow()307 ht_buckets_num = new_ht_buckets_num; in ht_grow()[all …]