Searched defs:lock (Results 1 – 17 of 17) sorted by relevance
37 Lock lock; member46 static inline pthread_spinlock_internal_t* __get_internal_spinlock(pthread_spinlock_t* lock) { in __get_internal_spinlock()51 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_init() local57 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_destroy() local62 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_trylock() local67 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_lock() local78 pthread_spinlock_internal_t* lock = __get_internal_spinlock(lock_interface); in pthread_spin_unlock() local
273 static Lock lock; variable
472 ScopedConcurrentLock lock; in debug_get_malloc_leak_info() local512 ScopedConcurrentLock lock; in debug_malloc_usable_size() local589 ScopedConcurrentLock lock; in debug_malloc() local692 ScopedConcurrentLock lock; in debug_free() local730 ScopedConcurrentLock lock; in debug_memalign() local838 ScopedConcurrentLock lock; in debug_realloc() local1002 ScopedConcurrentLock lock; in debug_calloc() local1084 ScopedConcurrentLock lock; in debug_malloc_info() local1143 ScopedConcurrentLock lock; in debug_malloc_iterate() local1157 ScopedConcurrentLock lock; in debug_malloc_disable() local[all …]
140 std::lock_guard<std::mutex> lock(m_); in ReadMaps() local174 std::lock_guard<std::mutex> lock(m_); in find() local
59 void lock() { in lock() function88 explicit LockGuard(Lock& lock) : lock_(lock) { in LockGuard()
108 std::unique_lock lock(m); in RunThreadsThroughput() local144 std::unique_lock lock(m); in RunThreadsThroughput() local
152 pthread_rwlock_t lock; in BM_pthread_rwlock_read() local165 pthread_rwlock_t lock; in BM_pthread_rwlock_write() local
125 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() local135 std::lock_guard<std::mutex> lock(entry->mutex); in fd_hook() local
36 struct drm_hw_lock lock; member
37 #define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD) argument38 #define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT) argument39 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD | _DRM_LOCK_CONT)) argument61 __volatile__ unsigned int lock; member
979 pthread_rwlock_t lock; member1039 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()1050 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST()1061 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()1067 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()1106 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()1117 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedrdlock_monotonic_np(lock, &ts); }); in TEST()1128 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()1134 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()1226 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST() local[all …]
1431 std::unique_lock<std::mutex> lock(mtx); in TEST() local1459 std::unique_lock<std::mutex> lock(mtx); in TEST() local1499 std::unique_lock<std::mutex> lock(mtx); in TEST() local
47 struct dlm_lock_params lock; member
351 __u32 lock; member
638 __u8 lock : 1; member640 __u8 lock : 1; member
295 __u32 lock; member
24 static int lock(void) { return pthread_mutex_lock(&locallock); } in lock() function27 static int lock(void) { return 0; } in lock() function