Lines Matching refs:LOCKTYPE_RWLOCK
47 #define LOCKTYPE_RWLOCK 0x2 macro
1194 dotest(name##_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1199 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1205 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1206 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1211 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN|LOCKTYPE_RWLOCK);\
1212 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1213 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1219 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1220 dotest(name##_rlock, FAILURE, LOCKTYPE_RWLOCK); \
1230 dotest(name##_wlock, SUCCESS, LOCKTYPE_RWLOCK); \
1231 dotest(name##_rlock, SUCCESS, LOCKTYPE_RWLOCK); \
1244 dotest(name##_wlock, FAILURE, LOCKTYPE_RWLOCK); \
1245 dotest(name##_rlock, SUCCESS, LOCKTYPE_RWLOCK); \
2007 dotest(rlock_AA1, SUCCESS, LOCKTYPE_RWLOCK); in locking_selftest()
2014 dotest(rlock_AA1B, SUCCESS, LOCKTYPE_RWLOCK); in locking_selftest()
2021 dotest(rlock_AA2, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2028 dotest(rlock_AA3, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2035 dotest(rlock_ABBA1, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()
2049 dotest(rlock_ABBA2, SUCCESS, LOCKTYPE_RWLOCK); in locking_selftest()
2055 dotest(rlock_ABBA3, FAILURE, LOCKTYPE_RWLOCK); in locking_selftest()