Searched refs:lock_id (Results 1 – 8 of 8) sorted by relevance
/external/arm-trusted-firmware/plat/hisilicon/hikey960/drivers/pwrc/ |
D | hisi_pwrc.c | 77 unsigned int lock_id = (lockid << 29); in hisi_resource_lock() local 78 unsigned int lock_val = lock_id | LOCK_BIT; in hisi_resource_lock() 84 } while ((lock_state & LOCK_ID_MASK) != lock_id); in hisi_resource_lock() 97 unsigned int lock_id; in hisi_cpuhotplug_lock() local 99 lock_id = (cluster << 2) + core; in hisi_cpuhotplug_lock() 101 hisi_resource_lock(lock_id, RES2_LOCK_BASE); in hisi_cpuhotplug_lock() 106 unsigned int lock_id; in hisi_cpuhotplug_unlock() local 108 lock_id = (cluster << 2) + core; in hisi_cpuhotplug_unlock() 110 hisi_resource_unlock(lock_id, RES2_LOCK_BASE); in hisi_cpuhotplug_unlock()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_deadlock_detector.h | 59 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() 85 if (!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()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_deadlock_detector.h | 60 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/ |
D | kgsl_drm.h | 174 uint32_t lock_id; /* Returned lock id used for unlocking */ member 178 uint32_t lock_id; member 182 uint32_t lock_id; member
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_lock.py | 39 anID = self.env.lock_id() 122 anID = self.env.lock_id() 123 anID2 = self.env.lock_id() 161 anID = self.env.lock_id()
|
/external/python/cpython2/Lib/bsddb/ |
D | dbobj.py | 93 def lock_id(self, *args, **kwargs): member in DBEnv 94 return self._cobj.lock_id(*args, **kwargs)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scatter_functor.h | 164 const Index lock_id = index / entries_per_lock; 167 mutex_lock l(accessed[lock_id]);
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 6355 err = self->db_env->lock_id(self->db_env, &theID); in DBEnv_lock_id()
|