Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h58 bool addLock(uptr lock_id, uptr current_epoch, u32 stk) { in addLock() argument
61 if (!bv_.setBit(lock_id)) { in addLock()
64 recursive_locks[n_recursive_locks++] = lock_id; in addLock()
69 u32 lock_id_short = static_cast<u32>(lock_id); in addLock()
75 void removeLock(uptr lock_id) { in removeLock() argument
78 if (recursive_locks[i] == lock_id) { in removeLock()
86 CHECK(bv_.clearBit(lock_id)); in removeLock()
89 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) { in removeLock()
99 u32 findLockContext(uptr lock_id) { in findLockContext() argument
101 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) in findLockContext()