Home
last modified time | relevance | path

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

/third_party/openssl/crypto/engine/
Deng_list.c148 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_add_dynamic_id()
184 CRYPTO_THREAD_unlock(global_engine_lock); in engine_add_dynamic_id()
194 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_remove_dynamic_id()
211 CRYPTO_THREAD_unlock(global_engine_lock); in engine_remove_dynamic_id()
224 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_get_first()
230 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_get_first()
243 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_get_last()
249 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_get_last()
261 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_get_next()
268 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_get_next()
[all …]
Deng_pkey.c63 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_load_private_key()
65 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_private_key()
69 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_private_key()
94 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_load_public_key()
96 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_public_key()
100 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_public_key()
125 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_load_ssl_client_cert()
127 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_ssl_client_cert()
132 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_load_ssl_client_cert()
Deng_init.c60 CRYPTO_THREAD_unlock(global_engine_lock); in engine_unlocked_finish()
63 CRYPTO_THREAD_write_lock(global_engine_lock); in engine_unlocked_finish()
88 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_init()
90 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_init()
101 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_finish()
103 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_finish()
Deng_table.c88 CRYPTO_THREAD_write_lock(global_engine_lock); in engine_table_register()
142 CRYPTO_THREAD_unlock(global_engine_lock); in engine_table_register()
164 CRYPTO_THREAD_write_lock(global_engine_lock); in engine_table_unregister()
167 CRYPTO_THREAD_unlock(global_engine_lock); in engine_table_unregister()
182 CRYPTO_THREAD_write_lock(global_engine_lock); in engine_table_cleanup()
188 CRYPTO_THREAD_unlock(global_engine_lock); in engine_table_cleanup()
211 CRYPTO_THREAD_write_lock(global_engine_lock); in engine_table_select()
282 CRYPTO_THREAD_unlock(global_engine_lock); in engine_table_select()
Deng_lib.c15 CRYPTO_RWLOCK *global_engine_lock; variable
25 global_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE()
26 return global_engine_lock != NULL; in DEFINE_RUN_ONCE()
80 CRYPTO_DOWN_REF(&e->struct_ref, &i, global_engine_lock); in engine_free_util()
175 CRYPTO_THREAD_lock_free(global_engine_lock); in engine_cleanup_int()
176 global_engine_lock = NULL; in engine_cleanup_int()
Deng_dyn.c172 CRYPTO_THREAD_write_lock(global_engine_lock); in dynamic_set_data_ctx()
183 CRYPTO_THREAD_unlock(global_engine_lock); in dynamic_set_data_ctx()
213 CRYPTO_THREAD_write_lock(global_engine_lock); in dynamic_get_data_ctx()
220 CRYPTO_THREAD_unlock(global_engine_lock); in dynamic_get_data_ctx()
Dtb_asnmth.c200 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_pkey_asn1_find_str()
208 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_pkey_asn1_find_str()
Deng_ctrl.c132 CRYPTO_THREAD_write_lock(global_engine_lock); in ENGINE_ctrl()
134 CRYPTO_THREAD_unlock(global_engine_lock); in ENGINE_ctrl()
Deng_local.h19 extern CRYPTO_RWLOCK *global_engine_lock;