Lines Matching refs:iov
172 struct kvec iov[3]; in ksmbd_conn_write() local
181 iov[iov_idx] = (struct kvec) { work->tr_buf, in ksmbd_conn_write()
183 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
187 iov[iov_idx] = (struct kvec) { work->response_buf, work->resp_hdr_sz }; in ksmbd_conn_write()
188 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
189 iov[iov_idx] = (struct kvec) { work->aux_payload_buf, work->aux_payload_sz }; in ksmbd_conn_write()
190 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
193 iov[iov_idx].iov_len = work->resp_hdr_sz; in ksmbd_conn_write()
195 iov[iov_idx].iov_len = get_rfc1002_len(work->response_buf) + 4; in ksmbd_conn_write()
196 iov[iov_idx].iov_base = work->response_buf; in ksmbd_conn_write()
197 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
201 sent = conn->transport->ops->writev(conn->transport, &iov[0], in ksmbd_conn_write()