Lines Matching refs:tst_resm
93 tst_resm(TINFO | TERRNO, "error clearing counter"); in clear_counter()
121 tst_resm(TINFO | TERRNO, "error setting counter value"); in set_counter()
138 tst_resm(TBROK | TERRNO, "error reading eventfd"); in read_test()
143 tst_resm(TPASS, "counter value matches required"); in read_test()
145 tst_resm(TFAIL, "counter value mismatch: " in read_test()
159 tst_resm(TBROK, "error clearing counter"); in read_eagain_test()
166 tst_resm(TPASS, "read failed with EAGAIN as expected"); in read_eagain_test()
168 tst_resm(TFAIL | TERRNO, "read failed (wanted EAGAIN)"); in read_eagain_test()
170 tst_resm(TFAIL, "read returned with %d", ret); in read_eagain_test()
185 tst_resm(TBROK, "error setting counter value to %" PRIu64, val); in write_test()
203 tst_resm(TBROK, "error setting counter value to UINT64_MAX-1"); in write_eagain_test()
211 tst_resm(TPASS, "write failed with EAGAIN as expected"); in write_eagain_test()
213 tst_resm(TFAIL, "write failed (wanted EAGAIN)"); in write_eagain_test()
215 tst_resm(TFAIL, "write returned with %d", ret); in write_eagain_test()
230 tst_resm(TPASS, "read failed with EINVAL as expected"); in read_einval_test()
232 tst_resm(TFAIL | TERRNO, "read failed (wanted EINVAL)"); in read_einval_test()
234 tst_resm(TFAIL, "read returned with %d", ret); in read_einval_test()
249 tst_resm(TPASS, "write failed with EINVAL as expected"); in write_einval_test()
251 tst_resm(TFAIL | TERRNO, in write_einval_test()
254 tst_resm(TFAIL, "write returned with %d", ret); in write_einval_test()
268 tst_resm(TBROK, "error clearing counter"); in write_einval2_test()
276 tst_resm(TPASS, "write failed with EINVAL as expected"); in write_einval2_test()
278 tst_resm(TFAIL | TERRNO, in write_einval2_test()
281 tst_resm(TFAIL, "write returned with %d", ret); in write_einval2_test()
301 tst_resm(TBROK, "error setting counter value to %" PRIu64, in readfd_set_test()
309 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_set_test()
314 tst_resm(TPASS, "fd is set in readfds"); in readfd_set_test()
316 tst_resm(TFAIL, "fd is not set in readfds"); in readfd_set_test()
334 tst_resm(TBROK, "error clearing counter"); in readfd_not_set_test()
341 tst_resm(TBROK | TERRNO, "select() failed"); in readfd_not_set_test()
346 tst_resm(TPASS, "fd is not set in readfds"); in readfd_not_set_test()
348 tst_resm(TFAIL, "fd is set in readfds"); in readfd_not_set_test()
367 tst_resm(TBROK, "error setting counter value to %" PRIu64, in writefd_set_test()
375 tst_resm(TBROK | TERRNO, "select: error getting fd status"); in writefd_set_test()
380 tst_resm(TPASS, "fd is set in writefds"); in writefd_set_test()
382 tst_resm(TFAIL, "fd is not set in writefds"); in writefd_set_test()
400 tst_resm(TBROK, "error setting counter value to UINT64_MAX-1"); in writefd_not_set_test()
407 tst_resm(TBROK | TERRNO, "select: error getting fd status"); in writefd_not_set_test()
412 tst_resm(TPASS, "fd is not set in writefds"); in writefd_not_set_test()
414 tst_resm(TFAIL, "fd is set in writefds"); in writefd_not_set_test()
431 tst_resm(TBROK | TERRNO, "fork failed"); in child_inherit_test()
435 tst_resm(TBROK, "error getting child exit status"); in child_inherit_test()
440 tst_resm(TBROK, "counter value write not " in child_inherit_test()
447 tst_resm(TBROK | TERRNO, "error reading eventfd"); in child_inherit_test()
452 tst_resm(TPASS, "counter value write from " in child_inherit_test()
455 tst_resm(TFAIL, "counter value write in child " in child_inherit_test()
461 tst_resm(TWARN | TERRNO, "error clearing counter"); in child_inherit_test()
467 tst_resm(TWARN | TERRNO, "error writing eventfd"); in child_inherit_test()
513 tst_resm(TINFO | TERRNO, "io_setup error"); in trigger_eventfd_overflow()
519 tst_resm(TINFO | TERRNO, "open(testfile) failed"); in trigger_eventfd_overflow()
525 tst_resm(TINFO, "error setting counter to UINT64_MAX-1"); in trigger_eventfd_overflow()
536 tst_resm(TINFO | TERRNO, "error submitting iocb"); in trigger_eventfd_overflow()
543 tst_resm(TINFO | TERRNO, "error waiting for event"); in trigger_eventfd_overflow()
574 tst_resm(TBROK, "error triggering eventfd overflow"); in overflow_select_test()
582 tst_resm(TBROK | TERRNO, in overflow_select_test()
586 tst_resm(TPASS, "read fd set as expected"); in overflow_select_test()
588 tst_resm(TFAIL, "read fd not set"); in overflow_select_test()
602 tst_resm(TBROK, "error triggering eventfd overflow"); in overflow_poll_test()
611 tst_resm(TBROK | TERRNO, "error getting evfd status with poll"); in overflow_poll_test()
614 tst_resm(TPASS, "POLLERR occurred as expected"); in overflow_poll_test()
616 tst_resm(TFAIL, "POLLERR did not occur"); in overflow_poll_test()
630 tst_resm(TBROK, "error triggering eventfd overflow"); in overflow_read_test()
636 tst_resm(TBROK | TERRNO, "error reading eventfd"); in overflow_read_test()
640 tst_resm(TPASS, "overflow occurred as expected"); in overflow_read_test()
642 tst_resm(TFAIL, "overflow did not occur"); in overflow_read_test()
649 tst_resm(TCONF, "eventfd support is not available in AIO subsystem"); in overflow_select_test()
654 tst_resm(TCONF, "eventfd support is not available in AIO subsystem"); in overflow_poll_test()
659 tst_resm(TCONF, "eventfd support is not available in AIO subsystem"); in overflow_read_test()