Home
last modified time | relevance | path

Searched refs:CRYPTO_THREAD_write_lock (Results 1 – 25 of 51) sorted by relevance

123

/third_party/openssl/crypto/engine/
Deng_list.c150 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_add_dynamic_id()
196 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_remove_dynamic_id()
226 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_first()
246 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_last()
265 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_next()
286 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_prev()
312 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_add()
330 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_remove()
385 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_by_id()
Deng_init.c66 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_unlocked_finish()
92 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_init()
106 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_finish()
Deng_pkey.c65 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_load_private_key()
94 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_load_public_key()
124 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_load_ssl_client_cert()
Deng_table.c90 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_register()
166 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_unregister()
186 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_cleanup()
214 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ossl_engine_table_select()
Deng_dyn.c174 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in dynamic_set_data_ctx()
218 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in dynamic_get_data_ctx()
Dtb_asnmth.c203 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_pkey_asn1_find_str()
/third_party/openssl/crypto/
Dcontext.c49 return CRYPTO_THREAD_write_lock(ossl_lib_ctx_get_concrete(ctx)->lock); in ossl_lib_ctx_write_lock()
312 if (!CRYPTO_THREAD_write_lock(ctx->lock)) in ossl_lib_ctx_generic_new()
380 if (!CRYPTO_THREAD_write_lock(ctx->index_locks[index])) in ossl_lib_ctx_get_data()
382 if (!CRYPTO_THREAD_write_lock(ctx->lock)) { in ossl_lib_ctx_get_data()
453 if (!CRYPTO_THREAD_write_lock(ctx->oncelock)) in ossl_lib_ctx_run_once()
Dthreads_pthread.c109 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
215 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_add()
242 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_or()
Dinitthread.c162 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_push_handlers()
178 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_remove_handlers()
325 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_stop()
420 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_deregister()
Dprovider_core.c351 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_disable_fallback_loading()
378 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_info_add_to_store()
436 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_find()
624 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_add_to_store()
815 && CRYPTO_THREAD_write_lock(store->default_path_lock)) { in OSSL_PROVIDER_set_default_search_path()
1063 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_deactivate()
1145 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_activate()
1219 if (!CRYPTO_THREAD_write_lock(prov->opbits_lock)) in provider_remove_store_methods()
1297 if (!CRYPTO_THREAD_write_lock(store->lock)) in provider_activate_fallbacks()
1392 if (!CRYPTO_THREAD_write_lock(prov->flag_lock)) in ossl_provider_doall_activated()
[all …]
Dthreads_win.c83 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
223 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_or()
Dmem_sec.c149 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_malloc()
182 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_free()
207 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_clear_free()
252 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_actual_size()
Dthreads_none.c41 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
Dcore_namemap.c285 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_name_n()
312 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_names()
/third_party/openssl/crypto/store/
Dstore_register.c197 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_register_loader_int()
230 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_get0_loader_int()
260 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_unregister_loader_int()
/third_party/openssl/providers/fips/
Dself_test.c232 if (ossl_assert(CRYPTO_THREAD_write_lock(fips_state_lock) != 0)) { in set_fips_state()
266 if (!CRYPTO_THREAD_write_lock(self_test_lock)) in SELF_TEST_post()
405 if (!CRYPTO_THREAD_write_lock(fips_state_lock)) in ossl_prov_is_running()
/third_party/openssl/doc/man3/
DCRYPTO_THREAD_run_once.pod6 CRYPTO_THREAD_lock_new, CRYPTO_THREAD_read_lock, CRYPTO_THREAD_write_lock,
19 int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
63 CRYPTO_THREAD_write_lock() locks the provided I<lock> for writing.
154 return CRYPTO_THREAD_write_lock(lock);
/third_party/openssl/crypto/conf/
Dconf_mod.c328 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in module_add()
431 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in module_init()
485 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in CONF_modules_unload()
526 || !CRYPTO_THREAD_write_lock(module_list_lock)) in conf_modules_finish_int()
/third_party/openssl/crypto/objects/
Do_names.c78 if (!CRYPTO_THREAD_write_lock(obj_lock)) in OBJ_NAME_new_index()
209 if (!CRYPTO_THREAD_write_lock(obj_lock)) { in OBJ_NAME_add()
251 if (!CRYPTO_THREAD_write_lock(obj_lock)) in OBJ_NAME_remove()
/third_party/openssl/crypto/rand/
Drand_lib.c167 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in rand_set_rand_method_internal()
190 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in RAND_get_rand_method()
231 if (!CRYPTO_THREAD_write_lock(rand_engine_lock)) { in RAND_set_rand_engine()
629 if (!CRYPTO_THREAD_write_lock(dgbl->lock)) in RAND_get0_primary()
/third_party/openssl/ssl/
Dssl_sess.c713 if (!CRYPTO_THREAD_write_lock(ctx->lock)) { in SSL_CTX_add_session()
797 if (!CRYPTO_THREAD_write_lock(ctx->lock)) in remove_session_lock()
902 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_timeout()
936 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_time()
1145 if (!CRYPTO_THREAD_write_lock(s->lock)) in SSL_CTX_flush_sessions()
/third_party/openssl/crypto/err/
Derr.c262 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in err_load_strings()
314 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in ERR_unload_strings()
770 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in ERR_get_next_error_library()
/third_party/openssl/crypto/evp/
Dkeymgmt_lib.c171 if (!CRYPTO_THREAD_write_lock(pk->lock)) { in evp_keymgmt_util_export_to_provider()
223 if (locking && pk->lock != NULL && !CRYPTO_THREAD_write_lock(pk->lock)) in evp_keymgmt_util_clear_operation_cache()
/third_party/openssl/providers/implementations/rands/
Dcrngt.c125 if (!CRYPTO_THREAD_write_lock(crngt_glob->lock)) in ossl_crngt_get_entropy()
/third_party/openssl/crypto/x509/
Dpcy_cache.c191 if (!CRYPTO_THREAD_write_lock(x->lock)) in ossl_policy_cache_set()

123