Lines Matching refs:nhashentries
67 size_t nhashentries; member
623 static size_t nhashentries; variable
643 size_t hidx = dbe->hashval % nhashentries; in add_key()
644 size_t hval2 = 1 + dbe->hashval % (nhashentries - 2); in add_key()
650 if ((hidx += hval2) >= nhashentries) in add_key()
651 hidx -= nhashentries; in add_key()
692 nhashentries = nhashentries_min; in compute_tables()
695 memset (db->hashtable, '\xff', nhashentries * sizeof (stridx_t)); in compute_tables()
705 nhashentries_best = nhashentries; in compute_tables()
712 nhashentries_best = nhashentries; in compute_tables()
715 nhashentries = next_prime (nhashentries + 1); in compute_tables()
716 if (nhashentries > nhashentries_max) in compute_tables()
721 nhashentries = nhashentries_best; in compute_tables()
729 db->nhashentries = nhashentries_best; in compute_tables()
768 header->dbs[filled_dbs].hashsize = db->nhashentries; in write_output()
771 iov[2 + filled_dbs].iov_len = db->nhashentries * sizeof (stridx_t); in write_output()
777 = db->nhashentries * sizeof (stridx_t); in write_output()