Lines Matching defs:iov_count
101 {"iov_count", required_argument, NULL, 'i' },
149 int iov_count;
482 int iov_count, int iov_length,
489 iov = calloc(iov_count, sizeof(struct iovec));
493 for (i = 0; i < iov_count; i++) {
497 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count);
512 msg->msg_iovlen = iov_count;
629 static int msg_loop(int fd, int iov_count, int iov_length, int cnt,
642 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx);
646 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx);
701 total_bytes *= (float)iov_count;
788 iov_length * iov_count;
840 int iov_count = opt->iov_count;
892 iov_count = 1;
893 err = msg_loop(rx_fd, iov_count, iov_buf,
897 "msg_loop_rx: iov_count %i iov_buf %i cnt %i err %i\n",
898 iov_count, iov_buf, cnt, err);
925 err = msg_loop(c1, iov_count, iov_buf,
930 "msg_loop_tx: iov_count %i iov_buf %i cnt %i err %i\n",
931 iov_count, iov_buf, cnt, err);
1488 test_cnt, opt->rate, opt->iov_count, opt->iov_length,
1522 opt->iov_count = 1;
1527 opt->iov_count = 1024;
1532 opt->iov_count = 1;
1541 opt->iov_count = 1;
1546 opt->iov_count = 1;
1554 opt->iov_count = 32;
1569 /* Test small and large iov_count values with pass/redir/apply/cork */
1623 opt->iov_count = 1;
1914 opt->iov_count = 1;
1925 opt->iov_count = 1;
2108 int iov_count = 1, length = 1024, rate = 1;
2160 iov_count = atoi(optarg);
2228 options.iov_count = iov_count;