Lines Matching refs:iov

250 	struct kvec *iov;  in smb_rqst_len()  local
256 iov = &rqst->rq_iov[1]; in smb_rqst_len()
259 iov = rqst->rq_iov; in smb_rqst_len()
265 buflen += iov[i].iov_len; in smb_rqst_len()
276 struct kvec *iov; in __smb_send_rqst() local
341 iov = rqst[j].rq_iov; in __smb_send_rqst()
346 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst()
347 size += iov[i].iov_len; in __smb_send_rqst()
350 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, iov, n_vec, size); in __smb_send_rqst()
423 struct kvec iov; member
432 struct kvec *iov; in smb_send_rqst() local
450 iov = &vars->iov; in smb_send_rqst()
452 iov->iov_base = &vars->tr_hdr; in smb_send_rqst()
453 iov->iov_len = sizeof(vars->tr_hdr); in smb_send_rqst()
454 cur_rqst[0].rq_iov = iov; in smb_send_rqst()
473 struct kvec iov[2]; in smb_send() local
474 struct smb_rqst rqst = { .rq_iov = iov, in smb_send()
477 iov[0].iov_base = smb_buffer; in smb_send()
478 iov[0].iov_len = 4; in smb_send()
479 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
480 iov[1].iov_len = smb_buf_length; in smb_send()
872 struct kvec iov[1]; in SendReceiveNoRsp() local
876 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
877 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp()
879 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags, &rsp_iov); in SendReceiveNoRsp()
940 struct kvec iov[2]; in cifs_check_receive() local
942 struct smb_rqst rqst = { .rq_iov = iov, in cifs_check_receive()
945 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
946 iov[0].iov_len = 4; in cifs_check_receive()
947 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
948 iov[1].iov_len = len - 4; in cifs_check_receive()
1272 struct kvec iov = { in compound_send_recv() local
1278 smb311_update_preauth_hash(ses, server, &iov, 1); in compound_send_recv()
1311 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1330 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1356 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceive() local
1357 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceive()
1498 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceiveBlockingLock() local
1499 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceiveBlockingLock()
1735 rdata->iov[0].iov_base = buf; in cifs_readv_receive()
1736 rdata->iov[0].iov_len = HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1737 rdata->iov[1].iov_base = buf + HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1738 rdata->iov[1].iov_len = in cifs_readv_receive()
1741 rdata->iov[0].iov_base, rdata->iov[0].iov_len); in cifs_readv_receive()
1743 rdata->iov[1].iov_base, rdata->iov[1].iov_len); in cifs_readv_receive()