Lines Matching defs:count
132 #define HASH_BKT_CAPACITY_THRESH 10U /* expand when bucket count reaches */
144 (head)->hh.tbl->buckets[_hd_bkt].count++; \
538 if ((head)->hh.tbl->buckets[_bkt_i].count != _bkt_count) { \
539 HASH_OOPS("%s: invalid bucket count %u, actual %u\n", \
540 (where), (head)->hh.tbl->buckets[_bkt_i].count, _bkt_count); \
544 HASH_OOPS("%s: invalid hh item count %u, actual %u\n", \
560 HASH_OOPS("%s: invalid app item count %u, actual %u\n", \
769 _ha_head->count++; \
776 if ((_ha_head->count >= ((_ha_head->expand_mult + 1U) * HASH_BKT_CAPACITY_THRESH)) \
791 _hd_head->count--; \
810 * (item count) in each bucket is reduced. Thus by expanding buckets
816 * maximum chain length based on the *new* (doubled) bucket count.
855 if (++(_he_newbkt->count) > (tbl)->ideal_chain_maxlen) { \
857 if (_he_newbkt->count > _he_newbkt->expand_mult * (tbl)->ideal_chain_maxlen) { \
1064 /* obtain a count of items in the hash */
1070 unsigned count;