Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h43 n_recursive_locks = 0; in clear()
53 n_recursive_locks = 0; in ensureCurrentEpoch()
65 CHECK_LT(n_recursive_locks, ARRAY_SIZE(recursive_locks)); in addLock()
66 recursive_locks[n_recursive_locks++] = lock_id; in addLock()
78 if (n_recursive_locks) { in removeLock()
79 for (sptr i = n_recursive_locks - 1; i >= 0; i--) { in removeLock()
81 n_recursive_locks--; in removeLock()
82 Swap(recursive_locks[i], recursive_locks[n_recursive_locks]); in removeLock()
121 uptr n_recursive_locks; variable