Home
last modified time | relevance | path

Searched refs:RUN_ONCE (Results 1 – 23 of 23) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dinit.c486 * 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(&register_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 Dcontext.c166 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 Dinfo.c167 (void)RUN_ONCE(&init_info, init_info_strings); in OPENSSL_info()
H A Dinitthread.c78 if (!RUN_ONCE(&tevent_register_runonce, create_global_tevent_register)) in get_global_tevent_register()
H A Dtrace.c252 if (!RUN_ONCE(&trace_inited, ossl_trace_init)) in set_trace_data()
/freebsd/crypto/openssl/ssl/
H A Dssl_init.c118 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 Dssl_cert.c56 if (!RUN_ONCE(&ssl_x509_store_ctx_once, ssl_x509_store_ctx_init)) in SSL_get_ex_data_X509_STORE_CTX_idx()
H A Dssl_ciph.c478 return RUN_ONCE(&ssl_load_builtin_comp_once, do_load_builtin_compressions); in load_builtin_compressions()
/freebsd/crypto/openssl/crypto/err/
H A Derr.c275 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 Dstore_register.c193 if (!RUN_ONCE(&registry_init, do_registry_init)) { in ossl_store_register_loader_int()
226 if (!RUN_ONCE(&registry_init, do_registry_init)) { in ossl_store_get0_loader_int()
256 if (!RUN_ONCE(&registry_init, do_registry_init)) { in ossl_store_unregister_loader_int()
/freebsd/crypto/openssl/crypto/conf/
H A Dconf_mod.c255 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 Deng_list.c224 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 Deng_init.c88 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_init()
H A Dtb_asnmth.c198 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) { in ENGINE_pkey_asn1_find_str()
H A Deng_lib.c31 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init) in ENGINE_new()
/freebsd/crypto/openssl/include/internal/
H A Dthread_once.h129 # define RUN_ONCE(once, init) \ macro
/freebsd/crypto/openssl/crypto/rand/
H A Drand_lib.c110 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 Dui_util.c153 || !RUN_ONCE(&get_index_once, ui_method_data_index_init) in UI_UTIL_wrap_read_pem_callback()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_meth.c27 if (!RUN_ONCE(&bio_type_init, do_bio_type_init)) { in BIO_get_new_index()
H A Dbio_addr.c779 if (!RUN_ONCE(&bio_lookup_init, do_bio_lookup_init)) { in BIO_lookup_ex()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c251 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 Dself_test.c245 if (!RUN_ONCE(&fips_self_test_init, do_fips_self_test_init)) in SELF_TEST_post()
/freebsd/crypto/openssl/crypto/objects/
H A Do_names.c65 return RUN_ONCE(&init, o_names_init); in OBJ_NAME_init()