Home | History | Annotate | Download | only in rtl

Lines Matching refs:ThreadState

396 struct ThreadState {
405 // QUESTION: can we can squeeze this into ThreadState::Fast?
406 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are
459 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
468 INLINE ThreadState *cur_thread() {
469 return reinterpret_cast<ThreadState *>(&cur_thread_placeholder);
477 ThreadState *thr;
552 ThreadState*thr_;
587 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
591 void ALWAYS_INLINE StatSet(ThreadState
603 void ReportRace(ThreadState *thr);
629 u32 CurrentStackId(ThreadState *thr, uptr pc);
630 void PrintCurrentStack(ThreadState *thr, uptr pc);
633 void Initialize(ThreadState *thr);
634 int Finalize(ThreadState *thr);
636 SyncVar* GetJavaSync(ThreadState *thr, uptr pc, uptr addr,
638 SyncVar* GetAndRemoveJavaSync(ThreadState *thr, uptr pc, uptr addr);
640 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
642 void MemoryAccessImpl(ThreadState *thr, uptr addr,
645 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
647 void MemoryAccessRangeStep(ThreadState *thr, uptr pc, uptr addr,
649 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr,
657 void ALWAYS_INLINE MemoryRead(ThreadState *thr, uptr pc,
662 void ALWAYS_INLINE MemoryWrite(ThreadState *thr, uptr pc,
667 void ALWAYS_INLINE MemoryReadAtomic(ThreadState *thr, uptr pc,
672 void ALWAYS_INLINE MemoryWriteAtomic(ThreadState *thr, uptr pc,
677 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size);
678 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size);
679 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size);
680 void IgnoreCtl(ThreadState *thr, bool write, bool begin);
682 void FuncEntry(ThreadState *thr, uptr pc);
683 void FuncExit(ThreadState *thr);
685 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
686 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
687 void ThreadFinish(ThreadState *thr);
688 int ThreadTid(ThreadState *thr, uptr pc, uptr uid);
689 void ThreadJoin(ThreadState *thr, uptr pc, int tid);
690 void ThreadDetach(ThreadState *thr, uptr pc, int tid);
691 void ThreadFinalize(ThreadState *thr);
692 void ThreadSetName(ThreadState *thr, const char *name);
693 int ThreadCount(ThreadState *thr);
694 void ProcessPendingSignals(ThreadState *thr);
696 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
698 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr);
699 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec = 1);
700 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all = false);
701 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr);
702 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr);
703 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr);
705 void Acquire(ThreadState *thr, uptr pc, uptr addr);
706 void AcquireGlobal(ThreadState *thr, uptr pc);
707 void Release(ThreadState *thr, uptr pc, uptr addr);
708 void ReleaseStore(ThreadState *thr, uptr pc, uptr addr);
709 void AfterSleep(ThreadState *thr, uptr pc);
732 void TraceSwitch(ThreadState *thr);
733 uptr TraceTopPC(ThreadState *thr);
739 void ALWAYS_INLINE TraceAddEvent(ThreadState *thr, FastState fs,