Home | History | Annotate | Download | only in rtl

Lines Matching defs:thr

409   ThreadState *thr;
531 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
533 thr->stat[typ] += n;
535 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) {
537 thr->stat[typ] = n;
548 void ForkBefore(ThreadState *thr, uptr pc);
549 void ForkParentAfter(ThreadState *thr, uptr pc);
550 void ForkChildAfter(ThreadState *thr, uptr pc);
552 void ReportRace(ThreadState *thr);
553 bool OutputReport(ThreadState *thr, const ScopedReport &srep);
574 u32 CurrentStackId(ThreadState *thr, uptr pc);
576 void PrintCurrentStack(ThreadState *thr, uptr pc);
579 void Initialize(ThreadState *thr);
580 int Finalize(ThreadState *thr);
582 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write);
583 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write);
585 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
587 void MemoryAccessImpl(ThreadState *thr, uptr addr,
590 void MemoryAccessRange(ThreadState *thr, uptr pc, uptr addr,
592 void MemoryAccessRangeStep(ThreadState *thr, uptr pc, uptr addr,
594 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr,
602 void ALWAYS_INLINE MemoryRead(ThreadState *thr, uptr pc,
604 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false);
607 void ALWAYS_INLINE MemoryWrite(ThreadState *thr, uptr pc,
609 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false);
612 void ALWAYS_INLINE MemoryReadAtomic(ThreadState *thr, uptr pc,
614 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, true);
617 void ALWAYS_INLINE MemoryWriteAtomic(ThreadState *thr, uptr pc,
619 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, true);
622 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size);
623 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size);
624 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size);
626 void ThreadIgnoreBegin(ThreadState *thr, uptr pc);
627 void ThreadIgnoreEnd(ThreadState *thr, uptr pc);
628 void ThreadIgnoreSyncBegin(ThreadState *thr, uptr pc);
629 void ThreadIgnoreSyncEnd(ThreadState *thr, uptr pc);
631 void FuncEntry(ThreadState *thr, uptr pc);
632 void FuncExit(ThreadState *thr);
634 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached);
635 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
636 void ThreadFinish(ThreadState *thr);
637 int ThreadTid(ThreadState *thr, uptr pc, uptr uid);
638 void ThreadJoin(ThreadState *thr, uptr pc, int tid);
639 void ThreadDetach(ThreadState *thr, uptr pc, int tid);
640 void ThreadFinalize(ThreadState *thr);
641 void ThreadSetName(ThreadState *thr, const char *name);
642 int ThreadCount(ThreadState *thr);
643 void ProcessPendingSignals(ThreadState *thr);
645 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
647 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr);
648 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec = 1,
650 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all = false);
651 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool try_lock = false);
652 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr);
653 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr);
654 void MutexRepair(ThreadState *thr, uptr pc, uptr addr); // call on EOWNERDEAD
656 void Acquire(ThreadState *thr, uptr pc, uptr addr);
657 void AcquireGlobal(ThreadState *thr, uptr pc);
658 void Release(ThreadState *thr, uptr pc, uptr addr);
659 void ReleaseStore(ThreadState *thr, uptr pc, uptr addr);
660 void AfterSleep(ThreadState *thr, uptr pc);
661 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c);
662 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
663 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c);
664 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
687 void TraceSwitch(ThreadState *thr);
688 uptr TraceTopPC(ThreadState *thr);
694 void ALWAYS_INLINE TraceAddEvent(ThreadState *thr, FastState fs,
701 StatInc(thr, StatEvents);
707 TraceSwitch(thr);