Lines Matching refs:iov_count
320 int iov_count; member
376 int iov_count, int iov_length, in msg_alloc_iov() argument
383 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
387 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
391 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
406 msg->msg_iovlen = iov_count; in msg_alloc_iov()
442 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
451 err = msg_alloc_iov(&msg, iov_count, iov_length, data, tx); in msg_loop()
455 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
495 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
556 iov_length * iov_count; in msg_loop()
603 int iov_count = opt->iov_count; in sendmsg_test() local
636 iov_count = 1; in sendmsg_test()
637 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
642 iov_count, iov_buf, cnt, err); in sendmsg_test()
666 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
672 iov_count, iov_buf, cnt, err); in sendmsg_test()
1169 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1203 opt.iov_count = 0; in test_loop()
1211 opt.iov_count = i; in test_loop()
1268 opt->iov_count = 1; in test_send()
1275 opt->iov_count = 1024; in test_send()
1282 opt->iov_count = 1; in test_send()
1289 opt->iov_count = 1; in test_send()
1296 opt->iov_count = 1024; in test_send()
1303 opt->iov_count = 1; in test_send()
1461 opt.iov_count = 1; in test_start_end()
1732 int iov_count = 1, length = 1024, rate = 1; in main() local
1784 iov_count = atoi(optarg); in main()
1837 options.iov_count = iov_count; in main()