Home
last modified time | relevance | path

Searched refs:DDCallback (Results 1 – 5 of 5) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc49 void MutexInit(DDCallback *cb, DDMutex *m) override;
50 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override;
51 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
53 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override;
54 void MutexDestroy(DDCallback *cb, DDMutex *m) override;
56 DDReport *GetReport(DDCallback *cb) override;
59 void ReportDeadlock(DDCallback *cb, DDMutex *m);
93 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit()
104 void DD::MutexBeforeLock(DDCallback *cb, in MutexBeforeLock()
120 void DD::ReportDeadlock(DDCallback *cb, DDMutex *m) { in ReportDeadlock()
[all …]
Dsanitizer_deadlock_detector_interface.h64 struct DDCallback { struct
81 virtual void MutexInit(DDCallback *cb, DDMutex *m) {} in MutexInit() argument
82 virtual void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) {} in MutexBeforeLock()
83 virtual void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, in MutexAfterLock()
85 virtual void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) {} in MutexBeforeUnlock()
86 virtual void MutexDestroy(DDCallback *cb, DDMutex *m) {} in MutexDestroy()
88 virtual DDReport *GetReport(DDCallback *cb) { return nullptr; } in GetReport()
Dsanitizer_deadlock_detector2.cc93 void MutexInit(DDCallback *cb, DDMutex *m);
94 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock);
95 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
97 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock);
98 void MutexDestroy(DDCallback *cb, DDMutex *m);
100 DDReport *GetReport(DDCallback *cb);
104 u32 allocateId(DDCallback *cb);
153 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit()
175 u32 DD::allocateId(DDCallback *cb) { in allocateId()
194 void DD::MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) { in MutexBeforeLock()
[all …]
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.h34 struct Callback : DDCallback {
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc28 struct Callback : DDCallback {
35 DDCallback::pt = thr->proc()->dd_pt; in Callback()
36 DDCallback::lt = thr->dd_lt; in Callback()