Lines Matching refs:iov_count
142 int iov_count; member
473 int iov_count, int iov_length, in msg_alloc_iov() argument
480 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
484 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
488 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
503 msg->msg_iovlen = iov_count; in msg_alloc_iov()
551 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
564 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop()
568 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
617 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
695 iov_length * iov_count; in msg_loop()
742 int iov_count = opt->iov_count; in sendmsg_test() local
796 iov_count = 1; in sendmsg_test()
797 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
802 iov_count, iov_buf, cnt, err); in sendmsg_test()
829 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
835 iov_count, iov_buf, cnt, err); in sendmsg_test()
1396 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1430 opt->iov_count = 1; in test_send_one()
1435 opt->iov_count = 1024; in test_send_one()
1440 opt->iov_count = 1; in test_send_one()
1449 opt->iov_count = 1; in test_send_many()
1454 opt->iov_count = 1; in test_send_many()
1462 opt->iov_count = 1024; in test_send_large()
1527 opt->iov_count = 1; in test_txmsg_skb()
1738 opt->iov_count = 1; in test_txmsg_ingress_parser()
1749 opt->iov_count = 1; in test_txmsg_ingress_parser2()
1959 int iov_count = 1, length = 1024, rate = 1; in main() local
2011 iov_count = atoi(optarg); in main()
2079 options.iov_count = iov_count; in main()