Lines Matching refs:iov_length
143 int iov_length; member
414 static int msg_loop_sendpage(int fd, int iov_length, int cnt, in msg_loop_sendpage() argument
428 for (i = 0; i < iov_length * cnt; i++, k++) in msg_loop_sendpage()
440 sent = sendfile(fd, fp, NULL, iov_length); in msg_loop_sendpage()
473 int iov_count, int iov_length, in msg_alloc_iov() argument
485 unsigned char *d = calloc(iov_length, sizeof(char)); in msg_alloc_iov()
492 iov[i].iov_len = iov_length; in msg_alloc_iov()
497 for (j = 0; j < iov_length; j++) in msg_alloc_iov()
551 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
559 int iov_alloc_length = iov_length; in msg_loop()
568 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
617 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
694 iov_length * cnt : in msg_loop()
695 iov_length * iov_count; in msg_loop()
743 int iov_buf = opt->iov_length; in sendmsg_test()
1396 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1429 opt->iov_length = 1; in test_send_one()
1434 opt->iov_length = 1; in test_send_one()
1439 opt->iov_length = 1024; in test_send_one()
1448 opt->iov_length = 3; in test_send_many()
1455 opt->iov_length = 5; in test_send_many()
1461 opt->iov_length = 256; in test_send_large()
1526 opt->iov_length = 100; in test_txmsg_skb()
1737 opt->iov_length = 256; in test_txmsg_ingress_parser()
1748 opt->iov_length = 20; in test_txmsg_ingress_parser2()
2080 options.iov_length = length; in main()