/openssl/crypto/engine/ |
H A D | eng_list.c | 162 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_add_dynamic_id() 208 if (not_locked && !CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_remove_dynamic_id() 239 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_first() 266 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_last() 291 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_next() 318 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_get_prev() 350 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_add() 368 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_remove() 424 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_by_id()
|
H A D | eng_init.c | 71 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in engine_unlocked_finish() 98 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_init() 112 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_public_key() 124 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in ENGINE_load_ssl_client_cert()
|
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 | 172 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in dynamic_set_data_ctx() 216 if (!CRYPTO_THREAD_write_lock(global_engine_lock)) in dynamic_get_data_ctx()
|
/openssl/crypto/async/arch/ |
H A D | async_posix.c | 58 if (!CRYPTO_THREAD_write_lock(async_mem_lock)) in ASYNC_set_mem_functions() 109 if (!CRYPTO_THREAD_write_lock(async_mem_lock)) in async_fibre_makecontext()
|
/openssl/crypto/ |
H A D | initthread.c | 163 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_push_handlers() 179 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_remove_handlers() 340 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_stop() 433 if (!CRYPTO_THREAD_write_lock(gtr->lock)) in init_thread_deregister()
|
H A D | threads_pthread.c | 769 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function 875 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_add() 902 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_add64() 928 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_and() 954 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_or() 1002 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_store()
|
H A D | provider_core.c | 343 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_disable_fallback_loading() 370 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_info_add_to_store() 420 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_find() 640 if (!CRYPTO_THREAD_write_lock(store->lock)) in ossl_provider_add_to_store() 1109 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_deactivate() 1200 if (lock && !CRYPTO_THREAD_write_lock(prov->flag_lock)) { in provider_activate() 1282 if (!CRYPTO_THREAD_write_lock(prov->opbits_lock)) in provider_remove_store_methods() 1360 if (!CRYPTO_THREAD_write_lock(store->lock)) in provider_activate_fallbacks() 1908 if (!CRYPTO_THREAD_write_lock(provider->opbits_lock)) in ossl_provider_set_operation_bit() 2027 if (!CRYPTO_THREAD_write_lock(store->lock)) { in ossl_provider_register_child_cb() [all …]
|
H A D | threads_win.c | 496 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function 637 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_add64() 656 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_and() 675 if (lock == NULL || !CRYPTO_THREAD_write_lock(lock)) in CRYPTO_atomic_or()
|
H A D | mem_sec.c | 164 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) { in CRYPTO_secure_malloc() 205 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_free() 230 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_clear_free() 281 if (!CRYPTO_THREAD_write_lock(sec_malloc_lock)) in CRYPTO_secure_actual_size()
|
H A D | core_namemap.c | 289 if (!CRYPTO_THREAD_write_lock(namemap->lock)) in ossl_namemap_add_name() 310 if (!CRYPTO_THREAD_write_lock(namemap->lock)) { in ossl_namemap_add_names()
|
H A D | threads_none.c | 119 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
|
/openssl/crypto/store/ |
H A D | store_register.c | 196 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() 261 if (!CRYPTO_THREAD_write_lock(registry_lock)) in ossl_store_unregister_loader_int()
|
/openssl/crypto/objects/ |
H A D | o_names.c | 78 if (!CRYPTO_THREAD_write_lock(obj_lock)) in OBJ_NAME_new_index() 208 if (!CRYPTO_THREAD_write_lock(obj_lock)) { in OBJ_NAME_add() 250 if (!CRYPTO_THREAD_write_lock(obj_lock)) in OBJ_NAME_remove()
|
/openssl/crypto/bio/ |
H A D | bss_dgram_pair.c | 504 if (CRYPTO_THREAD_write_lock(readb->lock) == 0) in dgram_pair_ctrl_pending() 972 if (CRYPTO_THREAD_write_lock(x->lock) == 0) in dgram_pair_lock_both_write() 975 if (CRYPTO_THREAD_write_lock(y->lock) == 0) { in dgram_pair_lock_both_write() 1060 if (CRYPTO_THREAD_write_lock(readb->lock) == 0) { in dgram_pair_recvmmsg() 1104 if (CRYPTO_THREAD_write_lock(b->lock) == 0) { in dgram_mem_read() 1265 if (CRYPTO_THREAD_write_lock(b->lock) == 0) { in dgram_pair_write() 1297 if (CRYPTO_THREAD_write_lock(b->lock) == 0) { in dgram_pair_sendmmsg()
|
/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 150 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hmac_instantiate_wrapper() 281 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hmac_uninstantiate_wrapper() 456 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hmac_set_ctx_params()
|
H A D | drbg_hash.c | 277 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hash_instantiate_wrapper() 388 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hash_uninstantiate_wrapper() 553 if (drbg->lock != NULL && !CRYPTO_THREAD_write_lock(drbg->lock)) in drbg_hash_set_ctx_params()
|
/openssl/doc/man3/ |
H A D | CRYPTO_THREAD_run_once.pod | 6 CRYPTO_THREAD_lock_new, CRYPTO_THREAD_read_lock, CRYPTO_THREAD_write_lock, 23 int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock); 80 CRYPTO_THREAD_write_lock() locks the provided I<lock> for writing. 235 return CRYPTO_THREAD_write_lock(lock);
|
/openssl/crypto/rand/ |
H A D | rand_lib.c | 174 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in rand_set_rand_method_internal() 204 if (!CRYPTO_THREAD_write_lock(rand_meth_lock)) in RAND_get_rand_method() 245 if (!CRYPTO_THREAD_write_lock(rand_engine_lock)) { in RAND_set_rand_engine() 761 if (!CRYPTO_THREAD_write_lock(dgbl->lock)) in RAND_get0_primary()
|
/openssl/test/testutil/ |
H A D | basic_output.c | 82 OPENSSL_assert(CRYPTO_THREAD_write_lock(io_lock) > 0); in test_io_lock()
|
/openssl/crypto/err/ |
H A D | err.c | 261 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in err_load_strings() 313 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in ERR_unload_strings() 771 if (!CRYPTO_THREAD_write_lock(err_string_lock)) in ERR_get_next_error_library()
|
/openssl/test/ |
H A D | threadstest.c | 76 if (!TEST_true(CRYPTO_THREAD_write_lock(tsan_lock))) in get_new_uid() 98 && TEST_true(CRYPTO_THREAD_write_lock(lock)) in test_lock() 130 if (!CRYPTO_THREAD_write_lock(rwtorturelock)) in rwwriter_fn() 726 if (CRYPTO_THREAD_write_lock(global_lock) == 0) { in multi_set_success()
|
/openssl/ssl/ |
H A D | ssl_sess.c | 734 if (!CRYPTO_THREAD_write_lock(ctx->lock)) { in SSL_CTX_add_session() 818 if (!CRYPTO_THREAD_write_lock(ctx->lock)) in remove_session_lock() 930 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_timeout() 971 if (!CRYPTO_THREAD_write_lock(s->owner->lock)) in SSL_SESSION_set_time_ex() 1210 if (!CRYPTO_THREAD_write_lock(s->lock)) in SSL_CTX_flush_sessions_ex()
|
/openssl/crypto/x509/ |
H A D | pcy_cache.c | 191 if (!CRYPTO_THREAD_write_lock(x->lock)) in ossl_policy_cache_set()
|