Lines Matching refs:htable
240 void ossl_ht_read_lock(HT *htable) in ossl_ht_read_lock() argument
242 ossl_rcu_read_lock(htable->lock); in ossl_ht_read_lock()
245 void ossl_ht_read_unlock(HT *htable) in ossl_ht_read_unlock() argument
247 ossl_rcu_read_unlock(htable->lock); in ossl_ht_read_unlock()
250 void ossl_ht_write_lock(HT *htable) in ossl_ht_write_lock() argument
252 ossl_rcu_write_lock(htable->lock); in ossl_ht_write_lock()
253 htable->wpd.need_sync = 0; in ossl_ht_write_lock()
256 void ossl_ht_write_unlock(HT *htable) in ossl_ht_write_unlock() argument
258 int need_sync = htable->wpd.need_sync; in ossl_ht_write_unlock()
260 htable->wpd.need_sync = 0; in ossl_ht_write_unlock()
261 ossl_rcu_write_unlock(htable->lock); in ossl_ht_write_unlock()
263 ossl_synchronize_rcu(htable->lock); in ossl_ht_write_unlock()