Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h60 bool addLock(uptr lock_id, uptr current_epoch, u32 stk) { in addLock() argument
63 if (!bv_.setBit(lock_id)) { in addLock()
66 recursive_locks[n_recursive_locks++] = lock_id; in addLock()
71 u32 lock_id_short = static_cast<u32>(lock_id); in addLock()
77 void removeLock(uptr lock_id) { in removeLock() argument
80 if (recursive_locks[i] == lock_id) { in removeLock()
88 if (!bv_.clearBit(lock_id)) in removeLock()
92 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) { in removeLock()
102 u32 findLockContext(uptr lock_id) { in findLockContext() argument
104 if (all_locks_with_contexts_[i].lock == static_cast<u32>(lock_id)) in findLockContext()
/external/libdrm/freedreno/kgsl/
Dkgsl_drm.h174 uint32_t lock_id; /* Returned lock id used for unlocking */ member
178 uint32_t lock_id; member
182 uint32_t lock_id; member