Home
last modified time | relevance | path

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

12

/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_defs.h87 const unsigned kInvalidTid = (unsigned)-1; variable
Dtsan_sync.h29 static const int kInvalidTid = -1; member
Dtsan_sync.cc42 owner_tid = kInvalidTid; in Reset()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_thread.cpp62 SetCurrentThread(kInvalidTid); in ThreadFinish()
68 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
87 CHECK_NE(tid, kInvalidTid); in ThreadDetach()
92 CHECK_NE(tid, kInvalidTid); in ThreadJoin()
Dlsan_common_mac.cpp49 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()
Dlsan_linux.cpp21 static THREADLOCAL u32 current_thread_tid = kInvalidTid;
Dlsan_mac.cpp70 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
Dlsan_common.h66 const u32 kInvalidTid = (u32) -1; variable
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cpp154 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 …]
Dtsan_rtl_mutex.cpp100 && 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()
Dtsan_defs.h101 const u16 kInvalidTid = kMaxTid + 1; variable
Dtsan_sync.h53 static const int kInvalidTid = -1; member
/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/llvm-project/compiler-rt/lib/memprof/
Dmemprof_descriptions.cpp27 if (tid == kInvalidTid) { in MemprofThreadIdAndName()
53 if (context->parent_tid == kInvalidTid) { in DescribeThread()
Dmemprof_thread.h30 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
Dmemprof_thread.cpp211 return t ? t->tid() : kInvalidTid; in GetCurrentTidOrInvalid()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_descriptions.cpp27 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()
Dasan_debugging.cpp56 if (chunk.AllocTid() == kInvalidTid) return 0; in AsanGetStack()
60 if (chunk.FreeTid() == kInvalidTid) return 0; in AsanGetStack()
Dasan_thread.h31 const u32 kInvalidTid = 0xffffff; // Must fit into 24 bits. variable
/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_thread.h32 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()
484 CHECK_EQ(m->free_tid, kInvalidTid); in QuarantineChunk()

12