Home
last modified time | relevance | path

Searched refs:registry_lock (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/crypto/store/
H A Dstore_register.c18 static CRYPTO_RWLOCK *registry_lock; variable
23 registry_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
24 return registry_lock != NULL; in DEFINE_RUN_ONCE_STATIC()
197 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_register_loader_int()
205 CRYPTO_THREAD_unlock(registry_lock); in ossl_store_register_loader_int()
230 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_get0_loader_int()
240 CRYPTO_THREAD_unlock(registry_lock); in ossl_store_get0_loader_int()
260 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_unregister_loader_int()
270 CRYPTO_THREAD_unlock(registry_lock); in ossl_store_unregister_loader_int()
283 CRYPTO_THREAD_lock_free(registry_lock); in ossl_store_destroy_loaders_int()
[all …]