Lines Matching defs:hash_sz
470 size_t hash_sz = 0;
475 hash_sz = DB_NUM(hdp, DB_LINK) / AVG_CHAIN_SIZE;
477 hash_sz = (hash_sz >= MIN_HASH_SIZE) ? hash_sz : MIN_HASH_SIZE;
479 CACHE(hdp)->hash = calloc(hash_sz, sizeof (cache_link_t *));
483 CACHE(hdp)->hash_sz = hash_sz;
1074 assert((CACHE(hdp)->hash == NULL) ^ (CACHE(hdp)->hash_sz != 0));
1078 CACHE(hdp)->hash_sz = 0;
1934 for (hval = 0; hval < CACHE(hdp)->hash_sz; hval++) {
2168 CACHE(hdp)->hash_sz = sz;
3055 assert(CACHE(hdp)->hash_sz >= MIN_HASH_SIZE);
3061 return (hval % CACHE(hdp)->hash_sz);
3602 for (i = 0; i < CACHE(hdp)->hash_sz; i++) {