Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/crypto/engine/
H A Deng_list.c153 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_add_dynamic_id()
199 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_remove_dynamic_id()
229 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_first()
249 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_last()
268 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_next()
289 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_prev()
315 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_add()
333 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_remove()
388 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_by_id()
H A 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()
H A 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_private_key()
124 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_load_private_key()
H A Deng_table.c90 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_register()
169 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_unregister()
189 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_table_cleanup()
219 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ossl_engine_table_select()
H A 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()
H A Dtb_asnmth.c203 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_pkey_asn1_find_str()
/freebsd/crypto/openssl/crypto/
H A Dthreads_pthread.c107 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
213 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_add()
240 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_or()
H A Dcontext.c50 return CRYPTO_THREAD_write_lock(ossl_lib_ctx_get_concrete(ctx)->lock); in ossl_lib_ctx_write_lock()
327 if (!CRYPTO_THREAD_write_lock(ctx->lock)) in ossl_lib_ctx_generic_new()
395 if (!CRYPTO_THREAD_write_lock(ctx->index_locks[index])) in ossl_lib_ctx_get_data()
397 if (!CRYPTO_THREAD_write_lock(ctx->lock)) { in ossl_lib_ctx_get_data()
468 if (!CRYPTO_THREAD_write_lock(ctx->oncelock)) in ossl_lib_ctx_run_once()
H A 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()
H A 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()
631 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_add_to_store()
822 && CRYPTO_THREAD_write_lock(store->default_path_lock)) { in OSSL_PROVIDER_set_default_search_path()
1072 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_deactivate()
1154 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_activate()
1228 if (!CRYPTO_THREAD_write_lock(prov->opbits_lock)) in provider_remove_store_methods()
1306 if (!CRYPTO_THREAD_write_lock(store->lock)) in provider_activate_fallbacks()
1401 if (!CRYPTO_THREAD_write_lock(pro in ossl_provider_doall_activated()
[all...]
H A 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()
H A Dmem_sec.c150 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_malloc()
183 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_free()
208 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_clear_free()
259 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_actual_size()
H A Dthreads_none.c41 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
H A Dcore_namemap.c288 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_name_n()
315 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_names()
/freebsd/crypto/openssl/crypto/store/
H A 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()
/freebsd/crypto/openssl/doc/man3/
H A 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.
155 return CRYPTO_THREAD_write_lock(lock);
/freebsd/crypto/openssl/crypto/objects/
H A 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()
/freebsd/crypto/openssl/crypto/conf/
H A Dconf_mod.c334 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in module_add()
437 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in module_init()
491 if (!CRYPTO_THREAD_write_lock(module_list_lock)) in CONF_modules_unload()
532 || !CRYPTO_THREAD_write_lock(module_list_lock)) in conf_modules_finish_int()
/freebsd/crypto/openssl/crypto/rand/
H A Drand_lib.c168 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in rand_set_rand_method_internal()
191 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in RAND_get_rand_method()
232 if (!CRYPTO_THREAD_write_lock(rand_engine_lock)) { in RAND_set_rand_engine()
636 if (!CRYPTO_THREAD_write_lock(dgbl->lock)) in RAND_get0_primary()
/freebsd/crypto/openssl/crypto/err/
H A 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()
/freebsd/crypto/openssl/ssl/
H A Dssl_sess.c755 if (!CRYPTO_THREAD_write_lock(ctx->lock)) { in SSL_CTX_add_session()
839 if (!CRYPTO_THREAD_write_lock(ctx->lock)) in remove_session_lock()
944 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_timeout()
978 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_time()
1187 if (!CRYPTO_THREAD_write_lock(s->lock)) in SSL_CTX_flush_sessions()
/freebsd/crypto/openssl/crypto/evp/
H A Dkeymgmt_lib.c172 if (!CRYPTO_THREAD_write_lock(pk->lock)) { in evp_keymgmt_util_export_to_provider()
225 if (locking && pk->lock != NULL && !CRYPTO_THREAD_write_lock(pk->lock)) in evp_keymgmt_util_clear_operation_cache()
/freebsd/crypto/openssl/crypto/x509/
H A Dpcy_cache.c191 if (!CRYPTO_THREAD_write_lock(x->lock)) in ossl_policy_cache_set()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Dcrngt.c125 if (!CRYPTO_THREAD_write_lock(crngt_glob->lock)) in ossl_crngt_get_entropy()
/freebsd/crypto/openssl/crypto/property/
H A Dproperty_string.c152 if (!CRYPTO_THREAD_write_lock(lock)) { in ossl_property_string()

123