Lines Matching refs:config
154 HT_CONFIG config; member
197 memcpy(&new->config, conf, sizeof(*conf)); in ossl_ht_new()
199 if (new->config.init_neighborhoods != 0) { in ossl_ht_new()
200 new->wpd.neighborhood_len = new->config.init_neighborhoods; in ossl_ht_new()
213 if (new->config.ht_free_fn == NULL) in ossl_ht_new()
214 new->config.ht_free_fn = internal_free_nop; in ossl_ht_new()
231 if (new->config.ht_hash_fn == NULL) in ossl_ht_new()
232 new->config.ht_hash_fn = fnv1a_hash; in ossl_ht_new()
284 v->ht->config.ht_free_fn((HT_VALUE *)v); in free_oldmd()
443 if (h->config.lockless_reads) in grow_hashtable()
551 int lockless_reads = h->config.lockless_reads; in ossl_ht_insert_locked()
612 if (h->config.collision_check == 1) in alloc_new_value()
624 if (h->config.collision_check) { in alloc_new_value()
657 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_insert()
684 int lockless_reads = h->config.lockless_reads; in ossl_ht_get()
686 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_get()
719 v->ht->config.ht_free_fn((HT_VALUE *)v); in free_old_entry()
732 if (h->config.lockless_reads) in ossl_ht_delete()
735 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_delete()