Lines Matching refs:GetHeldMutex
102 if (UNLIKELY(level == kThreadWaitLock) && self->GetHeldMutex(kThreadWaitLock) != nullptr) { in RegisterAsLocked()
121 } else if (this == Locks::mutator_lock_ && self->GetHeldMutex(kTopLockLevel) != nullptr) { in RegisterAsLocked()
123 << "kTopLevelLock (" << self->GetHeldMutex(kTopLockLevel)->name_ << "held is " in RegisterAsLocked()
129 BaseMutex* held_mutex = self->GetHeldMutex(lock_level_i); in RegisterAsLocked()
164 if (UNLIKELY(level == kThreadWaitLock) && self->GetHeldMutex(kThreadWaitWakeLock) == this) { in RegisterAsUnlocked()
169 …CHECK(self->GetHeldMutex(kThreadWaitLock) != nullptr) << "Held " << kThreadWaitWakeLock << " witho… in RegisterAsUnlocked()
171 CHECK(self->GetHeldMutex(level) == this) << "Unlocking on unacquired mutex: " << name_; in RegisterAsUnlocked()
232 if (level_ == kThreadWaitLock && self->GetHeldMutex(kThreadWaitLock) != this) { in IsExclusiveHeld()
233 CHECK_EQ(self->GetHeldMutex(kThreadWaitWakeLock), this); in IsExclusiveHeld()
235 CHECK_EQ(self->GetHeldMutex(level_), this); in IsExclusiveHeld()
262 CHECK_EQ(self->GetHeldMutex(level_), this); in IsExclusiveHeld()