Searched refs:destructor_key (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/crypto/ |
D | initthread.c | 141 } 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()
|
/third_party/selinux/libselinux/src/ |
D | procattr.c | 21 static pthread_key_t destructor_key; variable 65 __selinux_key_delete(destructor_key); in procattr_destructor() 71 __selinux_setspecific(destructor_key, /* some valid address to please GCC */ &selinux_page_size); in init_thread_destructor() 78 if (__selinux_key_create(&destructor_key, procattr_thread_destructor) == 0) { in init_procattr()
|
D | setrans_client.c | 37 static pthread_key_t destructor_key; variable 267 __selinux_key_delete(destructor_key); in setrans_lib_destructor() 275 __selinux_setspecific(destructor_key, /* some valid address to please GCC */ &selinux_page_size); in init_thread_destructor() 285 if (__selinux_key_create(&destructor_key, setrans_thread_destructor) == 0) in init_context_translations()
|
D | matchpathcon.c | 78 static pthread_key_t destructor_key; variable 344 __selinux_key_delete(destructor_key); in matchpathcon_lib_destructor() 349 if (__selinux_key_create(&destructor_key, matchpathcon_thread_destructor) == 0) in matchpathcon_init_once() 359 __selinux_setspecific(destructor_key, /* some valid address to please GCC */ &selinux_page_size); in matchpathcon_init_prefix()
|