Home
last modified time | relevance | path

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

/src/crypto/openssl/crypto/
H A Dthreads_none.c163 static struct thread_local_storage_entry thread_local_storage[OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX]; variable
175 if (!thread_local_storage[entry_idx].used) in CRYPTO_THREAD_init_local()
183 thread_local_storage[*key].used = 1; in CRYPTO_THREAD_init_local()
184 thread_local_storage[*key].data = NULL; in CRYPTO_THREAD_init_local()
194 return thread_local_storage[*key].data; in CRYPTO_THREAD_get_local()
202 thread_local_storage[*key].data = val; in CRYPTO_THREAD_set_local()
212 thread_local_storage[*key].used = 0; in CRYPTO_THREAD_cleanup_local()
213 thread_local_storage[*key].data = NULL; in CRYPTO_THREAD_cleanup_local()