Lines Matching refs:iov
59 struct kvec *iov; in vhci_send_cmd_submit() local
75 memset(&iov, 0, sizeof(iov)); in vhci_send_cmd_submit()
85 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in vhci_send_cmd_submit()
86 if (!iov) { in vhci_send_cmd_submit()
99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit()
100 iov[iovnum].iov_len = sizeof(pdu_header); in vhci_send_cmd_submit()
109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()
110 iov[iovnum].iov_len = sg->length; in vhci_send_cmd_submit()
114 iov[iovnum].iov_base = urb->transfer_buffer; in vhci_send_cmd_submit()
115 iov[iovnum].iov_len = in vhci_send_cmd_submit()
133 iov[iovnum].iov_base = iso_buffer; in vhci_send_cmd_submit()
134 iov[iovnum].iov_len = len; in vhci_send_cmd_submit()
139 ret = kernel_sendmsg(vdev->ud.tcp_socket, &msg, iov, iovnum, in vhci_send_cmd_submit()
149 kfree(iov); in vhci_send_cmd_submit()
164 kfree(iov); in vhci_send_cmd_submit()
192 struct kvec iov; in vhci_send_cmd_unlink() local
202 memset(&iov, 0, sizeof(iov)); in vhci_send_cmd_unlink()
215 iov.iov_base = &pdu_header; in vhci_send_cmd_unlink()
216 iov.iov_len = sizeof(pdu_header); in vhci_send_cmd_unlink()
219 ret = kernel_sendmsg(vdev->ud.tcp_socket, &msg, &iov, 1, txsize); in vhci_send_cmd_unlink()