Home
last modified time | relevance | path

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

123

/openssl/test/
H A Dthreadstest.c90 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_lock()
229 rwtorturelock = CRYPTO_THREAD_lock_new(); in _torture_rw()
230 atomiclock = CRYPTO_THREAD_lock_new(); in _torture_rw()
421 atomiclock = CRYPTO_THREAD_lock_new(); in _torture_rcu()
593 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_atomic()
1278 if (!TEST_ptr(global_lock = CRYPTO_THREAD_lock_new())) in setup_tests()
1282 if (!TEST_ptr(tsan_lock = CRYPTO_THREAD_lock_new())) in setup_tests()
H A Dlhash_test.c662 if (!TEST_ptr(worker_lock = CRYPTO_THREAD_lock_new())) in test_hashtable_multithread()
664 if (!TEST_ptr(testrand_lock = CRYPTO_THREAD_lock_new())) in test_hashtable_multithread()
/openssl/doc/man3/
H A DCRYPTO_THREAD_run_once.pod6 CRYPTO_THREAD_lock_new, CRYPTO_THREAD_read_lock, CRYPTO_THREAD_write_lock,
21 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
71 CRYPTO_THREAD_lock_new() allocates, initializes and returns a new read/write
176 CRYPTO_THREAD_lock_new() returns the allocated lock, or NULL on error.
228 lock = CRYPTO_THREAD_lock_new();
/openssl/crypto/async/arch/
H A Dasync_posix.c29 async_mem_lock = CRYPTO_THREAD_lock_new(); in async_local_init()
/openssl/test/testutil/
H A Dbasic_output.c46 io_lock = CRYPTO_THREAD_lock_new(); in test_open_streams()
/openssl/crypto/
H A Dinit.c64 if ((optsdone_lock = CRYPTO_THREAD_lock_new()) == NULL in DEFINE_RUN_ONCE_STATIC()
65 || (init_lock = CRYPTO_THREAD_lock_new()) == NULL) in DEFINE_RUN_ONCE_STATIC()
H A Dthreads_none.c99 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
H A Dprovider_child.c250 gbl->lock = CRYPTO_THREAD_lock_new(); in ossl_provider_init_as_child()
H A Dthreads_win.c175 new->rw_lock = CRYPTO_THREAD_lock_new(); in ossl_rcu_lock_new()
453 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
H A Dprovider_core.c314 || (store->default_path_lock = CRYPTO_THREAD_lock_new()) == NULL in ossl_provider_store_new()
318 || (store->lock = CRYPTO_THREAD_lock_new()) == NULL) { in ossl_provider_store_new()
450 if ((prov->activatecnt_lock = CRYPTO_THREAD_lock_new()) == NULL) { in provider_new()
456 if ((prov->opbits_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_new()
457 || (prov->flag_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_new()
H A Dinitthread.c65 glob_tevent_reg->lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/openssl/crypto/objects/
H A Dobj_xref.c57 sig_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
H A Dobj_dat.c60 ossl_obj_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
65 ossl_obj_nid_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
H A Do_names.c53 obj_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/openssl/crypto/rand/
H A Drand_lib.c55 rand_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
61 rand_meth_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
472 dgbl->lock = CRYPTO_THREAD_lock_new(); in ossl_rand_ctx_new()
/openssl/crypto/store/
H A Dstore_register.c23 registry_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/openssl/crypto/engine/
H A Deng_lib.c23 global_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE()
/openssl/include/internal/
H A Drefcount.h224 refcnt->lock = CRYPTO_THREAD_lock_new(); in CRYPTO_NEW_REF()
/openssl/crypto/property/
H A Dproperty_string.c102 propdata->lock = CRYPTO_THREAD_lock_new(); in ossl_property_string_data_new()
H A Dproperty.c251 || (res->lock = CRYPTO_THREAD_lock_new()) == NULL in ossl_method_store_new()
252 || (res->biglock = CRYPTO_THREAD_lock_new()) == NULL) { in ossl_method_store_new()
/openssl/crypto/asn1/
H A Dtasn_utl.c88 *lock = CRYPTO_THREAD_lock_new(); in ossl_asn1_do_lock()
/openssl/crypto/dh/
H A Ddh_lib.c81 ret->lock = CRYPTO_THREAD_lock_new(); in dh_new_intern()
/openssl/providers/fips/
H A Dself_test.c66 self_test_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/openssl/crypto/dsa/
H A Ddsa_lib.c140 ret->lock = CRYPTO_THREAD_lock_new(); in dsa_new_intern()
/openssl/crypto/bn/
H A Dbn_blind.c39 ret->lock = CRYPTO_THREAD_lock_new(); in BN_BLINDING_new()

Completed in 72 milliseconds

123