Home
last modified time | relevance | path

Searched refs:wqt (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/test/util-tests/tests/workq/
H A Dwqt.c135 wq_test_run(workq_t *wqp, wq_test_t *wqt) in wq_test_run() argument
138 void **itemp = wqt->wq_args; in wq_test_run()
143 "%s\n", wqt->wq_desc, strerror(errno)); in wq_test_run()
150 ret = workq_work(wqp, wqt->wq_proc, NULL, &err); in wq_test_run()
151 if (ret != wqt->wq_rval) { in wq_test_run()
153 "Expected %d, got %d (%d)\n", wqt->wq_desc, wqt->wq_rval, in wq_test_run()
158 if (ret == WORKQ_UERROR && err != wqt->wq_uerr) { in wq_test_run()
160 "Expected %d, got %d\n", wqt->wq_desc, wqt->wq_uerr, err); in wq_test_run()
164 if (ret == 0 && wqt_count != wqt->wq_sum) { in wq_test_run()
166 "result: %d, expected %d\n", wqt->wq_desc, wqt_count, in wq_test_run()
[all …]
H A DMakefile21 PROG = wqt
22 OBJS = wqt.o workq.o