HomeSort by: relevance | last modified time | path
    Searched refs:tsd (Results 1 - 16 of 16) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_posix.cc 41 // ---------------------- TSD ---------------- {{{1
45 // Reuse the Asan TSD API for compatibility with existing code
48 static void (*tsd_destructor)(void *tsd) = nullptr;
62 void AsanTSDInit(void (*destructor)(void *tsd)) {
72 void AsanTSDSet(void *tsd) {
74 CHECK(tsd);
76 key.key = tsd;
79 void PlatformTSDDtor(void *tsd) {
81 CHECK_EQ(key.key, tsd);
85 AsanThread::TSDDtor(tsd);
    [all...]
asan_internal.h 102 // Wrapper for TLS/TSD.
103 void AsanTSDInit(void (*destructor)(void *tsd));
105 void AsanTSDSet(void *tsd);
106 void PlatformTSDDtor(void *tsd);
asan_fuchsia.cc 66 // We can use a plain thread_local variable for TSD.
71 void AsanTSDSet(void *tsd) { per_thread = tsd; }
76 void AsanTSDInit(void (*destructor)(void *tsd)) {
80 void PlatformTSDDtor(void *tsd) { UNREACHABLE(__func__); }
asan_rtems.cc 75 // We can use a plain thread_local variable for TSD.
80 void AsanTSDSet(void *tsd) { per_thread = tsd; }
85 void AsanTSDInit(void (*destructor)(void *tsd)) {
89 void PlatformTSDDtor(void *tsd) { UNREACHABLE(__func__); }
asan_win.cc 195 // ---------------------- TSD ---------------- {{{
200 void AsanTSDInit(void (*destructor)(void *tsd)) {
210 void AsanTSDSet(void *tsd) {
212 fake_tsd = tsd;
215 void PlatformTSDDtor(void *tsd) {
216 AsanThread::TSDDtor(tsd);
asan_thread.h 62 // AsanThread are stored in TSD and destroyed when the thread dies.
67 static void TSDDtor(void *tsd);
asan_thread.cc 61 // in TSD and can't reliably tell when no more TSD destructors will
63 // thread before all TSD destructors will be called for it.
93 void AsanThread::TSDDtor(void *tsd) {
94 AsanThreadContext *context = (AsanThreadContext*)tsd;
109 // some code may still be executing in later TSD destructors
266 // On POSIX systems we defer this to the TSD destructor. LSan will consider
269 // cleaned up by a user-defined TSD destructor. Thus, calling Destroy() before
270 // the TSD destructors have run might cause false positives in LSan.
413 // TSD. Try to figure out if this is still the main thread by the stac
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_linux.cc 176 // ---------------------- TSD ---------------- {{{1
180 // Reuse the MSan TSD API for compatibility with existing code
183 static void (*tsd_destructor)(void *tsd) = nullptr;
197 void MsanTSDInit(void (*destructor)(void *tsd)) {
207 void SetCurrentThread(MsanThread *tsd) {
209 CHECK(tsd);
211 key.key = tsd;
214 void MsanTSDDtor(void *tsd) {
216 CHECK_EQ(key.key, tsd);
220 MsanThread::TSDDtor(tsd);
    [all...]
msan_thread.cc 51 void MsanThread::TSDDtor(void *tsd) {
52 MsanThread *t = (MsanThread*)tsd;
59 // some code may still be executing in later TSD destructors
msan_thread.h 25 static void TSDDtor(void *tsd);
msan.h 379 void MsanTSDInit(void (*destructor)(void *tsd));
381 void MsanTSDSet(void *tsd);
382 void MsanTSDDtor(void *tsd);
  /src/sys/kern/
subr_time.c 207 struct timespec tsd; local in function:ts2timo
213 error = clock_gettime1(clock_id, &tsd);
217 *start = tsd;
221 if (!timespecsubok(ts, &tsd))
223 timespecsub(ts, &tsd, &tsd);
224 ts = &tsd;
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3368-lion-haikou.dts 11 compatible = "tsd,rk3368-lion-haikou", "rockchip,rk3368";
rk3399-puma-haikou.dts 11 compatible = "tsd,rk3399-puma-haikou", "rockchip,rk3399";
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_mac_test_helpers.mm 155 void CallFreeOnWorkqueue(void *tsd) {
157 dispatch_block_t block_dealloc = ^{ worker_do_deallocate(tsd); };
asan_test.cc 171 void TSDDestructor(void *tsd) {
179 // if we don't manage the TSD destructors ourselves. We create a new pthread
182 // In this case the TSD for AsanThread will be destroyed before TSDDestructor

Completed in 17 milliseconds