Searched refs:lock_count (Results 1 – 5 of 5) sorted by relevance
23 static int lock_count; member25 void lock() {++lock_count;} in lock()29 int mutex::lock_count = 0; member in mutex39 assert(mutex::lock_count == 1); in main()44 assert(mutex::lock_count == 1); in main()
24 static int lock_count; member26 void lock_shared() {++lock_count;} in lock_shared()30 int mutex::lock_count = 0; member in mutex40 assert(mutex::lock_count == 1); in main()45 assert(mutex::lock_count == 1); in main()
113 int lock_count() { return lock_count_; } in lock_count() function in multi_threaded_local_fake145 int SlotLockCount() { return mt_receiver_.lock_count(); } in SlotLockCount()147 int SignalLockCount() { return SignalMTLoopback.lock_count(); } in SignalLockCount()222 const int lock_count = SignalLockCount(); in TEST_F() local225 EXPECT_EQ(lock_count + 1, SignalLockCount()); in TEST_F()
367 if (bo->lock_count && (bo->locked_for & usage) != usage) in gralloc_drm_bo_lock()385 bo->lock_count++; in gralloc_drm_bo_lock()399 if (!bo->lock_count) in gralloc_drm_bo_unlock()405 bo->lock_count--; in gralloc_drm_bo_unlock()406 if (!bo->lock_count) in gralloc_drm_bo_unlock()
85 int lock_count; member