/freebsd/crypto/openssl/crypto/ |
H A D | init.c | 486 * unnecessarily - but all the critical code is contained in RUN_ONCE in OPENSSL_init_crypto() 509 if (!RUN_ONCE(&base, ossl_init_base)) in OPENSSL_init_crypto() 537 } else if (!RUN_ONCE(®ister_atexit, ossl_init_register_atexit)) { in OPENSSL_init_crypto() 541 if (!RUN_ONCE(&load_crypto_nodelete, ossl_init_load_crypto_nodelete)) in OPENSSL_init_crypto() 551 && !RUN_ONCE(&load_crypto_strings, ossl_init_load_crypto_strings)) in OPENSSL_init_crypto() 560 && !RUN_ONCE(&add_all_ciphers, ossl_init_add_all_ciphers)) in OPENSSL_init_crypto() 569 && !RUN_ONCE(&add_all_digests, ossl_init_add_all_digests)) in OPENSSL_init_crypto() 590 ret = RUN_ONCE(&config, ossl_init_config); in OPENSSL_init_crypto() 607 && !RUN_ONCE(&async, ossl_init_async)) in OPENSSL_init_crypto() 612 && !RUN_ONCE( in OPENSSL_init_crypto() [all...] |
H A D | context.c | 166 if (!RUN_ONCE(&default_context_init, default_context_do_init)) in get_thread_default_context() 257 if (!RUN_ONCE(&default_context_init, default_context_do_init)) in OSSL_LIB_CTX_get0_global_default()
|
H A D | info.c | 167 (void)RUN_ONCE(&init_info, init_info_strings); in OPENSSL_info()
|
H A D | initthread.c | 78 if (!RUN_ONCE(&tevent_register_runonce, create_global_tevent_register)) in get_global_tevent_register()
|
H A D | trace.c | 252 if (!RUN_ONCE(&trace_inited, ossl_trace_init)) in set_trace_data()
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_init.c | 118 if (!RUN_ONCE(&ssl_base, ossl_init_ssl_base)) in OPENSSL_init_ssl() 127 && !RUN_ONCE(&ssl_strings, ossl_init_load_ssl_strings)) in OPENSSL_init_ssl()
|
H A D | ssl_cert.c | 56 if (!RUN_ONCE(&ssl_x509_store_ctx_once, ssl_x509_store_ctx_init)) in SSL_get_ex_data_X509_STORE_CTX_idx()
|
H A D | ssl_ciph.c | 478 return RUN_ONCE(&ssl_load_builtin_comp_once, do_load_builtin_compressions); in load_builtin_compressions()
|
/freebsd/crypto/openssl/crypto/err/ |
H A D | err.c | 275 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) in ossl_err_load_ERR_strings() 311 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) in ERR_unload_strings() 592 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) { in ERR_lib_error_string() 618 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) { in ERR_reason_error_string() 680 if (!RUN_ONCE(&err_init, err_do_init)) in ossl_err_get_state_int() 742 if (!RUN_ONCE(&err_init, err_do_init)) in err_shelve_state() 767 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) in ERR_get_next_error_library()
|
/freebsd/crypto/openssl/crypto/store/ |
H A D | store_register.c | 193 if (!RUN_ONCE(®istry_init, do_registry_init)) { in ossl_store_register_loader_int() 226 if (!RUN_ONCE(®istry_init, do_registry_init)) { in ossl_store_get0_loader_int() 256 if (!RUN_ONCE(®istry_init, do_registry_init)) { in ossl_store_unregister_loader_int()
|
/freebsd/crypto/openssl/crypto/conf/ |
H A D | conf_mod.c | 255 if (!RUN_ONCE(&load_builtin_modules, do_load_builtin_modules)) in module_run() 331 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock)) in module_add() 386 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock)) in module_find() 434 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock)) in module_init() 527 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock)) in conf_modules_finish_int()
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_list.c | 224 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_get_first() 244 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_get_last() 383 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_by_id()
|
H A D | eng_init.c | 88 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_init()
|
H A D | tb_asnmth.c | 198 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_pkey_asn1_find_str()
|
H A D | eng_lib.c | 31 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init) in ENGINE_new()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | thread_once.h | 129 # define RUN_ONCE(once, init) \ macro
|
/freebsd/crypto/openssl/crypto/rand/ |
H A D | rand_lib.c | 110 if (RUN_ONCE(&rand_init, do_rand_init)) in RAND_keep_random_devices_open() 165 if (!RUN_ONCE(&rand_init, do_rand_init)) in rand_set_rand_method_internal() 188 if (!RUN_ONCE(&rand_init, do_rand_init)) in RAND_get_rand_method() 220 if (!RUN_ONCE(&rand_init, do_rand_init)) in RAND_set_rand_engine()
|
/freebsd/crypto/openssl/crypto/ui/ |
H A D | ui_util.c | 153 || !RUN_ONCE(&get_index_once, ui_method_data_index_init) in UI_UTIL_wrap_read_pem_callback()
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bio_meth.c | 27 if (!RUN_ONCE(&bio_type_init, do_bio_type_init)) { in BIO_get_new_index()
|
H A D | bio_addr.c | 779 if (!RUN_ONCE(&bio_lookup_init, do_bio_lookup_init)) { in BIO_lookup_ex()
|
/freebsd/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 251 if (RUN_ONCE(&zlib_once, ossl_comp_zlib_init)) in COMP_zlib() 318 if (!RUN_ONCE(&zlib_once, ossl_comp_zlib_init)) { in bio_zlib_new()
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test.c | 245 if (!RUN_ONCE(&fips_self_test_init, do_fips_self_test_init)) in SELF_TEST_post()
|
/freebsd/crypto/openssl/crypto/objects/ |
H A D | o_names.c | 65 return RUN_ONCE(&init, o_names_init); in OBJ_NAME_init()
|