Lines Matching refs:iov

256 	struct kvec *iov;  in smb_rqst_len()  local
262 iov = &rqst->rq_iov[1]; in smb_rqst_len()
265 iov = rqst->rq_iov; in smb_rqst_len()
271 buflen += iov[i].iov_len; in smb_rqst_len()
301 struct kvec *iov; in __smb_send_rqst() local
362 iov = rqst[j].rq_iov; in __smb_send_rqst()
367 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst()
368 size += iov[i].iov_len; in __smb_send_rqst()
371 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst()
445 struct kvec iov; in smb_send_rqst() local
466 memset(&iov, 0, sizeof(iov)); in smb_send_rqst()
468 iov.iov_base = tr_hdr; in smb_send_rqst()
469 iov.iov_len = sizeof(*tr_hdr); in smb_send_rqst()
470 cur_rqst[0].rq_iov = &iov; in smb_send_rqst()
489 struct kvec iov[2]; in smb_send() local
490 struct smb_rqst rqst = { .rq_iov = iov, in smb_send()
493 iov[0].iov_base = smb_buffer; in smb_send()
494 iov[0].iov_len = 4; in smb_send()
495 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
496 iov[1].iov_len = smb_buf_length; in smb_send()
889 struct kvec iov[1]; in SendReceiveNoRsp() local
893 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
894 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp()
896 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags, &rsp_iov); in SendReceiveNoRsp()
957 struct kvec iov[2]; in cifs_check_receive() local
959 struct smb_rqst rqst = { .rq_iov = iov, in cifs_check_receive()
962 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
963 iov[0].iov_len = 4; in cifs_check_receive()
964 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
965 iov[1].iov_len = len - 4; in cifs_check_receive()
1259 struct kvec iov = { in compound_send_recv() local
1265 smb311_update_preauth_hash(ses, server, &iov, 1); in compound_send_recv()
1298 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1317 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1343 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceive() local
1344 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceive()
1486 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceiveBlockingLock() local
1487 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceiveBlockingLock()
1722 rdata->iov[0].iov_base = buf; in cifs_readv_receive()
1723 rdata->iov[0].iov_len = HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1724 rdata->iov[1].iov_base = buf + HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1725 rdata->iov[1].iov_len = in cifs_readv_receive()
1728 rdata->iov[0].iov_base, rdata->iov[0].iov_len); in cifs_readv_receive()
1730 rdata->iov[1].iov_base, rdata->iov[1].iov_len); in cifs_readv_receive()