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
560 err = msg_alloc_iov(&msg, iov_count, iov_length, data, tx); in msg_loop()
564 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
609 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
671 iov_length * iov_count; in msg_loop()
718 int iov_count = opt->iov_count; in sendmsg_test() local
755 iov_count = 1; in sendmsg_test()
756 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
761 iov_count, iov_buf, cnt, err); in sendmsg_test()
785 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
791 iov_count, iov_buf, cnt, err); in sendmsg_test()
1342 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1376 opt->iov_count = 1; in test_send_one()
1381 opt->iov_count = 1024; in test_send_one()
1386 opt->iov_count = 1; in test_send_one()
1395 opt->iov_count = 1; in test_send_many()
1400 opt->iov_count = 1; in test_send_many()
1408 opt->iov_count = 1024; in test_send_large()
1465 opt->iov_count = 1; in test_txmsg_skb()
1674 opt->iov_count = 1; in test_txmsg_ingress_parser()
1880 int iov_count = 1, length = 1024, rate = 1; in main() local
1932 iov_count = atoi(optarg); in main()
1997 options.iov_count = iov_count; in main()