Lines Matching refs:lock
39 CRYPTO_RWLOCK *lock; member
92 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_empty()
95 CRYPTO_THREAD_unlock(namemap->lock); in ossl_namemap_empty()
123 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_doall_names()
130 CRYPTO_THREAD_unlock(namemap->lock); in ossl_namemap_doall_names()
192 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_num2name()
199 CRYPTO_THREAD_unlock(namemap->lock); in ossl_namemap_num2name()
289 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_name()
292 CRYPTO_THREAD_unlock(namemap->lock); in ossl_namemap_add_name()
310 if (!CRYPTO_THREAD_write_lock(namemap->lock)) { in ossl_namemap_add_names()
369 CRYPTO_THREAD_unlock(namemap->lock); in ossl_namemap_add_names()
520 if ((namemap->lock = CRYPTO_THREAD_lock_new()) == NULL) in ossl_namemap_new()
545 CRYPTO_THREAD_lock_free(namemap->lock); in ossl_namemap_free()