Home
last modified time | relevance | path

Searched refs:expected_ret (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/vsock/
Dutil.c199 void send_byte(int fd, int expected_ret, int flags) in send_byte() argument
211 if (expected_ret < 0) { in send_byte()
217 if (errno != -expected_ret) { in send_byte()
229 if (expected_ret == 0) in send_byte()
248 void recv_byte(int fd, int expected_ret, int flags) in recv_byte() argument
260 if (expected_ret < 0) { in recv_byte()
266 if (errno != -expected_ret) { in recv_byte()
278 if (expected_ret == 0) in recv_byte()
Dutil.h42 void send_byte(int fd, int expected_ret, int flags);
43 void recv_byte(int fd, int expected_ret, int flags);
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c942 int fd_prog, expected_ret, alignment_prevented_execution; in do_test_single() local
980 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()
992 else if (expected_ret == VERBOSE_ACCEPT) in do_test_single()
1023 if (expected_ret == ACCEPT || expected_ret == VERBOSE_ACCEPT) { in do_test_single()
1034 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()