Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h44 n_all_locks_ = 0; in clear()
54 n_all_locks_ = 0; in ensureCurrentEpoch()
69 CHECK_LT(n_all_locks_, ARRAY_SIZE(all_locks_with_contexts_)); in addLock()
73 all_locks_with_contexts_[n_all_locks_++] = l; in addLock()
90 if (n_all_locks_) { in removeLock()
91 for (sptr i = n_all_locks_ - 1; i >= 0; i--) { in removeLock()
94 all_locks_with_contexts_[n_all_locks_ - 1]); in removeLock()
95 n_all_locks_--; in removeLock()
103 for (uptr i = 0; i < n_all_locks_; i++) in findLockContext()
114 uptr getNumLocks() const { return n_all_locks_; } in getNumLocks()
[all …]