Searched defs:rwlock (Results 1 – 10 of 10) sorted by relevance
66 pthread_rwlock_t* rwlock = in RWMutexImpl() local89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local114 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local127 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local140 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
180 #define ANNOTATE_RWLOCK_CREATE(rwlock) \ argument186 #define ANNOTATE_RWLOCK_DESTROY(rwlock) \ argument196 #define ANNOTATE_RWLOCK_ACQUIRED(rwlock, is_w) \ argument205 #define ANNOTATE_READERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 0) argument211 #define ANNOTATE_WRITERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 1) argument218 #define ANNOTATE_RWLOCK_RELEASED(rwlock, is_w) \ argument226 #define ANNOTATE_READERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 0) argument231 #define ANNOTATE_WRITERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 1) argument
1069 int pthread_rwlock_init_intercept(pthread_rwlock_t* rwlock, in pthread_rwlock_init_intercept()1088 int pthread_rwlock_destroy_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_destroy_intercept()1105 int pthread_rwlock_rdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_intercept()1124 int pthread_rwlock_wrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_intercept()1143 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()1181 int pthread_rwlock_tryrdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_tryrdlock_intercept()1200 int pthread_rwlock_trywrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_intercept()1219 int pthread_rwlock_unlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_unlock_intercept()
152 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
1384 static int pthread_rwlock_wrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_WRK()1413 pthread_rwlock_t* rwlock) { in PTH_FUNC()1418 pthread_rwlock_t* rwlock) { in PTH_FUNC()1431 static int pthread_rwlock_rdlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_WRK()1460 pthread_rwlock_t* rwlock) { in PTH_FUNC()1465 pthread_rwlock_t* rwlock) { in PTH_FUNC()1478 static int pthread_rwlock_trywrlock_WRK(pthread_rwlock_t* rwlock) in pthread_rwlock_trywrlock_WRK()1513 pthread_rwlock_t* rwlock) { in PTH_FUNC()1518 pthread_rwlock_t* rwlock) { in PTH_FUNC()1531 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 …]