Lines Matching refs:iov_count
148 int iov_count; member
481 int iov_count, int iov_length, in msg_alloc_iov() argument
488 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
492 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
496 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
511 msg->msg_iovlen = iov_count; in msg_alloc_iov()
628 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
641 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop()
645 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
700 total_bytes *= (float)iov_count; in msg_loop()
787 iov_length * iov_count; in msg_loop()
839 int iov_count = opt->iov_count; in sendmsg_test() local
891 iov_count = 1; in sendmsg_test()
892 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
897 iov_count, iov_buf, cnt, err); in sendmsg_test()
924 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
930 iov_count, iov_buf, cnt, err); in sendmsg_test()
1491 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1525 opt->iov_count = 1; in test_send_one()
1530 opt->iov_count = 1024; in test_send_one()
1535 opt->iov_count = 1; in test_send_one()
1544 opt->iov_count = 1; in test_send_many()
1549 opt->iov_count = 1; in test_send_many()
1557 opt->iov_count = 32; in test_send_large()
1622 opt->iov_count = 1; in test_txmsg_skb()
1876 opt->iov_count = 1; in test_txmsg_ingress_parser()
1887 opt->iov_count = 1; in test_txmsg_ingress_parser2()
2093 int iov_count = 1, length = 1024, rate = 1; in main() local
2145 iov_count = atoi(optarg); in main()
2213 options.iov_count = iov_count; in main()