Searched refs:thash_size (Results 1 – 4 of 4) sorted by relevance
258 p->thash_size = find_prime(DEF_MSG_NUM); in catalog_init()259 p->thash = Xcalloc(p->thash_size, sizeof (unsigned int)); in catalog_init()282 tmp->thash_size = find_prime(DEF_MSG_NUM); in catalog_init()283 tmp->thash = Xcalloc(tmp->thash_size, in catalog_init()482 hash_val, cur_catalog->thash_size); in handle_message()492 cur_catalog->thash_size = in handle_message()495 cur_catalog->thash = Xcalloc(cur_catalog->thash_size, in handle_message()501 cur_catalog->thash_size); in handle_message()
38 idx = hash_val % p->thash_size; in search_msg()39 inc = 1 + (hash_val % (p->thash_size - 2)); in search_msg()45 idx = (idx + inc) % p->thash_size) { in search_msg()
48 idx = hash_val % p->thash_size; in search_msg()49 inc = 1 + (hash_val % (p->thash_size - 2)); in search_msg()55 idx = (idx + inc) % p->thash_size) { in search_msg()
106 unsigned int thash_size; member