Home
last modified time | relevance | path

Searched refs:pthread_setspecific (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
HDtsan_platform_mac.cpp65 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()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/memprof/
HDmemprof_posix.cpp43 pthread_setspecific(tsd_key, tsd); in TSDSet()
50 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/freebsd-14-stable/lib/libc/locale/
HDxlocale.c121 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()
/freebsd-14-stable/contrib/jemalloc/include/jemalloc/internal/
HDtsd_generic.h40 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) in tsd_cleanup_wrapper()
55 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) { in tsd_wrapper_set()
HDtsd_tls.h54 if (pthread_setspecific(tsd_tsd, (void *)(&tsd_tls)) != 0) { in tsd_set()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
HDdfsan_thread.cpp118 pthread_setspecific(tsd_key, t); in SetCurrentThread()
125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_posix.cpp131 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/lsan/
HDlsan_common_mac.cpp67 pthread_setspecific(key, data); in restore_tid_data()
83 pthread_setspecific(key, ptr); in get_tls_val()
HDlsan_interceptors.cpp44 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()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
HDtsd_exclusive.h154 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
188 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/freebsd-14-stable/lib/libstdthreads/
HDtss.c61 if (pthread_setspecific(key, val) != 0) in tss_set()
/freebsd-14-stable/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
HDthread.h55 #define isc_thread_key_setspecific pthread_setspecific
/freebsd-14-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITProfiling/
HDjitprofiling.c185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/safestack/
HDsafestack.cpp163 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start()
187 pthread_setspecific(thread_cleanup_key, NULL); in thread_cleanup_handler()
/freebsd-14-stable/lib/libc/resolv/
HDmtctxres.c82 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/rtsan/
HDrtsan_context.cpp42 pthread_setspecific(context_key, current_thread_context); in GetContextForThisThreadImpl()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/msan/
HDmsan_linux.cpp286 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread()
293 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
/freebsd-14-stable/contrib/libcxxrt/
HDexception.cc40 #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()
/freebsd-14-stable/sys/contrib/openzfs/lib/libuutil/
HDuu_misc.c97 (void) pthread_setspecific(uu_error_key, in uu_set_error()
/freebsd-14-stable/crypto/openssl/crypto/
HDthreads_pthread.c175 if (pthread_setspecific(*key, val) != 0) in CRYPTO_THREAD_set_local()
/freebsd-14-stable/contrib/llvm-project/libcxx/include/__thread/support/
HDpthread.h216 return pthread_setspecific(__key, __p); in __libcpp_tls_set()
/freebsd-14-stable/crypto/heimdal/include/
HDheim_threads.h107 #define HEIMDAL_setspecific(k,s,r) do { r = pthread_setspecific(k,s); } while(0)
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
HDhwasan_linux.cpp317 CHECK_EQ(0, pthread_setspecific(tsd_key, in HwasanTSDThreadInit()
324 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1))); in HwasanTSDDtor()
/freebsd-14-stable/lib/libthr/thread/
HDthr_spec.c53 __weak_reference(_thr_setspecific, pthread_setspecific);
/freebsd-14-stable/lib/libthr/
HDpthread.map110 pthread_setspecific;

12