Lines Matching refs:iov_count

149 	int iov_count;  member
482 int iov_count, int iov_length, in msg_alloc_iov() argument
489 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
493 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
497 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
512 msg->msg_iovlen = iov_count; in msg_alloc_iov()
629 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
642 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop()
646 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
701 total_bytes *= (float)iov_count; in msg_loop()
788 iov_length * iov_count; in msg_loop()
840 int iov_count = opt->iov_count; in sendmsg_test() local
892 iov_count = 1; in sendmsg_test()
893 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
898 iov_count, iov_buf, cnt, err); in sendmsg_test()
925 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
931 iov_count, iov_buf, cnt, err); in sendmsg_test()
1488 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1522 opt->iov_count = 1; in test_send_one()
1527 opt->iov_count = 1024; in test_send_one()
1532 opt->iov_count = 1; in test_send_one()
1541 opt->iov_count = 1; in test_send_many()
1546 opt->iov_count = 1; in test_send_many()
1554 opt->iov_count = 32; in test_send_large()
1623 opt->iov_count = 1; in test_txmsg_skb()
1914 opt->iov_count = 1; in test_txmsg_ingress_parser()
1925 opt->iov_count = 1; in test_txmsg_ingress_parser2()
2108 int iov_count = 1, length = 1024, rate = 1; in main() local
2160 iov_count = atoi(optarg); in main()
2228 options.iov_count = iov_count; in main()