Lines Matching refs:rsp_iov
1027 struct kvec rsp_iov; in SMB2_negotiate() local
1107 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_negotiate()
1109 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate()
1237 rsp_iov.iov_len); in SMB2_negotiate()
1521 struct kvec rsp_iov = { NULL, 0 }; in SMB2_sess_sendreceive() local
1537 CIFS_LOG_ERROR | CIFS_SESS_OP, &rsp_iov); in SMB2_sess_sendreceive()
1539 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in SMB2_sess_sendreceive()
1923 struct kvec rsp_iov; in SMB2_logoff() local
1964 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_logoff()
1998 struct kvec rsp_iov = { NULL, 0 }; in SMB2_tcon() local
2074 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_tcon()
2076 rsp = (struct smb2_tree_connect_rsp *)rsp_iov.iov_base; in SMB2_tcon()
2144 struct kvec rsp_iov; in SMB2_tdis() local
2182 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_tdis()
2288 struct kvec *rsp_iov, in smb2_parse_contexts() argument
2294 struct smb2_create_rsp *rsp = rsp_iov->iov_base; in smb2_parse_contexts()
2310 if (check_add_overflow(off, rem, &len) || len > rsp_iov->iov_len) in smb2_parse_contexts()
2771 struct kvec rsp_iov = {NULL, 0}; in smb311_posix_mkdir() local
2889 &rqst, &resp_buftype, flags, &rsp_iov); in smb311_posix_mkdir()
2903 rsp = (struct smb2_create_rsp *)rsp_iov.iov_base; in smb311_posix_mkdir()
3121 struct kvec rsp_iov = {NULL, 0}; in SMB2_open() local
3148 &rsp_iov); in SMB2_open()
3149 rsp = (struct smb2_create_rsp *)rsp_iov.iov_base; in SMB2_open()
3154 *err_iov = rsp_iov; in SMB2_open()
3194 rc = smb2_parse_contexts(server, &rsp_iov, &oparms->fid->epoch, in SMB2_open()
3319 struct kvec rsp_iov = {NULL, 0}; in SMB2_ioctl() local
3360 &rsp_iov); in SMB2_ioctl()
3361 rsp = (struct smb2_ioctl_rsp *)rsp_iov.iov_base; in SMB2_ioctl()
3402 else if (*plen > rsp_iov.iov_len || *plen > 0xFF00) { in SMB2_ioctl()
3409 if (rsp_iov.iov_len - *plen < le32_to_cpu(rsp->OutputOffset)) { in SMB2_ioctl()
3500 struct kvec rsp_iov; in __SMB2_close() local
3531 &rqst, &resp_buftype, flags, &rsp_iov); in __SMB2_close()
3532 rsp = (struct smb2_close_rsp *)rsp_iov.iov_base; in __SMB2_close()
3686 struct kvec rsp_iov; in query_info() local
3721 &rqst, &resp_buftype, flags, &rsp_iov); in query_info()
3722 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in query_info()
3752 &rsp_iov, dlen ? *dlen : min_len, *data); in query_info()
3866 struct kvec rsp_iov = {NULL, 0}; in SMB2_change_notify() local
3895 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_change_notify()
3905 if ((rsp_iov.iov_base == NULL) || in SMB2_change_notify()
3906 (rsp_iov.iov_len < sizeof(struct smb2_change_notify_rsp) + 1)) in SMB2_change_notify()
3909 smb_rsp = (struct smb2_change_notify_rsp *)rsp_iov.iov_base; in SMB2_change_notify()
3912 le32_to_cpu(smb_rsp->OutputBufferLength), &rsp_iov, in SMB2_change_notify()
3927 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_change_notify()
4169 struct kvec rsp_iov = {NULL, 0}; in SMB2_flush() local
4194 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_flush()
4206 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_flush()
4511 struct kvec rsp_iov; in SMB2_read() local
4535 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_read()
4536 rsp = (struct smb2_read_rsp *)rsp_iov.iov_base; in SMB2_read()
4550 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_read()
4572 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_read()
4574 *buf = rsp_iov.iov_base; in SMB2_read()
4840 struct kvec rsp_iov; in SMB2_write() local
4891 &resp_buftype, flags, &rsp_iov); in SMB2_write()
4892 rsp = (struct smb2_write_rsp *)rsp_iov.iov_base; in SMB2_write()
5145 struct kvec *rsp_iov, in smb2_parse_query_directory() argument
5154 rsp = (struct smb2_query_directory_rsp *)rsp_iov->iov_base; in smb2_parse_query_directory()
5177 le32_to_cpu(rsp->OutputBufferLength), rsp_iov, in smb2_parse_query_directory()
5195 end_of_smb = rsp_iov->iov_len + (char *)rsp; in smb2_parse_query_directory()
5227 struct kvec rsp_iov; in SMB2_query_directory() local
5252 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_query_directory()
5253 rsp = (struct smb2_query_directory_rsp *)rsp_iov.iov_base; in SMB2_query_directory()
5270 rc = smb2_parse_query_directory(tcon, &rsp_iov, resp_buftype, in SMB2_query_directory()
5347 struct kvec rsp_iov; in send_set_info() local
5383 &rsp_iov); in send_set_info()
5385 rsp = (struct smb2_set_info_rsp *)rsp_iov.iov_base; in send_set_info()
5451 struct kvec rsp_iov; in SMB2_oplock_break() local
5478 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_oplock_break()
5567 struct kvec rsp_iov; in SMB311_posix_qfs_info() local
5590 &rqst, &resp_buftype, flags, &rsp_iov); in SMB311_posix_qfs_info()
5596 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB311_posix_qfs_info()
5601 le32_to_cpu(rsp->OutputBufferLength), &rsp_iov, in SMB311_posix_qfs_info()
5607 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB311_posix_qfs_info()
5618 struct kvec rsp_iov; in SMB2_QFS_info() local
5641 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_QFS_info()
5647 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB2_QFS_info()
5652 le32_to_cpu(rsp->OutputBufferLength), &rsp_iov, in SMB2_QFS_info()
5658 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_QFS_info()
5669 struct kvec rsp_iov; in SMB2_QFS_attr() local
5708 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_QFS_attr()
5714 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB2_QFS_attr()
5718 rc = smb2_validate_iov(offset, rsp_len, &rsp_iov, min_len); in SMB2_QFS_attr()
5743 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_QFS_attr()
5756 struct kvec rsp_iov; in smb2_lockv() local
5794 &rsp_iov); in smb2_lockv()
5834 struct kvec rsp_iov; in SMB2_lease_break() local
5866 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_lease_break()