Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Support/
DRWMutex.cpp50 pthread_rwlock_t* rwlock = in RWMutexImpl() local
70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local
89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local
99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local
109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
/external/valgrind/main/drd/
Ddrd.h219 #define ANNOTATE_RWLOCK_CREATE(rwlock) \ argument
224 #define ANNOTATE_RWLOCK_DESTROY(rwlock) \ argument
233 #define ANNOTATE_RWLOCK_ACQUIRED(rwlock, is_w) \ argument
243 #define ANNOTATE_READERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 0) argument
249 #define ANNOTATE_WRITERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 1) argument
258 #define ANNOTATE_RWLOCK_RELEASED(rwlock, is_w) \ argument
267 #define ANNOTATE_READERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 0) argument
272 #define ANNOTATE_WRITERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 1) argument
Ddrd_pthread_intercepts.c1112 int pthread_rwlock_init_intercept(pthread_rwlock_t* rwlock, in pthread_rwlock_init_intercept()
1130 int pthread_rwlock_destroy_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_destroy_intercept()
1146 int pthread_rwlock_rdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_intercept()
1164 int pthread_rwlock_wrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_intercept()
1182 int pthread_rwlock_timedrdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_timedrdlock_intercept()
1200 int pthread_rwlock_timedwrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_timedwrlock_intercept()
1218 int pthread_rwlock_tryrdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_tryrdlock_intercept()
1236 int pthread_rwlock_trywrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_intercept()
1254 int pthread_rwlock_unlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_unlock_intercept()
Ddrd_clientobj.h152 struct rwlock_info rwlock; member
Ddrd_error.h154 Addr rwlock; member
/external/kernel-headers/original/linux/
Dspinlock.h154 # define _raw_read_lock(rwlock) __raw_read_lock(&(rwlock)->raw_lock) argument
155 # define _raw_read_trylock(rwlock) __raw_read_trylock(&(rwlock)->raw_lock) argument
156 # define _raw_read_unlock(rwlock) __raw_read_unlock(&(rwlock)->raw_lock) argument
157 # define _raw_write_lock(rwlock) __raw_write_lock(&(rwlock)->raw_lock) argument
158 # define _raw_write_trylock(rwlock) __raw_write_trylock(&(rwlock)->raw_lock) argument
159 # define _raw_write_unlock(rwlock) __raw_write_unlock(&(rwlock)->raw_lock) argument
162 #define read_can_lock(rwlock) __raw_read_can_lock(&(rwlock)->raw_lock) argument
163 #define write_can_lock(rwlock) __raw_write_can_lock(&(rwlock)->raw_lock) argument
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
Dpthread_rwlock_wrlock.c43 pthread_rwlock_wrlock (pthread_rwlock_t * rwlock) in pthread_rwlock_wrlock()
Dpthread_rwlock_tryrdlock.c43 pthread_rwlock_tryrdlock (pthread_rwlock_t * rwlock) in pthread_rwlock_tryrdlock()
Dptw32_rwlock_check_need_init.c41 ptw32_rwlock_check_need_init (pthread_rwlock_t * rwlock) in ptw32_rwlock_check_need_init()
Dpthread_rwlock_rdlock.c43 pthread_rwlock_rdlock (pthread_rwlock_t * rwlock) in pthread_rwlock_rdlock()
Dpthread_rwlock_unlock.c43 pthread_rwlock_unlock (pthread_rwlock_t * rwlock) in pthread_rwlock_unlock()
Dpthread_rwlock_trywrlock.c43 pthread_rwlock_trywrlock (pthread_rwlock_t * rwlock) in pthread_rwlock_trywrlock()
Dpthread_rwlock_timedwrlock.c43 pthread_rwlock_timedwrlock (pthread_rwlock_t * rwlock, in pthread_rwlock_timedwrlock()
Dpthread_rwlock_init.c43 pthread_rwlock_init (pthread_rwlock_t * rwlock, in pthread_rwlock_init()
Dpthread_rwlock_timedrdlock.c43 pthread_rwlock_timedrdlock (pthread_rwlock_t * rwlock, in pthread_rwlock_timedrdlock()
Dpthread_rwlock_destroy.c43 pthread_rwlock_destroy (pthread_rwlock_t * rwlock) in pthread_rwlock_destroy()
/external/valgrind/main/drd/tests/
Dtrylock.c23 pthread_rwlock_t rwlock; in main() local
Dhold_lock.c30 pthread_rwlock_t rwlock; in main() local
/external/compiler-rt/lib/tsan/lit_tests/
Dwrite_in_reader_lock.cc5 pthread_rwlock_t rwlock; variable
/external/valgrind/main/helgrind/
Dhg_intercepts.c1405 static int pthread_rwlock_wrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_WRK()
1434 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1439 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1453 static int pthread_rwlock_rdlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_WRK()
1482 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1487 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1501 static int pthread_rwlock_trywrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_WRK()
1536 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1541 pthread_rwlock_t* rwlock) { in PTH_FUNC()
1555 static int pthread_rwlock_tryrdlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_tryrdlock_WRK()
[all …]
/external/bison/lib/glthread/
Dlock.h207 pthread_rwlock_t rwlock; /* read-write lock */ member