Lines Matching defs:iov_count
94 {"iov_count", required_argument, NULL, 'i' },
142 int iov_count;
473 int iov_count, int iov_length,
480 iov = calloc(iov_count, sizeof(struct iovec));
484 for (i = 0; i < iov_count; i++) {
488 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count);
503 msg->msg_iovlen = iov_count;
551 static int msg_loop(int fd, int iov_count, int iov_length, int cnt,
564 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx);
568 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx);
617 total_bytes = (float)iov_count * (float)iov_length * (float)cnt;
695 iov_length * iov_count;
742 int iov_count = opt->iov_count;
796 iov_count = 1;
797 err = msg_loop(rx_fd, iov_count, iov_buf,
801 "msg_loop_rx: iov_count %i iov_buf %i cnt %i err %i\n",
802 iov_count, iov_buf, cnt, err);
829 err = msg_loop(c1, iov_count, iov_buf,
834 "msg_loop_tx: iov_count %i iov_buf %i cnt %i err %i\n",
835 iov_count, iov_buf, cnt, err);
1396 test_cnt, opt->rate, opt->iov_count, opt->iov_length,
1430 opt->iov_count = 1;
1435 opt->iov_count = 1024;
1440 opt->iov_count = 1;
1449 opt->iov_count = 1;
1454 opt->iov_count = 1;
1462 opt->iov_count = 1024;
1477 /* Test small and large iov_count values with pass/redir/apply/cork */
1527 opt->iov_count = 1;
1756 opt->iov_count = 1;
1767 opt->iov_count = 1;
1983 int iov_count = 1, length = 1024, rate = 1;
2035 iov_count = atoi(optarg);
2103 options.iov_count = iov_count;