• Home
  • Raw
  • Download

Lines Matching refs:rqst

1048 	struct smb_rqst rqst;  in SMB2_negotiate()  local
1127 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_negotiate()
1128 rqst.rq_iov = iov; in SMB2_negotiate()
1129 rqst.rq_nvec = 1; in SMB2_negotiate()
1132 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_negotiate()
1544 struct smb_rqst rqst; in SMB2_sess_sendreceive() local
1553 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_sess_sendreceive()
1554 rqst.rq_iov = sess_data->iov; in SMB2_sess_sendreceive()
1555 rqst.rq_nvec = 2; in SMB2_sess_sendreceive()
1560 &rqst, in SMB2_sess_sendreceive()
1946 struct smb_rqst rqst; in SMB2_logoff() local
1989 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_logoff()
1990 rqst.rq_iov = iov; in SMB2_logoff()
1991 rqst.rq_nvec = 1; in SMB2_logoff()
1994 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_logoff()
2024 struct smb_rqst rqst; in SMB2_tcon() local
2088 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_tcon()
2089 rqst.rq_iov = iov; in SMB2_tcon()
2090 rqst.rq_nvec = 2; in SMB2_tcon()
2101 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_tcon()
2164 struct smb_rqst rqst; in SMB2_tdis() local
2205 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_tdis()
2206 rqst.rq_iov = iov; in SMB2_tdis()
2207 rqst.rq_nvec = 1; in SMB2_tdis()
2210 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_tdis()
2810 struct smb_rqst rqst; in smb311_posix_mkdir() local
2931 memset(&rqst, 0, sizeof(struct smb_rqst)); in smb311_posix_mkdir()
2932 rqst.rq_iov = iov; in smb311_posix_mkdir()
2933 rqst.rq_nvec = n_iov; in smb311_posix_mkdir()
2940 smb2_set_replay(server, &rqst); in smb311_posix_mkdir()
2944 &rqst, &resp_buftype, flags, &rsp_iov); in smb311_posix_mkdir()
2989 struct smb_rqst *rqst, __u8 *oplock, in SMB2_open_init() argument
2998 struct kvec *iov = rqst->rq_iov; in SMB2_open_init()
3150 rqst->rq_nvec = n_iov; in SMB2_open_init()
3158 SMB2_open_free(struct smb_rqst *rqst) in SMB2_open_free() argument
3162 if (rqst && rqst->rq_iov) { in SMB2_open_free()
3163 cifs_small_buf_release(rqst->rq_iov[0].iov_base); in SMB2_open_free()
3164 for (i = 1; i < rqst->rq_nvec; i++) in SMB2_open_free()
3165 if (rqst->rq_iov[i].iov_base != smb2_padding) in SMB2_open_free()
3166 kfree(rqst->rq_iov[i].iov_base); in SMB2_open_free()
3176 struct smb_rqst rqst; in SMB2_open() local
3201 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_open()
3203 rqst.rq_iov = iov; in SMB2_open()
3204 rqst.rq_nvec = SMB2_CREATE_IOV_SIZE; in SMB2_open()
3207 &rqst, oplock, oparms, path); in SMB2_open()
3215 smb2_set_replay(server, &rqst); in SMB2_open()
3218 &rqst, &resp_buftype, flags, in SMB2_open()
3268 SMB2_open_free(&rqst); in SMB2_open()
3280 struct smb_rqst *rqst, in SMB2_ioctl_init() argument
3286 struct kvec *iov = rqst->rq_iov; in SMB2_ioctl_init()
3326 rqst->rq_nvec = 2; in SMB2_ioctl_init()
3331 rqst->rq_nvec = 1; in SMB2_ioctl_init()
3368 SMB2_ioctl_free(struct smb_rqst *rqst) in SMB2_ioctl_free() argument
3372 if (rqst && rqst->rq_iov) { in SMB2_ioctl_free()
3373 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_ioctl_free()
3374 for (i = 1; i < rqst->rq_nvec; i++) in SMB2_ioctl_free()
3375 if (rqst->rq_iov[i].iov_base != smb2_padding) in SMB2_ioctl_free()
3376 kfree(rqst->rq_iov[i].iov_base); in SMB2_ioctl_free()
3390 struct smb_rqst rqst; in SMB2_ioctl() local
3428 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_ioctl()
3430 rqst.rq_iov = iov; in SMB2_ioctl()
3431 rqst.rq_nvec = SMB2_IOCTL_IOV_SIZE; in SMB2_ioctl()
3434 &rqst, persistent_fid, volatile_fid, opcode, in SMB2_ioctl()
3440 smb2_set_replay(server, &rqst); in SMB2_ioctl()
3443 &rqst, &resp_buftype, flags, in SMB2_ioctl()
3509 SMB2_ioctl_free(&rqst); in SMB2_ioctl()
3547 struct smb_rqst *rqst, in SMB2_close_init() argument
3551 struct kvec *iov = rqst->rq_iov; in SMB2_close_init()
3573 SMB2_close_free(struct smb_rqst *rqst) in SMB2_close_free() argument
3575 if (rqst && rqst->rq_iov) in SMB2_close_free()
3576 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_close_free()
3584 struct smb_rqst rqst; in __SMB2_close() local
3610 memset(&rqst, 0, sizeof(struct smb_rqst)); in __SMB2_close()
3612 rqst.rq_iov = iov; in __SMB2_close()
3613 rqst.rq_nvec = 1; in __SMB2_close()
3621 &rqst, persistent_fid, volatile_fid, in __SMB2_close()
3627 smb2_set_replay(server, &rqst); in __SMB2_close()
3630 &rqst, &resp_buftype, flags, &rsp_iov); in __SMB2_close()
3649 SMB2_close_free(&rqst); in __SMB2_close()
3734 struct smb_rqst *rqst, in SMB2_query_info_init() argument
3740 struct kvec *iov = rqst->rq_iov; in SMB2_query_info_init()
3775 SMB2_query_info_free(struct smb_rqst *rqst) in SMB2_query_info_free() argument
3777 if (rqst && rqst->rq_iov) in SMB2_query_info_free()
3778 cifs_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_query_info_free()
3787 struct smb_rqst rqst; in query_info() local
3816 memset(&rqst, 0, sizeof(struct smb_rqst)); in query_info()
3818 rqst.rq_iov = iov; in query_info()
3819 rqst.rq_nvec = 1; in query_info()
3822 &rqst, persistent_fid, volatile_fid, in query_info()
3832 smb2_set_replay(server, &rqst); in query_info()
3835 &rqst, &resp_buftype, flags, &rsp_iov); in query_info()
3874 SMB2_query_info_free(&rqst); in query_info()
3942 SMB2_notify_init(const unsigned int xid, struct smb_rqst *rqst, in SMB2_notify_init() argument
3948 struct kvec *iov = rqst->rq_iov; in SMB2_notify_init()
3982 struct smb_rqst rqst; in SMB2_change_notify() local
4003 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_change_notify()
4008 rqst.rq_iov = iov; in SMB2_change_notify()
4009 rqst.rq_nvec = 1; in SMB2_change_notify()
4011 rc = SMB2_notify_init(xid, &rqst, tcon, server, in SMB2_change_notify()
4021 smb2_set_replay(server, &rqst); in SMB2_change_notify()
4024 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_change_notify()
4054 if (rqst.rq_iov) in SMB2_change_notify()
4055 cifs_small_buf_release(rqst.rq_iov[0].iov_base); /* request */ in SMB2_change_notify()
4232 struct smb_rqst rqst = { .rq_iov = iov, in SMB2_echo() local
4258 rc = cifs_call_async(server, &rqst, NULL, smb2_echo_callback, NULL, in SMB2_echo()
4268 SMB2_flush_free(struct smb_rqst *rqst) in SMB2_flush_free() argument
4270 if (rqst && rqst->rq_iov) in SMB2_flush_free()
4271 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_flush_free()
4275 SMB2_flush_init(const unsigned int xid, struct smb_rqst *rqst, in SMB2_flush_init() argument
4280 struct kvec *iov = rqst->rq_iov; in SMB2_flush_init()
4303 struct smb_rqst rqst; in SMB2_flush() local
4324 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_flush()
4326 rqst.rq_iov = iov; in SMB2_flush()
4327 rqst.rq_nvec = 1; in SMB2_flush()
4329 rc = SMB2_flush_init(xid, &rqst, tcon, server, in SMB2_flush()
4337 smb2_set_replay(server, &rqst); in SMB2_flush()
4340 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_flush()
4351 SMB2_flush_free(&rqst); in SMB2_flush()
4495 struct smb_rqst rqst = { .rq_iov = &rdata->iov[1], .rq_nvec = 1 }; in smb2_readv_callback() local
4498 rqst.rq_iter = rdata->iter; in smb2_readv_callback()
4499 rqst.rq_iter_size = iov_iter_count(&rdata->iter); in smb2_readv_callback()
4518 iov_iter_revert(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()
4519 iov_iter_truncate(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()
4520 rc = smb2_verify_signature(&rqst, server); in smb2_readv_callback()
4582 struct smb_rqst rqst = { .rq_iov = rdata->iov, in smb2_async_readv() local
4635 rc = cifs_call_async(server, &rqst, in smb2_async_readv()
4657 struct smb_rqst rqst; in SMB2_read() local
4681 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_read()
4682 rqst.rq_iov = iov; in SMB2_read()
4683 rqst.rq_nvec = 1; in SMB2_read()
4686 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_read()
4831 struct smb_rqst rqst = { }; in smb2_async_writev() local
4918 rqst.rq_iov = iov; in smb2_async_writev()
4919 rqst.rq_nvec = 1; in smb2_async_writev()
4920 rqst.rq_iter = wdata->iter; in smb2_async_writev()
4921 rqst.rq_iter_size = iov_iter_count(&rqst.rq_iter); in smb2_async_writev()
4923 smb2_set_replay(server, &rqst); in smb2_async_writev()
4929 io_parms->offset, io_parms->length, iov_iter_count(&rqst.rq_iter)); in smb2_async_writev()
4958 rc = cifs_call_async(server, &rqst, NULL, smb2_writev_callback, NULL, in smb2_async_writev()
4988 struct smb_rqst rqst; in SMB2_write() local
5041 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_write()
5042 rqst.rq_iov = iov; in SMB2_write()
5043 rqst.rq_nvec = n_vec + 1; in SMB2_write()
5046 smb2_set_replay(server, &rqst); in SMB2_write()
5049 &rqst, in SMB2_write()
5230 struct smb_rqst *rqst, in SMB2_query_directory_init() argument
5241 struct kvec *iov = rqst->rq_iov; in SMB2_query_directory_init()
5300 void SMB2_query_directory_free(struct smb_rqst *rqst) in SMB2_query_directory_free() argument
5302 if (rqst && rqst->rq_iov) { in SMB2_query_directory_free()
5303 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_query_directory_free()
5387 struct smb_rqst rqst; in SMB2_query_directory() local
5409 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_query_directory()
5411 rqst.rq_iov = iov; in SMB2_query_directory()
5412 rqst.rq_nvec = SMB2_QUERY_DIRECTORY_IOV_SIZE; in SMB2_query_directory()
5415 &rqst, persistent_fid, in SMB2_query_directory()
5422 smb2_set_replay(server, &rqst); in SMB2_query_directory()
5425 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_query_directory()
5456 SMB2_query_directory_free(&rqst); in SMB2_query_directory()
5468 struct smb_rqst *rqst, in SMB2_set_info_init() argument
5474 struct kvec *iov = rqst->rq_iov; in SMB2_set_info_init()
5500 for (i = 1; i < rqst->rq_nvec; i++) { in SMB2_set_info_init()
5510 SMB2_set_info_free(struct smb_rqst *rqst) in SMB2_set_info_free() argument
5512 if (rqst && rqst->rq_iov) in SMB2_set_info_free()
5513 cifs_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_set_info_free()
5522 struct smb_rqst rqst; in send_set_info() local
5551 memset(&rqst, 0, sizeof(struct smb_rqst)); in send_set_info()
5552 rqst.rq_iov = iov; in send_set_info()
5553 rqst.rq_nvec = num; in send_set_info()
5556 &rqst, persistent_fid, volatile_fid, pid, in send_set_info()
5565 smb2_set_replay(server, &rqst); in send_set_info()
5568 &rqst, &resp_buftype, flags, in send_set_info()
5570 SMB2_set_info_free(&rqst); in send_set_info()
5634 struct smb_rqst rqst; in SMB2_oplock_break() local
5670 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_oplock_break()
5671 rqst.rq_iov = iov; in SMB2_oplock_break()
5672 rqst.rq_nvec = 1; in SMB2_oplock_break()
5675 smb2_set_replay(server, &rqst); in SMB2_oplock_break()
5678 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_oplock_break()
5767 struct smb_rqst rqst; in SMB311_posix_qfs_info() local
5794 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB311_posix_qfs_info()
5795 rqst.rq_iov = &iov; in SMB311_posix_qfs_info()
5796 rqst.rq_nvec = 1; in SMB311_posix_qfs_info()
5799 smb2_set_replay(server, &rqst); in SMB311_posix_qfs_info()
5802 &rqst, &resp_buftype, flags, &rsp_iov); in SMB311_posix_qfs_info()
5832 struct smb_rqst rqst; in SMB2_QFS_info() local
5859 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_QFS_info()
5860 rqst.rq_iov = &iov; in SMB2_QFS_info()
5861 rqst.rq_nvec = 1; in SMB2_QFS_info()
5864 smb2_set_replay(server, &rqst); in SMB2_QFS_info()
5867 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_QFS_info()
5897 struct smb_rqst rqst; in SMB2_QFS_attr() local
5940 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_QFS_attr()
5941 rqst.rq_iov = &iov; in SMB2_QFS_attr()
5942 rqst.rq_nvec = 1; in SMB2_QFS_attr()
5945 smb2_set_replay(server, &rqst); in SMB2_QFS_attr()
5948 &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_QFS_attr()
5997 struct smb_rqst rqst; in smb2_lockv() local
6039 memset(&rqst, 0, sizeof(struct smb_rqst)); in smb2_lockv()
6040 rqst.rq_iov = iov; in smb2_lockv()
6041 rqst.rq_nvec = 2; in smb2_lockv()
6044 smb2_set_replay(server, &rqst); in smb2_lockv()
6047 &rqst, &resp_buf_type, flags, in smb2_lockv()
6085 struct smb_rqst rqst; in SMB2_lease_break() local
6119 memset(&rqst, 0, sizeof(struct smb_rqst)); in SMB2_lease_break()
6120 rqst.rq_iov = iov; in SMB2_lease_break()
6121 rqst.rq_nvec = 1; in SMB2_lease_break()
6124 &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_lease_break()