Searched refs:lock (Results 1 – 16 of 16) sorted by relevance
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 127 pthread_rwlock_t lock; in Run() local 128 pthread_rwlock_init(&lock, NULL); in Run() 132 pthread_rwlock_rdlock(&lock); in Run() 133 pthread_rwlock_unlock(&lock); in Run() 137 pthread_rwlock_destroy(&lock); in Run() 143 pthread_rwlock_t lock; in Run() local 144 pthread_rwlock_init(&lock, NULL); in Run() 148 pthread_rwlock_wrlock(&lock); in Run() 149 pthread_rwlock_unlock(&lock); in Run() 153 pthread_rwlock_destroy(&lock); in Run()
|
/bionic/tests/ |
D | pthread_test.cpp | 739 pthread_rwlock_t lock; member 755 ASSERT_EQ(EBUSY, pthread_rwlock_trywrlock(&arg->lock)); in pthread_rwlock_reader_wakeup_writer_helper() 756 ASSERT_EQ(0, pthread_rwlock_wrlock(&arg->lock)); in pthread_rwlock_reader_wakeup_writer_helper() 758 ASSERT_EQ(0, pthread_rwlock_unlock(&arg->lock)); in pthread_rwlock_reader_wakeup_writer_helper() 765 ASSERT_EQ(0, pthread_rwlock_init(&wakeup_arg.lock, NULL)); in TEST() 766 ASSERT_EQ(0, pthread_rwlock_rdlock(&wakeup_arg.lock)); in TEST() 777 ASSERT_EQ(0, pthread_rwlock_unlock(&wakeup_arg.lock)); in TEST() 781 ASSERT_EQ(0, pthread_rwlock_destroy(&wakeup_arg.lock)); in TEST() 789 ASSERT_EQ(EBUSY, pthread_rwlock_tryrdlock(&arg->lock)); in pthread_rwlock_writer_wakeup_reader_helper() 790 ASSERT_EQ(0, pthread_rwlock_rdlock(&arg->lock)); in pthread_rwlock_writer_wakeup_reader_helper() [all …]
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 43 g_lock.lock(); in should_trace() 78 g_lock.lock(); in get_trace_marker_fd()
|
D | pthread_rwlock.cpp | 317 rwlock->pending_lock.lock(); in __pthread_rwlock_timedrdlock() 336 rwlock->pending_lock.lock(); in __pthread_rwlock_timedrdlock() 395 rwlock->pending_lock.lock(); in __pthread_rwlock_timedwrlock() 410 rwlock->pending_lock.lock(); in __pthread_rwlock_timedwrlock() 489 rwlock->pending_lock.lock(); in pthread_rwlock_unlock()
|
D | malloc_debug_common.h | 70 pthread_mutex_t lock; member
|
D | malloc_debug_check.cpp | 116 static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; variable 198 ScopedPthreadMutexLocker locker(&lock); in add() 212 ScopedPthreadMutexLocker locker(&lock); in del() 320 ScopedPthreadMutexLocker locker(&lock); in del_leak()
|
D | malloc_debug_leak.cpp | 137 ScopedPthreadMutexLocker locker(&g_hash_table->lock); in record_backtrace() 342 ScopedPthreadMutexLocker locker(&g_hash_table->lock); in leak_free()
|
D | malloc_debug_common.cpp | 182 ScopedPthreadMutexLocker locker(&g_hash_table.lock); in get_malloc_leak_info()
|
/bionic/libc/kernel/uapi/drm/ |
D | drm_sarea.h | 51 struct drm_hw_lock lock; member
|
D | drm.h | 50 #define _DRM_LOCK_IS_HELD(lock) ((lock) & _DRM_LOCK_HELD) argument 51 #define _DRM_LOCK_IS_CONT(lock) ((lock) & _DRM_LOCK_CONT) argument 52 #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD | _DRM_LOCK_CONT)) argument 80 __volatile__ unsigned int lock; member
|
D | via_drm.h | 135 __u32 lock; member
|
/bionic/libc/private/ |
D | bionic_lock.h | 54 void lock() { in lock() function
|
/bionic/libc/kernel/uapi/linux/ |
D | dlm_device.h | 69 struct dlm_lock_params lock; member
|
D | perf_event.h | 231 __u32 lock; member
|
D | cdrom.h | 796 __u8 lock : 1; member 799 __u8 lock : 1; member
|
D | audit.h | 372 __u32 lock; member
|