• Home
  • Raw
  • Download

Lines Matching refs:level

59 static inline void CheckUnattachedThread(LockLevel level) NO_THREAD_SAFETY_ANALYSIS {  in CheckUnattachedThread()  argument
67 level == kRuntimeShutdownLock || in CheckUnattachedThread()
69 level == kAllocatedThreadIdsLock || in CheckUnattachedThread()
71 level == kModifyLdtLock || in CheckUnattachedThread()
74 level == kThreadListLock || in CheckUnattachedThread()
76 level == kLoggingLock || in CheckUnattachedThread()
81 level == kThreadSuspendCountLock || in CheckUnattachedThread()
83 level == kAbortLock || in CheckUnattachedThread()
85 level == kTopLockLevel || in CheckUnattachedThread()
87 level == kUnexpectedSignalLock) << level; in CheckUnattachedThread()
96 LockLevel level = level_; in RegisterAsLocked() local
102 if (UNLIKELY(level == kThreadWaitLock) && self->GetHeldMutex(kThreadWaitLock) != nullptr) { in RegisterAsLocked()
103 level = kThreadWaitWakeLock; in RegisterAsLocked()
112 if (level == kTopLockLevel && in RegisterAsLocked()
118 << "(level " << level << " - " << static_cast<int>(level) << ") a top level" in RegisterAsLocked()
127 for (int i = level; i >= 0; --i) { in RegisterAsLocked()
130 if (level == kTopLockLevel && in RegisterAsLocked()
139 << "(level " << level << " - " << static_cast<int>(level) << ")"; in RegisterAsLocked()
152 if (level != kMonitorLock) { in RegisterAsLocked()
153 self->SetHeldMutex(level, this); in RegisterAsLocked()
163 auto level = level_; in RegisterAsUnlocked() local
164 if (UNLIKELY(level == kThreadWaitLock) && self->GetHeldMutex(kThreadWaitWakeLock) == this) { in RegisterAsUnlocked()
165 level = kThreadWaitWakeLock; in RegisterAsUnlocked()
168 if (level == kThreadWaitWakeLock) { in RegisterAsUnlocked()
171 CHECK(self->GetHeldMutex(level) == this) << "Unlocking on unacquired mutex: " << name_; in RegisterAsUnlocked()
173 self->SetHeldMutex(level, nullptr); in RegisterAsUnlocked()