Lines Matching refs:iov
41 struct kvec iov[1]; in v_send_ret_unlink() local
50 memset(&iov, 0, sizeof(iov)); in v_send_ret_unlink()
56 iov[0].iov_base = &pdu_header; in v_send_ret_unlink()
57 iov[0].iov_len = sizeof(pdu_header); in v_send_ret_unlink()
60 ret = kernel_sendmsg(udc->ud.tcp_socket, &msg, iov, in v_send_ret_unlink()
78 struct kvec *iov = NULL; in v_send_ret_submit() local
100 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in v_send_ret_submit()
101 if (!iov) { in v_send_ret_submit()
114 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit()
115 iov[iovnum].iov_len = sizeof(pdu_header); in v_send_ret_submit()
122 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit()
123 iov[iovnum].iov_len = urb->actual_length; in v_send_ret_submit()
132 iov[iovnum].iov_base = urb->transfer_buffer + in v_send_ret_submit()
134 iov[iovnum].iov_len = in v_send_ret_submit()
160 iov[iovnum].iov_base = iso_buffer; in v_send_ret_submit()
161 iov[iovnum].iov_len = len; in v_send_ret_submit()
167 iov, iovnum, txsize); in v_send_ret_submit()
176 kfree(iov); in v_send_ret_submit()