Lines Matching refs:TST_RET
55 return TST_RET; in inject_msg()
84 if (TST_RET < 0) { in find_msg()
93 } else if (TST_RET < bufsize) { in find_msg()
95 msg[TST_RET] = '\0'; in find_msg()
194 if (TST_RET == 0) in timed_read_kmsg()
196 if (TST_RET == -1 && TST_ERR != EPIPE) { in timed_read_kmsg()
210 } while (TST_RET > 0); in timed_read_kmsg()
214 if (TST_RET == -2) in timed_read_kmsg()
236 if (TST_RET == -1 && TST_ERR == EAGAIN) in test_read_nonblock()
240 TST_RET); in test_read_nonblock()
252 if (TST_RET == -2) in test_read_block()
255 tst_res(TFAIL|TTERRNO, "read returned: %ld", TST_RET); in test_read_block()
268 if (TST_RET < 0) in test_partial_read()
271 tst_res(TFAIL, "read returned: %ld", TST_RET); in test_partial_read()
353 if (TST_RET != -1) in test_read_returns_first_message()
422 if (TST_RET == -1 && TST_ERR == EPIPE) in test_messages_overwritten()
425 tst_res(TFAIL|TTERRNO, "read returned: %ld", TST_RET); in test_messages_overwritten()
431 tst_res(TFAIL|TTERRNO, "read returned: %ld", TST_RET); in test_messages_overwritten()
443 if (TST_RET == -1 && TST_ERR != EPIPE) in read_msg_seqno()