Lines Matching refs:err_thread_local
138 static CRYPTO_THREAD_LOCAL err_thread_local; variable
222 CRYPTO_THREAD_cleanup_local(&err_thread_local); in err_cleanup()
613 ERR_STATE *state = CRYPTO_THREAD_get_local(&err_thread_local); in err_delete_thread_state()
617 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in err_delete_thread_state()
636 return CRYPTO_THREAD_init_local(&err_thread_local, NULL); in DEFINE_RUN_ONCE_STATIC()
650 state = CRYPTO_THREAD_get_local(&err_thread_local); in ossl_err_get_state_int()
655 if (!CRYPTO_THREAD_set_local(&err_thread_local, (ERR_STATE*)-1)) in ossl_err_get_state_int()
659 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in ossl_err_get_state_int()
664 || !CRYPTO_THREAD_set_local(&err_thread_local, state)) { in ossl_err_get_state_int()
666 CRYPTO_THREAD_set_local(&err_thread_local, NULL); in ossl_err_get_state_int()
712 *state = CRYPTO_THREAD_get_local(&err_thread_local); in err_shelve_state()
713 if (!CRYPTO_THREAD_set_local(&err_thread_local, (ERR_STATE*)-1)) in err_shelve_state()
727 CRYPTO_THREAD_set_local(&err_thread_local, (ERR_STATE*)state); in err_unshelve_state()