Lines Matching refs:iov_length
144 int iov_length; member
415 static int msg_loop_sendpage(int fd, int iov_length, int cnt, in msg_loop_sendpage() argument
429 for (i = 0; i < iov_length * cnt; i++, k++) in msg_loop_sendpage()
441 sent = sendfile(fd, fp, NULL, iov_length); in msg_loop_sendpage()
474 int iov_count, int iov_length, in msg_alloc_iov() argument
486 unsigned char *d = calloc(iov_length, sizeof(char)); in msg_alloc_iov()
493 iov[i].iov_len = iov_length; in msg_alloc_iov()
498 for (j = 0; j < iov_length; j++) in msg_alloc_iov()
552 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
560 int iov_alloc_length = iov_length; in msg_loop()
569 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
614 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
682 iov_length * cnt : in msg_loop()
683 iov_length * iov_count; in msg_loop()
731 int iov_buf = opt->iov_length; in sendmsg_test()
1365 test_cnt, opt->rate, opt->iov_count, opt->iov_length, in __test_exec()
1398 opt->iov_length = 1; in test_send_one()
1403 opt->iov_length = 1; in test_send_one()
1408 opt->iov_length = 1024; in test_send_one()
1417 opt->iov_length = 3; in test_send_many()
1424 opt->iov_length = 5; in test_send_many()
1430 opt->iov_length = 256; in test_send_large()
1487 opt->iov_length = 100; in test_txmsg_skb()
1698 opt->iov_length = 256; in test_txmsg_ingress_parser()
1709 opt->iov_length = 20; in test_txmsg_ingress_parser2()
2037 options.iov_length = length; in main()