/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_list.c | 153 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 D | eng_init.c | 66 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 D | eng_pkey.c | 65 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 D | eng_table.c | 90 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 D | eng_dyn.c | 174 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 D | tb_asnmth.c | 203 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_pkey_asn1_find_str()
|
/freebsd/crypto/openssl/crypto/ |
H A D | threads_pthread.c | 107 __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 D | context.c | 50 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 D | initthread.c | 162 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 D | provider_core.c | 351 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 D | threads_win.c | 83 __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 D | mem_sec.c | 150 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 D | threads_none.c | 41 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
|
H A D | core_namemap.c | 288 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 D | store_register.c | 197 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 D | CRYPTO_THREAD_run_once.pod | 6 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 D | o_names.c | 78 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 D | conf_mod.c | 334 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 D | rand_lib.c | 168 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 D | err.c | 262 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 D | ssl_sess.c | 755 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 D | keymgmt_lib.c | 172 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 D | pcy_cache.c | 191 if (!CRYPTO_THREAD_write_lock(x->lock)) in ossl_policy_cache_set()
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | crngt.c | 125 if (!CRYPTO_THREAD_write_lock(crngt_glob->lock)) in ossl_crngt_get_entropy()
|
/freebsd/crypto/openssl/crypto/property/ |
H A D | property_string.c | 152 if (!CRYPTO_THREAD_write_lock(lock)) { in ossl_property_string()
|