Lines Matching refs:nr
1456 #define DO_TESTCASE_1(desc, name, nr) \ argument
1457 print_testname(desc"/"#nr); \
1458 dotest(name##_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1461 #define DO_TESTCASE_1B(desc, name, nr) \ argument
1462 print_testname(desc"/"#nr); \
1463 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1466 #define DO_TESTCASE_1RR(desc, name, nr) \ argument
1467 print_testname(desc"/"#nr); \
1469 dotest(name##_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1472 #define DO_TESTCASE_1RRB(desc, name, nr) \ argument
1473 print_testname(desc"/"#nr); \
1475 dotest(name##_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1479 #define DO_TESTCASE_3(desc, name, nr) \ argument
1480 print_testname(desc"/"#nr); \
1481 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN); \
1482 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1483 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1486 #define DO_TESTCASE_3RW(desc, name, nr) \ argument
1487 print_testname(desc"/"#nr); \
1488 dotest(name##_spin_##nr, FAILURE, LOCKTYPE_SPIN|LOCKTYPE_RWLOCK);\
1489 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1490 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1493 #define DO_TESTCASE_2RW(desc, name, nr) \ argument
1494 print_testname(desc"/"#nr); \
1496 dotest(name##_wlock_##nr, FAILURE, LOCKTYPE_RWLOCK); \
1497 dotest(name##_rlock_##nr, SUCCESS, LOCKTYPE_RWLOCK); \
1500 #define DO_TESTCASE_2x2RW(desc, name, nr) \ argument
1501 DO_TESTCASE_2RW("hard-"desc, name##_hard, nr) \
1502 DO_TESTCASE_2RW("soft-"desc, name##_soft, nr) \
1548 #define DO_TESTCASE_2I(desc, name, nr) \ argument
1549 DO_TESTCASE_1("hard-"desc, name##_hard, nr); \
1550 DO_TESTCASE_1("soft-"desc, name##_soft, nr);
1552 #define DO_TESTCASE_2IB(desc, name, nr) \ argument
1553 DO_TESTCASE_1B("hard-"desc, name##_hard, nr); \
1554 DO_TESTCASE_1B("soft-"desc, name##_soft, nr);
1556 #define DO_TESTCASE_6I(desc, name, nr) \ argument
1557 DO_TESTCASE_3("hard-"desc, name##_hard, nr); \
1558 DO_TESTCASE_3("soft-"desc, name##_soft, nr);
1560 #define DO_TESTCASE_6IRW(desc, name, nr) \ argument
1561 DO_TESTCASE_3RW("hard-"desc, name##_hard, nr); \
1562 DO_TESTCASE_3RW("soft-"desc, name##_soft, nr);