Lines Matching refs:r
26 pthread_rwlock_t r; in do_test() local
48 if (pthread_rwlock_init (&r, &at) != 0) in do_test()
62 if (pthread_rwlock_wrlock (&r) != 0) in do_test()
69 e = pthread_rwlock_tryrdlock (&r); in do_test()
82 e = pthread_rwlock_trywrlock (&r); in do_test()
95 if (pthread_rwlock_unlock (&r) != 0) in do_test()
102 if (pthread_rwlock_tryrdlock (&r) != 0) in do_test()
109 e = pthread_rwlock_trywrlock (&r); in do_test()
122 if (pthread_rwlock_unlock (&r) != 0) in do_test()
129 if (pthread_rwlock_trywrlock (&r) != 0) in do_test()
136 e = pthread_rwlock_tryrdlock (&r); in do_test()
149 if (pthread_rwlock_unlock (&r) != 0) in do_test()
156 if (pthread_rwlock_destroy (&r) != 0) in do_test()