Lines Matching refs:iov
251 struct kvec *iov; in smb_rqst_len() local
257 iov = &rqst->rq_iov[1]; in smb_rqst_len()
260 iov = rqst->rq_iov; in smb_rqst_len()
266 buflen += iov[i].iov_len; in smb_rqst_len()
277 struct kvec *iov; in __smb_send_rqst() local
342 iov = rqst[j].rq_iov; in __smb_send_rqst()
347 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst()
348 size += iov[i].iov_len; in __smb_send_rqst()
351 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, iov, n_vec, size); in __smb_send_rqst()
424 struct kvec iov; member
433 struct kvec *iov; in smb_send_rqst() local
454 iov = &vars->iov; in smb_send_rqst()
456 iov->iov_base = &vars->tr_hdr; in smb_send_rqst()
457 iov->iov_len = sizeof(vars->tr_hdr); in smb_send_rqst()
458 cur_rqst[0].rq_iov = iov; in smb_send_rqst()
477 struct kvec iov[2]; in smb_send() local
478 struct smb_rqst rqst = { .rq_iov = iov, in smb_send()
481 iov[0].iov_base = smb_buffer; in smb_send()
482 iov[0].iov_len = 4; in smb_send()
483 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
484 iov[1].iov_len = smb_buf_length; in smb_send()
876 struct kvec iov[1]; in SendReceiveNoRsp() local
880 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
881 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp()
883 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags, &rsp_iov); in SendReceiveNoRsp()
947 struct kvec iov[2]; in cifs_check_receive() local
949 struct smb_rqst rqst = { .rq_iov = iov, in cifs_check_receive()
952 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
953 iov[0].iov_len = 4; in cifs_check_receive()
954 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
955 iov[1].iov_len = len - 4; in cifs_check_receive()
1281 struct kvec iov = { in compound_send_recv() local
1287 smb311_update_preauth_hash(ses, server, &iov, 1); in compound_send_recv()
1320 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1339 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1365 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceive() local
1366 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceive()
1507 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceiveBlockingLock() local
1508 struct smb_rqst rqst = { .rq_iov = &iov, .rq_nvec = 1 }; in SendReceiveBlockingLock()
1744 rdata->iov[0].iov_base = buf; in cifs_readv_receive()
1745 rdata->iov[0].iov_len = HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1746 rdata->iov[1].iov_base = buf + HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
1747 rdata->iov[1].iov_len = in cifs_readv_receive()
1750 rdata->iov[0].iov_base, rdata->iov[0].iov_len); in cifs_readv_receive()
1752 rdata->iov[1].iov_base, rdata->iov[1].iov_len); in cifs_readv_receive()