Home | History | Annotate | Download | only in rtl

Lines Matching refs:ThreadState

386 struct ThreadState {
395 // QUESTION: can we can squeeze this into ThreadState::Fast?
396 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are
447 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
456 INLINE ThreadState *cur_thread() {
457 return reinterpret_cast<ThreadState *>(&cur_thread_placeholder);
470 ThreadState *thr;
543 ThreadState*thr_;
577 void ALWAYS_INLINE INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
581 void ALWAYS_INLINE INLINE StatSet(ThreadState *thr, StatType typ, u64 n) {
593 ThreadState *thr);
617 u32 CurrentStackId(ThreadState *thr, uptr pc);
618 void PrintCurrentStack(ThreadState *thr, uptr pc);
621 void Initialize(ThreadState *thr);
622 int Finalize(ThreadState *thr);
624 SyncVar* GetJavaSync(ThreadState *thr, uptr pc, uptr addr,
626 SyncVar* GetAndRemoveJavaSync(ThreadState *thr, uptr pc, uptr addr);
628 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
630 void MemoryAccessImpl(ThreadState *thr, uptr addr,
633 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
635 void MemoryAccessRangeStep(ThreadState *thr, uptr pc, uptr addr,
643 void ALWAYS_INLINE INLINE MemoryRead(ThreadState *thr, uptr pc,
648 void ALWAYS_INLINE INLINE MemoryWrite(ThreadState *thr, uptr pc,
653 void ALWAYS_INLINE INLINE MemoryReadAtomic(ThreadState *thr, uptr pc,
658 void ALWAYS_INLINE INLINE MemoryWriteAtomic(ThreadState *thr, uptr pc,
663 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size);
664 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size);
665 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size);
666 void IgnoreCtl(ThreadState *thr, bool write, bool begin);
668 void FuncEntry(ThreadState *thr, uptr pc);
669 void FuncExit(ThreadState *thr);
671 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
672 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
673 void ThreadFinish(ThreadState *thr);
674 int ThreadTid(ThreadState *thr, uptr pc, uptr uid);
675 void ThreadJoin(ThreadState *thr, uptr pc, int tid);
676 void ThreadDetach(ThreadState *thr, uptr pc, int tid);
677 void ThreadFinalize(ThreadState *thr);
678 void ThreadSetName(ThreadState *thr, const char *name);
679 int ThreadCount(ThreadState *thr);
680 void ProcessPendingSignals(ThreadState *thr);
682 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
684 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr);
685 void MutexLock(ThreadState *thr, uptr pc, uptr addr);
686 void MutexUnlock(ThreadState *thr, uptr pc, uptr addr);
687 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr);
688 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr);
689 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr);
691 void Acquire(ThreadState *thr, uptr pc, uptr addr);
692 void AcquireGlobal(ThreadState *thr, uptr pc);
693 void Release(ThreadState *thr, uptr pc, uptr addr);
694 void ReleaseStore(ThreadState *thr, uptr pc, uptr addr);
695 void AfterSleep(ThreadState *thr, uptr pc);
718 void TraceSwitch(ThreadState *thr);
719 uptr TraceTopPC(ThreadState *thr);
724 void ALWAYS_INLINE INLINE TraceAddEvent(ThreadState *thr, FastState fs,