Lines Matching refs:iov_length
237 int iov_length; member
241 static int msg_loop_sendpage(int fd, int iov_length, int cnt, in msg_loop_sendpage() argument
251 for (i = 0; i < iov_length * cnt; i++, k++) in msg_loop_sendpage()
260 int sent = sendfile(fd, fp, NULL, iov_length); in msg_loop_sendpage()
280 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
297 unsigned char *d = calloc(iov_length, sizeof(char)); in msg_loop()
304 iov[i].iov_len = iov_length; in msg_loop()
309 for (j = 0; j < iov_length; j++) in msg_loop()
345 chunk_sz = iov_length * cnt; 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()
448 int iov_buf = opt->iov_length; in sendmsg_test()
934 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
969 opt.iov_length = 0; in test_loop()
977 opt.iov_length = l; in test_loop()
1032 opt->iov_length = 1; in test_send()
1039 opt->iov_length = 1; in test_send()
1046 opt->iov_length = 1024; in test_send()
1053 opt->iov_length = 1; in test_send()
1060 opt->iov_length = 256; in test_send()
1069 opt->iov_length = 5; in test_send()
1209 opt.iov_length = 100; in test_start_end()
1507 options.iov_length = length; in main()