Home
last modified time | relevance | path

Searched refs:kInvalidTid (Results 1 – 12 of 12) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc124 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 …]
Dtsan_rtl_mutex.cc102 && 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()
Dtsan_sync.h29 static const int kInvalidTid = -1; member
Dtsan_defs.h87 const unsigned kInvalidTid = (unsigned)-1; variable
Dtsan_sync.cc42 owner_tid = kInvalidTid; in Reset()
Dtsan_rtl_thread.cc224 u32 parent_tid = thr ? thr->tid : kInvalidTid; // No parent for GCD workers. in ThreadCreate()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc25 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/compiler-rt/lib/asan/
Dasan_debugging.cc91 if (chunk.AllocTid() == kInvalidTid) return 0; in AsanGetStack()
95 if (chunk.FreeTid() == kInvalidTid) return 0; in AsanGetStack()
Dasan_report.cc373 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;
Dasan_allocator.cc139 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()
Dasan_thread.h32 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
Dasan_thread.cc370 return t ? t->tid() : kInvalidTid; in GetCurrentTidOrInvalid()