Searched refs:expected_ret (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/tools/testing/vsock/ |
D | util.c | 221 void send_byte(int fd, int expected_ret, int flags) in send_byte() argument 233 if (expected_ret < 0) { in send_byte() 239 if (errno != -expected_ret) { in send_byte() 251 if (expected_ret == 0) in send_byte() 270 void recv_byte(int fd, int expected_ret, int flags) in recv_byte() argument 282 if (expected_ret < 0) { in recv_byte() 288 if (errno != -expected_ret) { in recv_byte() 300 if (expected_ret == 0) in recv_byte()
|
D | util.h | 45 void send_byte(int fd, int expected_ret, int flags); 46 void recv_byte(int fd, int expected_ret, int flags);
|
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1132 int fd_prog, expected_ret, alignment_prevented_execution; in do_test_single() local 1171 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single() 1179 else if (expected_ret == VERBOSE_ACCEPT) in do_test_single() 1223 if (expected_ret == ACCEPT || expected_ret == VERBOSE_ACCEPT) { in do_test_single() 1234 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
|