Lines Matching refs:iov_count

143 	int iov_count;  member
474 int iov_count, int iov_length, in msg_alloc_iov() argument
481 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
485 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
489 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
504 msg->msg_iovlen = iov_count; in msg_alloc_iov()
552 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
565 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop()
569 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
614 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
683 iov_length * iov_count; in msg_loop()
730 int iov_count = opt->iov_count; in sendmsg_test() local
768 iov_count = 1; in sendmsg_test()
769 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
774 iov_count, iov_buf, cnt, err); in sendmsg_test()
798 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
804 iov_count, iov_buf, cnt, err); in sendmsg_test()
1365 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1399 opt->iov_count = 1; in test_send_one()
1404 opt->iov_count = 1024; in test_send_one()
1409 opt->iov_count = 1; in test_send_one()
1418 opt->iov_count = 1; in test_send_many()
1423 opt->iov_count = 1; in test_send_many()
1431 opt->iov_count = 1024; in test_send_large()
1488 opt->iov_count = 1; in test_txmsg_skb()
1699 opt->iov_count = 1; in test_txmsg_ingress_parser()
1710 opt->iov_count = 1; in test_txmsg_ingress_parser2()
1919 int iov_count = 1, length = 1024, rate = 1; in main() local
1971 iov_count = atoi(optarg); in main()
2036 options.iov_count = iov_count; in main()