Home
last modified time | relevance | path

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

123

/openssl/crypto/engine/
H A Deng_list.c162 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 Deng_init.c71 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 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()
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.c172 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 Dasync_posix.c58 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 Dinitthread.c163 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 Dthreads_pthread.c769 __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 Dprovider_core.c343 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 Dthreads_win.c496 __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 Dmem_sec.c164 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 Dcore_namemap.c289 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 Dthreads_none.c119 __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_write_lock() function
/openssl/crypto/store/
H A Dstore_register.c196 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 Do_names.c78 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 Dbss_dgram_pair.c504 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 Ddrbg_hmac.c150 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 Ddrbg_hash.c277 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 DCRYPTO_THREAD_run_once.pod6 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 Drand_lib.c174 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 Dbasic_output.c82 OPENSSL_assert(CRYPTO_THREAD_write_lock(io_lock) > 0); in test_io_lock()
/openssl/crypto/err/
H A Derr.c261 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 Dthreadstest.c76 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 Dssl_sess.c734 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 Dpcy_cache.c191 if (!CRYPTO_THREAD_write_lock(x->lock)) in ossl_policy_cache_set()

Completed in 62 milliseconds

123