Lines Matching refs:iov_count
236 int iov_count; member
280 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
291 iov = calloc(iov_count, sizeof(struct iovec)); in msg_loop()
296 for (i = 0; i < iov_count; i++) { in msg_loop()
300 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_loop()
315 msg.msg_iovlen = iov_count; in msg_loop()
347 chunk_sz = iov_length * iov_count; in msg_loop()
350 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
419 for (i = 0; i < iov_count; i++) in msg_loop()
424 for (i = 0; i < iov_count; i++) in msg_loop()
447 int iov_count = opt->iov_count; in sendmsg_test() local
465 iov_count = 1; in sendmsg_test()
466 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
471 iov_count, iov_buf, cnt, err); in sendmsg_test()
496 err = msg_loop(c1, iov_count, iov_buf, in sendmsg_test()
502 iov_count, iov_buf, cnt, err); in sendmsg_test()
934 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
968 opt.iov_count = 0; in test_loop()
976 opt.iov_count = i; in test_loop()
1033 opt->iov_count = 1; in test_send()
1040 opt->iov_count = 1024; in test_send()
1047 opt->iov_count = 1; in test_send()
1054 opt->iov_count = 1; in test_send()
1061 opt->iov_count = 1024; in test_send()
1068 opt->iov_count = 1; in test_send()
1208 opt.iov_count = 1; in test_start_end()
1416 int iov_count = 1, length = 1024, rate = 1; in main() local
1456 iov_count = atoi(optarg); in main()
1506 options.iov_count = iov_count; in main()