| /src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform_mac.cpp | 65 int res = pthread_setspecific(thread_state_key, thr); in ThreadStateDestructor() 74 res = pthread_setspecific(thread_state_key, main_thread_state); in InitializeThreadStateStorage() 99 int res = pthread_setspecific(thread_state_key, thr); in cur_thread() 106 int res = pthread_setspecific(thread_state_key, thr); in set_cur_thread() 123 int res = pthread_setspecific(thread_state_key, dead_thread_state); in cur_thread_finalize()
|
| /src/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_posix.cpp | 43 pthread_setspecific(tsd_key, tsd); in TSDSet() 50 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
| /src/lib/libc/locale/ |
| H A D | xlocale.c | 121 pthread_setspecific(locale_info_key, (void*)42); in init_key() 123 pthread_setspecific(locale_info_key, 0); in init_key() 164 pthread_setspecific(locale_info_key, l); in set_thread_locale()
|
| /src/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_posix.cpp | 131 pthread_setspecific(tsd_key, tsd); in AsanTSDSet() 138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
| /src/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 118 pthread_setspecific(tsd_key, t); in SetCurrentThread() 125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | tsd_generic.h | 40 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) in tsd_cleanup_wrapper() 58 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) { in tsd_wrapper_set()
|
| H A D | tsd_tls.h | 54 if (pthread_setspecific(tsd_tsd, (void *)(&tsd_tls)) != 0) { in tsd_set()
|
| /src/crypto/krb5/src/util/support/ |
| H A D | threads.c | 122 # pragma weak pthread_setspecific macro 144 || &pthread_setspecific == 0 in krb5int_pthread_loaded() 309 err = pthread_setspecific(key, t); in k5_setspecific()
|
| /src/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cpp | 67 pthread_setspecific(key, data); in restore_tid_data() 83 pthread_setspecific(key, ptr); in get_tls_val()
|
| H A D | lsan_interceptors.cpp | 44 int pthread_setspecific(unsigned key, const void *v); 337 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize() 427 if (pthread_setspecific(g_thread_finalize_key, in ThreadStartFunc()
|
| /src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | tsd_exclusive.h | 154 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread() 188 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
|
| /src/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | tsd.h | 38 #define tsd_set(k, v) pthread_setspecific(k, v)
|
| /src/lib/libstdthreads/ |
| H A D | tss.c | 61 if (pthread_setspecific(key, val) != 0) in tss_set()
|
| /src/contrib/ntp/libntp/lib/isc/pthreads/include/isc/ |
| H A D | thread.h | 55 #define isc_thread_key_setspecific pthread_setspecific
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITProfiling/ |
| H A D | jitprofiling.c | 185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent() 437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
|
| /src/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack.cpp | 163 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start() 187 pthread_setspecific(thread_cleanup_key, NULL); in thread_cleanup_handler()
|
| /src/lib/libc/resolv/ |
| H A D | mtctxres.c | 82 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
|
| /src/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_linux.cpp | 286 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread() 293 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
|
| /src/contrib/llvm-project/compiler-rt/lib/rtsan/ |
| H A D | rtsan_context.cpp | 42 pthread_setspecific(context_key, current_thread_context); in GetContextForThisThreadImpl()
|
| /src/contrib/libcxxrt/ |
| H A D | exception.cc | 40 #pragma weak pthread_setspecific macro 460 (0 == pthread_setspecific) || in init_key() 467 pthread_setspecific(eh_key, reinterpret_cast<void *>(0x42)); in init_key() 469 pthread_setspecific(eh_key, 0); in init_key() 486 pthread_setspecific(eh_key, info); in thread_info()
|
| /src/crypto/openssl/util/platform_symbols/ |
| H A D | unix-symbols.txt | 113 pthread_setspecific
|
| /src/contrib/llvm-project/libcxx/include/__thread/support/ |
| H A D | pthread.h | 216 return pthread_setspecific(__key, __p); in __libcpp_tls_set()
|
| /src/crypto/heimdal/include/ |
| H A D | heim_threads.h | 107 #define HEIMDAL_setspecific(k,s,r) do { r = pthread_setspecific(k,s); } while(0)
|
| /src/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_linux.cpp | 317 CHECK_EQ(0, pthread_setspecific(tsd_key, in HwasanTSDThreadInit() 324 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1))); in HwasanTSDDtor()
|
| /src/lib/libthr/thread/ |
| H A D | thr_spec.c | 53 __weak_reference(_thr_setspecific, pthread_setspecific);
|