Lines Matching refs:wpd
158 struct ht_write_private_data_st wpd; member
200 new->wpd.neighborhood_len = new->config.init_neighborhoods; in ossl_ht_new()
202 new->wpd.neighborhood_len--; in ossl_ht_new()
203 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 1; in ossl_ht_new()
204 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 2; in ossl_ht_new()
205 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 4; in ossl_ht_new()
206 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 8; in ossl_ht_new()
207 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 16; in ossl_ht_new()
208 new->wpd.neighborhood_len++; in ossl_ht_new()
210 new->wpd.neighborhood_len = DEFAULT_NEIGH_LEN; in ossl_ht_new()
221 alloc_new_neighborhood_list(new->wpd.neighborhood_len, in ossl_ht_new()
225 new->md->neighborhood_mask = new->wpd.neighborhood_len - 1; in ossl_ht_new()
259 htable->wpd.need_sync = 0; in ossl_ht_write_lock()
264 int need_sync = htable->wpd.need_sync; in ossl_ht_write_unlock()
266 htable->wpd.need_sync = 0; in ossl_ht_write_unlock()
317 h->wpd.value_count = 0; in ossl_ht_flush_internal()
318 h->wpd.neighborhood_len = DEFAULT_NEIGH_LEN; in ossl_ht_flush_internal()
321 h->wpd.need_sync = 1; in ossl_ht_flush_internal()
351 count = h->wpd.value_count; in ossl_ht_count()
463 for (oldi = 0; oldi < h->wpd.neighborhood_len; oldi++) { in grow_hashtable()
492 h->wpd.neighborhood_len = newsize; in grow_hashtable()
499 h->wpd.need_sync = 1; in grow_hashtable()
582 h->wpd.need_sync = 1; in ossl_ht_insert_locked()
599 h->wpd.value_count++; in ossl_ht_insert_locked()
663 if (!grow_hashtable(h, h->wpd.neighborhood_len)) { in ossl_ht_insert()
748 h->wpd.value_count--; in ossl_ht_delete()
757 h->wpd.need_sync = 1; in ossl_ht_delete()