Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 10 of 10) 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.h180 #define ANNOTATE_RWLOCK_CREATE(rwlock) \ argument
185 #define ANNOTATE_RWLOCK_DESTROY(rwlock) \ argument
194 #define ANNOTATE_RWLOCK_ACQUIRED(rwlock, is_w) \ argument
202 #define ANNOTATE_READERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 0) argument
208 #define ANNOTATE_WRITERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 1) argument
215 #define ANNOTATE_RWLOCK_RELEASED(rwlock, is_w) \ argument
222 #define ANNOTATE_READERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 0) argument
227 #define ANNOTATE_WRITERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 1) argument
Ddrd_pthread_intercepts.c1074 int pthread_rwlock_init_intercept(pthread_rwlock_t* rwlock, in pthread_rwlock_init_intercept()
1092 int pthread_rwlock_destroy_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_destroy_intercept()
1108 int pthread_rwlock_rdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_intercept()
1126 int pthread_rwlock_wrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_intercept()
1144 int pthread_rwlock_timedrdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_timedrdlock_intercept()
1162 int pthread_rwlock_timedwrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_timedwrlock_intercept()
1180 int pthread_rwlock_tryrdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_tryrdlock_intercept()
1198 int pthread_rwlock_trywrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_intercept()
1216 int pthread_rwlock_unlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_unlock_intercept()
Ddrd_clientobj.h153 struct rwlock_info rwlock; member
Ddrd_error.h155 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/valgrind/main/drd/tests/
Dtrylock.c23 pthread_rwlock_t rwlock; in main() local
Dhold_lock.c30 pthread_rwlock_t rwlock; in main() local
/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/valgrind/tsan/
Dts_valgrind_intercepts.c1509 static int pthread_rwlock_wrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_WRK()
1537 pthread_rwlock_t* rwlock) in PTH_FUNC()
1543 pthread_rwlock_t* rwlock) in PTH_FUNC()
1549 static int pthread_rwlock_rdlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_WRK()
1576 pthread_rwlock_t* rwlock) in PTH_FUNC()
1582 pthread_rwlock_t* rwlock) in PTH_FUNC()
1588 static int pthread_rwlock_trywrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_WRK()
1621 pthread_rwlock_t* rwlock) in PTH_FUNC()
1627 pthread_rwlock_t* rwlock) in PTH_FUNC()
1633 static int pthread_rwlock_tryrdlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_tryrdlock_WRK()
[all …]