/external/compiler-rt/lib/tsan/rtl/ |
tsan_fd.h | 42 void FdAcquire(ThreadState *thr, uptr pc, int fd); 43 void FdRelease(ThreadState *thr, uptr pc, int fd); 44 void FdAccess(ThreadState *thr, uptr pc, int fd); 45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true); 46 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write); 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 49 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd) [all...] |
tsan_platform_mac.cc | 70 // the ThreadState object. The main thread's ThreadState is stored separately 74 ALIGNED(64) static char main_thread_state[sizeof(ThreadState)]; 76 ThreadState *cur_thread() { 79 return (ThreadState *)&main_thread_state; 81 ThreadState **fake_tls = (ThreadState **)MemToShadow(thread_identity); 82 ThreadState *thr = (ThreadState *)SignalSafeGetOrAllocate( 83 (uptr *)fake_tls, sizeof(ThreadState)); [all...] |
tsan_mman.h | 30 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, 32 void *user_calloc(ThreadState *thr, uptr pc, uptr sz, uptr n); 34 void user_free(ThreadState *thr, uptr pc, void *p, bool signal = true); 35 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz); 36 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
|
tsan_interceptors.h | 11 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc); 16 ThreadState *const thr_; 24 ThreadState *thr = cur_thread(); \
|
tsan_rtl.h | 331 // In C++ it is tied to an OS thread just like ThreadState, however ideally 334 // ThreadState's (which are tied to Gs). 335 // A ThreadState must be wired with a Processor to handle events. 337 ThreadState *thr; // currently wired thread, or nullptr 359 struct ThreadState { 368 // QUESTION: can we can squeeze this into ThreadState::Fast? 369 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are 440 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, 448 ThreadState *cur_thread(); 453 INLINE ThreadState *cur_thread() [all...] |
tsan_sync.h | 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid); 74 void AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz); 80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc, 98 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
|
tsan_fd.cc | 50 static FdSync *allocsync(ThreadState *thr, uptr pc) { 63 static void unref(ThreadState *thr, uptr pc, FdSync *s) { 74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { 94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, 128 void FdOnFork(ThreadState *thr, uptr pc) { 160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { 171 void FdRelease(ThreadState *thr, uptr pc, int fd) { 182 void FdAccess(ThreadState *thr, uptr pc, int fd) { 190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { 218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) [all...] |
tsan_rtl_thread.cc | 43 ThreadState *caller_thr = static_cast<ThreadState *>(arg); 49 ThreadState *thr; 76 ThreadState *thr1 = static_cast<ThreadState*>(arg); 81 ThreadState *thr; 95 new(thr) ThreadState(ctx, tid, unique_id, epoch0, reuse_count, 138 thr->~ThreadState(); 185 static void ThreadCheckIgnore(ThreadState *thr) { 194 static void ThreadCheckIgnore(ThreadState *thr) { [all...] |
tsan_mman.cc | 83 ThreadState *thr = cur_thread(); 106 ThreadState *thr = cur_thread(); 135 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { 149 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align, bool signal) { 162 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { 171 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { 180 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { 189 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { 197 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { 227 ThreadState *thr = cur_thread() [all...] |
tsan_platform_linux.cc | 348 // On Android, __thread is not supported. So we store the pointer to ThreadState 353 static ThreadState *dead_thread_state = nullptr; 355 ThreadState *cur_thread() { 356 ThreadState* thr = (ThreadState*)__get_tls()[TLS_SLOT_TSAN]; 362 thr = reinterpret_cast<ThreadState*>(__get_tls()[TLS_SLOT_TSAN]); 364 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), 365 "ThreadState")); 368 dead_thread_state = reinterpret_cast<ThreadState*>( [all...] |
tsan_rtl_proc.cc | 47 void ProcWire(Processor *proc, ThreadState *thr) { 54 void ProcUnwire(Processor *proc, ThreadState *thr) {
|
tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); 33 ThreadState *thr = cur_thread();
|
/external/v8/src/ |
v8threads.h | 14 class ThreadState { 17 ThreadState* Next(); 38 explicit ThreadState(ThreadManager* thread_manager); 39 ~ThreadState(); 46 ThreadState* next_; 47 ThreadState* previous_; 90 ThreadState* FirstThreadStateInUse(); 91 ThreadState* GetFreeThreadState(); 97 void DeleteThreadStateList(ThreadState* anchor); 104 ThreadState* lazily_archived_thread_state_ [all...] |
v8threads.cc | 110 lazily_archived_thread_state_->LinkInto(ThreadState::FREE_LIST); 132 ThreadState* state = per_thread->thread_state(); 148 state->LinkInto(ThreadState::FREE_LIST); 177 ThreadState::ThreadState(ThreadManager* thread_manager) 187 ThreadState::~ThreadState() { 192 void ThreadState::AllocateSpace() { 197 void ThreadState::Unlink() { 203 void ThreadState::LinkInto(List list) [all...] |
/external/valgrind/coregrind/m_sigframe/ |
priv_sigframe.h | 36 #include "pub_core_threadstate.h" // ThreadState 40 Bool ML_(sf_maybe_extend_stack)( const ThreadState *tst, Addr addr,
|
/art/runtime/ |
thread_state.h | 24 enum ThreadState { 54 std::ostream& operator<<(std::ostream& os, const ThreadState& rhs);
|
scoped_thread_state_change.h | 44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) 58 const ThreadState thread_state_ = kTerminated; 61 ThreadState old_thread_state_ = kTerminated; 196 ALWAYS_INLINE explicit ScopedThreadSuspension(Thread* self, ThreadState suspended_state) 204 const ThreadState suspended_state_;
|
/external/compiler-rt/lib/tsan/go/ |
tsan_go.cc | 113 static ThreadState *main_thr; 128 Processor *ThreadState::proc() { 134 static ThreadState *AllocGoroutine() { 135 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, 136 sizeof(ThreadState)); 141 void __tsan_init(ThreadState **thrp, Processor **procp, 144 ThreadState *thr = AllocGoroutine(); 153 ThreadState *thr = main_thr; 162 void __tsan_read(ThreadState *thr, void *addr, void *pc) [all...] |
/art/openjdkjvmti/ |
ti_dump.cc | 49 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative); 61 art::ThreadState::kWaitingForDebuggerToAttach); 68 art::ThreadState::kWaitingForDebuggerToAttach);
|
ti_thread.cc | 77 art::ScopedThreadSuspension sts(self, art::ThreadState::kNative); 119 art::ThreadState::kWaitingForDebuggerToAttach); 146 art::ThreadState::kWaitingForDebuggerToAttach); 191 } else if (*thr == nullptr || (*thr)->GetState() == art::ThreadState::kTerminated) { 322 art::ThreadState art_state; 334 thread_state.art_state = art::ThreadState::kStarting; 344 art::ThreadState internal_thread_state = state.art_state; 363 case art::ThreadState::kRunnable: 364 case art::ThreadState::kWaitingWeakGcRootRead: 365 case art::ThreadState::kSuspended [all...] |
/frameworks/native/libs/binder/include/binder/ |
BufferedTextOutput.h | 49 struct ThreadState; 51 static ThreadState*getThreadState();
|
/system/core/debuggerd/ |
debuggerd_benchmark.cpp | 34 enum class ThreadState { Starting, Started, Stopping }; 46 static std::chrono::duration<double> GetMaximumPause(std::atomic<ThreadState>& state) { 51 state.store(ThreadState::Started); 52 while (state.load() != ThreadState::Stopping) { 101 std::atomic<ThreadState> thread_state(ThreadState::Starting); 104 while (thread_state != ThreadState::Started) { 110 thread_state = ThreadState::Stopping;
|
/system/libhwbinder/include/hwbinder/ |
BufferedTextOutput.h | 50 struct ThreadState; 52 static ThreadState*getThreadState();
|
/frameworks/base/libs/hwui/debug/ |
nullegl.cpp | 30 } ThreadState; 43 ThreadState* getThreadState() { 44 ThreadState* ptr; 46 if ((ptr = (ThreadState*)pthread_getspecific(ThreadStateKey)) == NULL) { 47 ptr = (ThreadState*)calloc(1, sizeof(ThreadState)); 126 ThreadState* state = getThreadState();
|
/external/valgrind/coregrind/ |
m_threadstate.c | 47 ThreadState *VG_(threads); 50 ThreadState *VG_(inner_threads); 100 ThreadState *VG_(get_ThreadState)(ThreadId tid) 124 ThreadState *tst = VG_(get_ThreadState)(tid);
|