Searched defs:rwlock (Results 1 – 10 of 10) sorted by relevance
50 pthread_rwlock_t* rwlock = in RWMutexImpl() local70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
180 #define ANNOTATE_RWLOCK_CREATE(rwlock) \ argument185 #define ANNOTATE_RWLOCK_DESTROY(rwlock) \ argument194 #define ANNOTATE_RWLOCK_ACQUIRED(rwlock, is_w) \ argument202 #define ANNOTATE_READERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 0) argument208 #define ANNOTATE_WRITERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 1) argument215 #define ANNOTATE_RWLOCK_RELEASED(rwlock, is_w) \ argument222 #define ANNOTATE_READERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 0) argument227 #define ANNOTATE_WRITERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 1) argument
1074 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()
153 struct rwlock_info rwlock; member
155 Addr rwlock; member
154 # define _raw_read_lock(rwlock) __raw_read_lock(&(rwlock)->raw_lock) argument155 # define _raw_read_trylock(rwlock) __raw_read_trylock(&(rwlock)->raw_lock) argument156 # define _raw_read_unlock(rwlock) __raw_read_unlock(&(rwlock)->raw_lock) argument157 # define _raw_write_lock(rwlock) __raw_write_lock(&(rwlock)->raw_lock) argument158 # define _raw_write_trylock(rwlock) __raw_write_trylock(&(rwlock)->raw_lock) argument159 # define _raw_write_unlock(rwlock) __raw_write_unlock(&(rwlock)->raw_lock) argument162 #define read_can_lock(rwlock) __raw_read_can_lock(&(rwlock)->raw_lock) argument163 #define write_can_lock(rwlock) __raw_write_can_lock(&(rwlock)->raw_lock) argument
23 pthread_rwlock_t rwlock; in main() local
30 pthread_rwlock_t rwlock; in main() local
1405 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 …]
1509 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 …]