/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.cc | 124 if (tid != kInvalidTid) { in acquire() 184 dst->release_store_tid_ = kInvalidTid; in release() 206 dst->dirty_tids_[i] = kInvalidTid; in release() 207 dst->release_store_tid_ = kInvalidTid; in release() 249 dst->dirty_tids_[i] = kInvalidTid; in ReleaseStore() 272 if (dst->dirty_tids_[i] == kInvalidTid) { in UpdateCurrentThread() 283 dst->dirty_tids_[i] = kInvalidTid; in UpdateCurrentThread() 292 if (tid != kInvalidTid) { in IsAlreadyAcquired() 370 : release_store_tid_(kInvalidTid) in SyncClock() 376 dirty_tids_[i] = kInvalidTid; in SyncClock() [all …]
|
D | tsan_rtl_mutex.cc | 102 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy() 153 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexLock() 208 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock() 241 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadLock() 276 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadUnlock() 306 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexReadOrWriteUnlock() 321 s->owner_tid = SyncVar::kInvalidTid; in MutexReadOrWriteUnlock() 349 s->owner_tid = SyncVar::kInvalidTid; in MutexRepair()
|
D | tsan_defs.h | 87 const unsigned kInvalidTid = (unsigned)-1; variable
|
D | tsan_sync.h | 29 static const int kInvalidTid = -1; member
|
D | tsan_sync.cc | 42 owner_tid = kInvalidTid; in Reset()
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_thread.cpp | 62 SetCurrentThread(kInvalidTid); in ThreadFinish() 68 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext() 87 CHECK_NE(tid, kInvalidTid); in ThreadDetach() 92 CHECK_NE(tid, kInvalidTid); in ThreadJoin()
|
D | lsan_common_mac.cpp | 49 if (data->current_thread_id != kInvalidTid) in restore_tid_data() 64 ptr->current_thread_id = kInvalidTid; in get_tls_val() 89 return data ? data->current_thread_id : kInvalidTid; in GetCurrentThread()
|
D | lsan_linux.cpp | 21 static THREADLOCAL u32 current_thread_tid = kInvalidTid;
|
D | lsan_mac.cpp | 70 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
|
D | lsan_common.h | 66 const u32 kInvalidTid = (u32) -1; variable
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.cpp | 154 if (tid != kInvalidTid) { in acquire() 222 sc->release_store_tid_ = kInvalidTid; in releaseStoreAcquire() 255 dst->release_store_tid_ = kInvalidTid; in release() 277 dst->release_store_tid_ = kInvalidTid; in release() 302 CHECK_EQ(dst->dirty_[0].tid, kInvalidTid); in ReleaseStore() 340 dst->dirty_[i].tid = kInvalidTid; in ReleaseStore() 373 if (tid == tid_ || tid == kInvalidTid) { in UpdateCurrentThread() 396 if (dirty.tid != kInvalidTid) { in IsAlreadyAcquired() 454 release_store_tid_ = kInvalidTid; in ResetImpl() 457 dirty_[i].tid = kInvalidTid; in ResetImpl() [all …]
|
D | tsan_rtl_mutex.cpp | 100 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy() 172 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexPostLock() 232 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock() 278 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexPostReadLock() 317 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadUnlock() 347 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexReadOrWriteUnlock() 362 s->owner_tid = SyncVar::kInvalidTid; in MutexReadOrWriteUnlock() 390 s->owner_tid = SyncVar::kInvalidTid; in MutexRepair()
|
D | tsan_defs.h | 101 const u16 kInvalidTid = kMaxTid + 1; variable
|
D | tsan_sync.h | 53 static const int kInvalidTid = -1; member
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 25 const u32 kInvalidTid = (u32) -1; variable 28 static THREADLOCAL u32 current_thread_tid = kInvalidTid; 109 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext() 128 CHECK_NE(tid, kInvalidTid); in ThreadJoin()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_descriptions.cpp | 27 if (tid == kInvalidTid) { in MemprofThreadIdAndName() 53 if (context->parent_tid == kInvalidTid) { in DescribeThread()
|
D | memprof_thread.h | 30 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
|
D | memprof_thread.cpp | 211 return t ? t->tid() : kInvalidTid; in GetCurrentTidOrInvalid()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_descriptions.cpp | 27 if (tid == kInvalidTid) { in AsanThreadIdAndName() 53 if (context->parent_tid == kInvalidTid) { in DescribeThread() 165 CHECK_NE(chunk.AllocTid(), kInvalidTid); in GetHeapAddressInformation() 169 if (descr->free_tid != kInvalidTid) in GetHeapAddressInformation() 421 if (free_tid != kInvalidTid) { in Print()
|
D | asan_debugging.cpp | 56 if (chunk.AllocTid() == kInvalidTid) return 0; in AsanGetStack() 60 if (chunk.FreeTid() == kInvalidTid) return 0; in AsanGetStack()
|
D | asan_thread.h | 31 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
|
/external/compiler-rt/lib/asan/ |
D | asan_debugging.cc | 91 if (chunk.AllocTid() == kInvalidTid) return 0; in AsanGetStack() 95 if (chunk.FreeTid() == kInvalidTid) return 0; in AsanGetStack()
|
D | asan_report.cc | 373 if (tid == kInvalidTid) return ""; in ThreadNameWithParenthesis() 548 CHECK(chunk.AllocTid() != kInvalidTid); in DescribeHeapAddress() 556 if (chunk.FreeTid() != kInvalidTid) { in DescribeHeapAddress() 608 if (context->parent_tid == kInvalidTid) { in DescribeThread() 645 reporting_thread_tid_ == kInvalidTid) { in ScopedInErrorReport() 709 reporting_thread_tid_ = kInvalidTid; in ~ScopedInErrorReport() 739 u32 ScopedInErrorReport::reporting_thread_tid_ = kInvalidTid;
|
D | asan_thread.h | 32 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
|
D | asan_allocator.cc | 139 CHECK_NE(m->alloc_tid, kInvalidTid); in Recycle() 140 CHECK_NE(m->free_tid, kInvalidTid); in Recycle() 403 m->free_tid = kInvalidTid; in Allocate() 484 CHECK_EQ(m->free_tid, kInvalidTid); in QuarantineChunk()
|