Searched refs:GetHeldMutex (Results 1 – 5 of 5) sorted by relevance
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()[all …]
239 CHECK(self->GetHeldMutex(level_) == this || level_ == kMonitorLock) in CheckSafeToWait()245 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckSafeToWait()871 result = (self->GetHeldMutex(level_) == this); in IsSharedHeld()
76 BaseMutex* held_mutex = self->GetHeldMutex(static_cast<LockLevel>(i)); in CheckEmptyCheckpointFromWeakRefAccess()130 GetHeldMutex(static_cast<LockLevel>(i)) != nullptr) { in IsThreadSuspensionAllowable()139 if (GetHeldMutex(kUserCodeSuspensionLock) != nullptr && is_suspending_for_user_code()) { in IsThreadSuspensionAllowable()156 BaseMutex* held_mutex = GetHeldMutex(static_cast<LockLevel>(i)); in AssertThreadSuspensionIsAllowable()171 if (GetHeldMutex(kUserCodeSuspensionLock) != nullptr && is_suspending_for_user_code()) { in AssertThreadSuspensionIsAllowable()
1115 BaseMutex* GetHeldMutex(LockLevel level) const { in GetHeldMutex() function
1955 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState()