Searched refs:RUN_ONCE (Results 1 - 25 of 91) sorted by relevance

1234

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/store/
H A Dstore_init.c23 if (!RUN_ONCE(&store_init, do_store_init)) {
H A Dstore_register.c178 if (!RUN_ONCE(&registry_init, do_registry_init)) {
220 if (!RUN_ONCE(&registry_init, do_registry_init)) {
251 if (!RUN_ONCE(&registry_init, do_registry_init)) {
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/
H A Dinit.c486 * unnecessarily - but all the critical code is contained in RUN_ONCE
509 if (!RUN_ONCE(&base, ossl_init_base))
537 } else if (!RUN_ONCE(&register_atexit, ossl_init_register_atexit)) {
541 if (!RUN_ONCE(&load_crypto_nodelete, ossl_init_load_crypto_nodelete))
551 && !RUN_ONCE(&load_crypto_strings, ossl_init_load_crypto_strings))
560 && !RUN_ONCE(&add_all_ciphers, ossl_init_add_all_ciphers))
569 && !RUN_ONCE(&add_all_digests, ossl_init_add_all_digests))
590 ret = RUN_ONCE(&config, ossl_init_config);
607 && !RUN_ONCE(&async, ossl_init_async))
612 && !RUN_ONCE(
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/
H A Dinit.c630 if (!RUN_ONCE(&base, ossl_init_base))
645 } else if (!RUN_ONCE(&register_atexit, ossl_init_register_atexit)) {
649 if (!RUN_ONCE(&load_crypto_nodelete, ossl_init_load_crypto_nodelete))
659 && !RUN_ONCE(&load_crypto_strings, ossl_init_load_crypto_strings))
668 && !RUN_ONCE(&add_all_ciphers, ossl_init_add_all_ciphers))
677 && !RUN_ONCE(&add_all_digests, ossl_init_add_all_digests))
692 ret = RUN_ONCE(&config, ossl_init_config);
700 && !RUN_ONCE(&async, ossl_init_async))
705 && !RUN_ONCE(&engine_openssl, ossl_init_engine_openssl))
709 && !RUN_ONCE(
[all...]
H A Dmem_dbg.c127 if (!RUN_ONCE(&memdbg_init, do_memdbg_init))
201 if (!RUN_ONCE(&memdbg_init, do_memdbg_init))
245 if (!RUN_ONCE(&memdbg_init, do_memdbg_init))
277 if (!RUN_ONCE(&memdbg_init, do_memdbg_init)
331 if (!RUN_ONCE(&memdbg_init, do_memdbg_init)
577 if (!RUN_ONCE(&memdbg_init, do_memdbg_init))
/netbsd-current/sys/sys/
H A Donce.h52 #define RUN_ONCE(o, fn) \ macro
/netbsd-current/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_init.c118 if (!RUN_ONCE(&ssl_base, ossl_init_ssl_base))
127 && !RUN_ONCE(&ssl_strings, ossl_init_load_ssl_strings))
/netbsd-current/sys/modules/examples/executor/
H A Dexecutor.c59 * It should return 0 as RUN_ONCE calls the function until it returns 0.
77 RUN_ONCE(&ctl, runonce_example);
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/internal/
H A Dthread_once.h108 * RUN_ONCE - use CRYPTO_THREAD_run_once, and check if the init succeeded
118 #define RUN_ONCE(once, init) \ macro
/netbsd-current/crypto/external/bsd/openssl/dist/include/internal/
H A Dthread_once.h17 * Initialisation of global data should never happen via "RUN_ONCE" inside the
119 * RUN_ONCE - use CRYPTO_THREAD_run_once, and check if the init succeeded
129 # define RUN_ONCE(once, init) \ macro
/netbsd-current/sys/dev/sysmon/
H A Dsysmon_taskq.c121 (void)RUN_ONCE(&once_tq, tq_preinit);
235 (void)RUN_ONCE(&once_tq, tq_preinit);
286 (void)RUN_ONCE(&once_tq, tq_preinit);
/netbsd-current/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_init.c193 if (!RUN_ONCE(&ssl_base, ossl_init_ssl_base))
202 && !RUN_ONCE(&ssl_strings, ossl_init_load_ssl_strings))
/netbsd-current/sys/external/bsd/drm2/via/
H A Dvia_module.c75 return RUN_ONCE(&viadrm_init_once, &viadrm_init);
/netbsd-current/sys/external/bsd/drm2/i915drm/
H A Di915_module.c92 return RUN_ONCE(&i915drmkms_init_once, &i915drmkms_init);
/netbsd-current/sys/external/bsd/drm2/radeon/
H A Dradeon_module.c86 return RUN_ONCE(&radeon_init_once, &radeon_init);
/netbsd-current/sys/external/bsd/drm2/vmwgfx/
H A Dvmwgfx_module.c76 return RUN_ONCE(&vmwgfx_init_once, &vmwgfx_init);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/engine/
H A Deng_init.c84 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) {
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/engine/
H A Deng_init.c88 if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) {
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/err/
H A Derr.c361 if (!RUN_ONCE(&err_string_init, do_err_strings_init))
400 if (!RUN_ONCE(&err_string_init, do_err_strings_init))
662 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) {
681 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) {
701 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) {
755 if (!RUN_ONCE(&err_init, err_do_init))
809 if (!RUN_ONCE(&err_init, err_do_init))
834 if (!RUN_ONCE(&err_string_init, do_err_strings_init))
/netbsd-current/sys/dev/pci/
H A Dcy82c693.c74 err = RUN_ONCE(&cyhc_once, cy82c693_onceinit);
/netbsd-current/sys/external/bsd/drm2/amdgpu/
H A Damdgpu_module.c107 return RUN_ONCE(&amdgpu_init_once, &amdgpu_init);
/netbsd-current/sys/external/bsd/drm2/linux/
H A Dlinux_module.c142 return RUN_ONCE(&linux_init_once, &linux_init);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/store/
H A Dstore_register.c193 if (!RUN_ONCE(&registry_init, do_registry_init)) {
226 if (!RUN_ONCE(&registry_init, do_registry_init)) {
256 if (!RUN_ONCE(&registry_init, do_registry_init)) {
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/conf/
H A Dconf_mod.c255 if (!RUN_ONCE(&load_builtin_modules, do_load_builtin_modules))
331 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock))
386 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock))
434 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock))
527 if (!RUN_ONCE(&init_module_list_lock, do_init_module_list_lock))
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/err/
H A Derr.c258 * Hash in |str| error strings. Assumes the RUN_ONCE was done.
275 if (!RUN_ONCE(&err_string_init, do_err_strings_init))
311 if (!RUN_ONCE(&err_string_init, do_err_strings_init))
592 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) {
618 if (!RUN_ONCE(&err_string_init, do_err_strings_init)) {
680 if (!RUN_ONCE(&err_init, err_do_init))
742 if (!RUN_ONCE(&err_init, err_do_init))
767 if (!RUN_ONCE(&err_string_init, do_err_strings_init))

Completed in 393 milliseconds

1234