Home
last modified time | relevance | path

Searched refs:destructor_key (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dinitthread.c141 } destructor_key = { -1 }; variable
203 if (!CRYPTO_THREAD_init_local(&destructor_key.value, in ossl_init_thread()
213 CRYPTO_THREAD_cleanup_local(&destructor_key.value); in ossl_cleanup_thread()
214 destructor_key.sane = -1; in ossl_cleanup_thread()
230 if (destructor_key.sane != -1) { in OPENSSL_thread_stop()
232 = init_get_thread_local(&destructor_key.value, 0, 0); in OPENSSL_thread_stop()
242 if (destructor_key.sane != -1) { in ossl_ctx_thread_stop()
244 = init_get_thread_local(&destructor_key.value, 0, 1); in ossl_ctx_thread_stop()
375 CRYPTO_THREAD_LOCAL *local = &destructor_key.value; in ossl_init_thread_start()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/
H A Dinit.c50 } destructor_key = { -1 }; variable
62 CRYPTO_THREAD_get_local(&destructor_key.value); in ossl_init_get_thread_local()
67 && !CRYPTO_THREAD_set_local(&destructor_key.value, local)) { in ossl_init_get_thread_local()
72 CRYPTO_THREAD_set_local(&destructor_key.value, NULL); in ossl_init_get_thread_local()
105 destructor_key.value = key; in DEFINE_RUN_ONCE_STATIC()
453 if (destructor_key.sane != -1) in OPENSSL_thread_stop()
551 key = destructor_key.value; in OPENSSL_cleanup()
552 destructor_key.sane = -1; in OPENSSL_cleanup()