Lines Matching refs:iov
164 struct kvec *iov = NULL; in stub_send_ret_submit() local
193 iov = kcalloc(iovnum, sizeof(struct kvec), GFP_KERNEL); in stub_send_ret_submit()
195 if (!iov) { in stub_send_ret_submit()
217 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit()
218 iov[iovnum].iov_len = sizeof(pdu_header); in stub_send_ret_submit()
230 iov[iovnum].iov_base = in stub_send_ret_submit()
232 iov[iovnum].iov_len = in stub_send_ret_submit()
253 iov[iovnum].iov_base = sg_virt(sg); in stub_send_ret_submit()
254 iov[iovnum].iov_len = size; in stub_send_ret_submit()
260 iov[iovnum].iov_base = urb->transfer_buffer; in stub_send_ret_submit()
261 iov[iovnum].iov_len = urb->actual_length; in stub_send_ret_submit()
278 iov[iovnum].iov_base = urb->transfer_buffer + in stub_send_ret_submit()
280 iov[iovnum].iov_len = in stub_send_ret_submit()
291 kfree(iov); in stub_send_ret_submit()
306 kfree(iov); in stub_send_ret_submit()
310 iov[iovnum].iov_base = iso_buffer; in stub_send_ret_submit()
311 iov[iovnum].iov_len = len; in stub_send_ret_submit()
317 iov, iovnum, txsize); in stub_send_ret_submit()
322 kfree(iov); in stub_send_ret_submit()
328 kfree(iov); in stub_send_ret_submit()
367 struct kvec iov[1]; in stub_send_ret_unlink() local
379 memset(&iov, 0, sizeof(iov)); in stub_send_ret_unlink()
387 iov[0].iov_base = &pdu_header; in stub_send_ret_unlink()
388 iov[0].iov_len = sizeof(pdu_header); in stub_send_ret_unlink()
391 ret = kernel_sendmsg(sdev->ud.tcp_socket, &msg, iov, in stub_send_ret_unlink()