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.cc109 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy()
152 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexLock()
207 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock()
240 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadLock()
275 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadUnlock()
305 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexReadOrWriteUnlock()
320 s->owner_tid = SyncVar::kInvalidTid; in MutexReadOrWriteUnlock()
348 s->owner_tid = SyncVar::kInvalidTid; in MutexRepair()
Dtsan_defs.h83 const unsigned kInvalidTid = (unsigned)-1; variable
Dtsan_sync.h29 static const int kInvalidTid = -1; member
Dtsan_sync.cc42 owner_tid = kInvalidTid; in Reset()
Dtsan_rtl_thread.cc236 u32 parent_tid = thr ? thr->tid : kInvalidTid; // No parent for GCD workers. in ThreadCreate()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc24 const u32 kInvalidTid = (u32) -1; variable
27 static THREADLOCAL u32 current_thread_tid = kInvalidTid;
103 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
122 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.cc372 if (tid == kInvalidTid) return ""; in ThreadNameWithParenthesis()
547 CHECK(chunk.AllocTid() != kInvalidTid); in DescribeHeapAddress()
555 if (chunk.FreeTid() != kInvalidTid) { in DescribeHeapAddress()
607 if (context->parent_tid == kInvalidTid) { in DescribeThread()
644 reporting_thread_tid_ == kInvalidTid) { in ScopedInErrorReport()
708 reporting_thread_tid_ = kInvalidTid; in ~ScopedInErrorReport()
Dasan_thread.h28 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
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()
485 CHECK_EQ(m->free_tid, kInvalidTid); in QuarantineChunk()
Dasan_thread.cc296 return t ? t->tid() : kInvalidTid; in GetCurrentTidOrInvalid()