Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector.h67 CHECK_LT(n_all_locks_, ARRAY_SIZE(all_locks_with_contexts_)); in addLock()
71 all_locks_with_contexts_[n_all_locks_++] = l; in addLock()
89 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) { in removeLock()
90 Swap(all_locks_with_contexts_[i], in removeLock()
91 all_locks_with_contexts_[n_all_locks_ - 1]); in removeLock()
101 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) in findLockContext()
102 return all_locks_with_contexts_[i].stk; in findLockContext()
112 uptr getLock(uptr idx) const { return all_locks_with_contexts_[idx].lock; } in getLock()
123 LockWithContext all_locks_with_contexts_[128]; variable