Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DRWMutex.cpp66 pthread_rwlock_t* rwlock = in RWMutexImpl() local
89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local
101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local
114 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local
127 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local
140 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
186 #define ANNOTATE_RWLOCK_DESTROY(rwlock) \ argument
196 #define ANNOTATE_RWLOCK_ACQUIRED(rwlock, is_w) \ argument
205 #define ANNOTATE_READERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 0) argument
211 #define ANNOTATE_WRITERLOCK_ACQUIRED(rwlock) ANNOTATE_RWLOCK_ACQUIRED(rwlock, 1) argument
218 #define ANNOTATE_RWLOCK_RELEASED(rwlock, is_w) \ argument
226 #define ANNOTATE_READERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 0) argument
231 #define ANNOTATE_WRITERLOCK_RELEASED(rwlock) ANNOTATE_RWLOCK_RELEASED(rwlock, 1) argument
Ddrd_pthread_intercepts.c1069 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()
Ddrd_clientobj.h152 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.c1384 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 …]
/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 …]