Lines Matching refs:opts
144 static void test_client(const struct test_opts *opts, in test_client() argument
155 fd = vsock_seqpacket_connect(opts->peer_cid, opts->peer_port); in test_client()
157 fd = vsock_stream_connect(opts->peer_cid, opts->peer_port); in test_client()
219 void test_stream_msgzcopy_client(const struct test_opts *opts) in test_stream_msgzcopy_client() argument
224 test_client(opts, &test_data_array[i], false); in test_stream_msgzcopy_client()
227 void test_seqpacket_msgzcopy_client(const struct test_opts *opts) in test_seqpacket_msgzcopy_client() argument
235 test_client(opts, &test_data_array[i], true); in test_seqpacket_msgzcopy_client()
239 static void test_server(const struct test_opts *opts, in test_server() argument
251 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_server()
253 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_server()
299 void test_stream_msgzcopy_server(const struct test_opts *opts) in test_stream_msgzcopy_server() argument
304 test_server(opts, &test_data_array[i], false); in test_stream_msgzcopy_server()
307 void test_seqpacket_msgzcopy_server(const struct test_opts *opts) in test_seqpacket_msgzcopy_server() argument
315 test_server(opts, &test_data_array[i], true); in test_seqpacket_msgzcopy_server()
319 void test_stream_msgzcopy_empty_errq_client(const struct test_opts *opts) in test_stream_msgzcopy_empty_errq_client() argument
326 fd = vsock_stream_connect(opts->peer_cid, opts->peer_port); in test_stream_msgzcopy_empty_errq_client()
346 void test_stream_msgzcopy_empty_errq_server(const struct test_opts *opts) in test_stream_msgzcopy_empty_errq_server() argument
350 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_stream_msgzcopy_empty_errq_server()