Lines Matching refs:DD

84 struct DD : public DDetector {
85 explicit DD(const DDFlags *flags);
119 void *mem = MmapOrDie(sizeof(DD), "deadlock detector");
120 return new(mem) DD(flags);
123 DD::DD(const DDFlags *flags)
129 DDPhysicalThread* DD::CreatePhysicalThread() {
135 void DD::DestroyPhysicalThread(DDPhysicalThread *pt) {
140 DDLogicalThread* DD::CreateLogicalThread(u64 ctx) {
148 void DD::DestroyLogicalThread(DDLogicalThread *lt) {
153 void DD::MutexInit(DDCallback *cb, DDMutex *m) {
154 VPrintf(2, "#%llu: DD::MutexInit(%p)\n", cb->lt->ctx, m);
160 Mutex *DD::getMutex(u32 id) {
164 u32 DD::getMutexId(Mutex *m) {
175 u32 DD::allocateId(DDCallback *cb) {
190 VPrintf(3, "#%llu: DD::allocateId assign id %d\n", cb->lt->ctx, id);
194 void DD::MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) {
195 VPrintf(2, "#%llu: DD::MutexBeforeLock(%p, wlock=%d) nlocked=%d\n",
202 VPrintf(3, "#%llu: DD::MutexBeforeLock recursive\n",
218 VPrintf(3, "#%llu: DD::MutexBeforeLock first mutex\n",
244 VPrintf(3, "#%llu: DD::MutexBeforeLock added %d->%d link\n",
259 VPrintf(3, "#%llu: DD::MutexBeforeLock added %d->%d link\n",
265 VPrintf(3, "#%llu: DD::MutexBeforeLock don't check\n",
273 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
275 VPrintf(2, "#%llu: DD::MutexAfterLock(%p, wlock=%d, try=%d) nlocked=%d\n",
281 VPrintf(3, "#%llu: DD::MutexAfterLock recursive\n", cb->lt->ctx);
288 VPrintf(3, "#%llu: DD::MutexAfterLock set owner\n", cb->lt->ctx);
306 void DD::MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) {
307 VPrintf(2, "#%llu: DD::MutexBeforeUnlock(%p, wlock=%d) nlocked=%d\n",
313 VPrintf(3, "#%llu: DD::MutexBeforeUnlock recursive\n", cb->lt->ctx);
316 VPrintf(3, "#%llu: DD::MutexBeforeUnlock reset owner\n", cb->lt->ctx);
330 void DD::MutexDestroy(DDCallback *cb, DDMutex *m) {
331 VPrintf(2, "#%llu: DD::MutexDestroy(%p)\n",
363 void DD::CycleCheck(DDPhysicalThread *pt, DDLogicalThread *lt,
405 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) {
420 DDReport *DD::GetReport(DDCallback *cb) {