Lines Matching refs:iov_base

992 	iov[num].iov_base = create_posix_buf(mode);  in add_posix_context()
995 if (iov[num].iov_base == NULL) in add_posix_context()
1099 iov[0].iov_base = (char *)req; in SMB2_negotiate()
1109 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate()
1490 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1508 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in SMB2_sess_free_buffer()
1509 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in SMB2_sess_free_buffer()
1511 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in SMB2_sess_free_buffer()
1520 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive()
1538 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive()
1626 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in SMB2_auth_kerberos()
1633 rsp = (struct smb2_sess_setup_rsp *)sess_data->iov[0].iov_base; in SMB2_auth_kerberos()
1706 sess_data->iov[1].iov_base = ntlmssp_blob; in SMB2_sess_auth_rawntlmssp_negotiate()
1710 rsp = (struct smb2_sess_setup_rsp *)sess_data->iov[0].iov_base; in SMB2_sess_auth_rawntlmssp_negotiate()
1776 req = (struct smb2_sess_setup_req *) sess_data->iov[0].iov_base; in SMB2_sess_auth_rawntlmssp_authenticate()
1793 sess_data->iov[1].iov_base = ntlmssp_blob; in SMB2_sess_auth_rawntlmssp_authenticate()
1800 rsp = (struct smb2_sess_setup_rsp *)sess_data->iov[0].iov_base; in SMB2_sess_auth_rawntlmssp_authenticate()
1956 iov[0].iov_base = (char *)req; in SMB2_logoff()
2039 iov[0].iov_base = (char *)req; in SMB2_tcon()
2046 iov[1].iov_base = unc_path; in SMB2_tcon()
2076 rsp = (struct smb2_tree_connect_rsp *)rsp_iov.iov_base; in SMB2_tcon()
2174 iov[0].iov_base = (char *)req; in SMB2_tdis()
2294 struct smb2_create_rsp *rsp = rsp_iov->iov_base; in smb2_parse_contexts()
2374 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context()
2375 if (iov[num].iov_base == NULL) in add_lease_context()
2459 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context()
2460 if (iov[num].iov_base == NULL) in add_durable_v2_context()
2476 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
2477 if (iov[num].iov_base == NULL) in add_durable_reconnect_v2_context()
2499 iov[num].iov_base = create_reconnect_durable_buf(oparms->fid); in add_durable_context()
2503 iov[num].iov_base = create_durable_buf(); in add_durable_context()
2504 if (iov[num].iov_base == NULL) in add_durable_context()
2542 iov[num].iov_base = create_twarp_buf(timewarp); in add_twarp_context()
2543 if (iov[num].iov_base == NULL) in add_twarp_context()
2671 iov[num].iov_base = create_sd_buf(mode, set_owner, &len); in add_sd_context()
2672 if (iov[num].iov_base == NULL) in add_sd_context()
2707 iov[num].iov_base = create_query_id_buf(); in add_query_id_context()
2708 if (iov[num].iov_base == NULL) in add_query_id_context()
2815 iov[0].iov_base = (char *)req; in smb311_posix_mkdir()
2865 iov[1].iov_base = utf16_path; in smb311_posix_mkdir()
2876 pc_buf = iov[n_iov-1].iov_base; in smb311_posix_mkdir()
2903 rsp = (struct smb2_create_rsp *)rsp_iov.iov_base; in smb311_posix_mkdir()
2947 iov[0].iov_base = (char *)req; in SMB2_open_init()
3001 iov[1].iov_base = path; in SMB2_open_init()
3080 (struct create_context *)v->iov_base; in SMB2_open_init()
3102 cifs_small_buf_release(rqst->rq_iov[0].iov_base); in SMB2_open_free()
3104 if (rqst->rq_iov[i].iov_base != smb2_padding) in SMB2_open_free()
3105 kfree(rqst->rq_iov[i].iov_base); in SMB2_open_free()
3149 rsp = (struct smb2_create_rsp *)rsp_iov.iov_base; in SMB2_open()
3236 iov[0].iov_base = (char *)req; in SMB2_ioctl_init()
3252 iov[1].iov_base = in_data_buf; in SMB2_ioctl_init()
3297 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_ioctl_free()
3299 if (rqst->rq_iov[i].iov_base != smb2_padding) in SMB2_ioctl_free()
3300 kfree(rqst->rq_iov[i].iov_base); in SMB2_ioctl_free()
3361 rsp = (struct smb2_ioctl_rsp *)rsp_iov.iov_base; in SMB2_ioctl()
3477 iov[0].iov_base = (char *)req; in SMB2_close_init()
3487 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_close_free()
3532 rsp = (struct smb2_close_rsp *)rsp_iov.iov_base; in __SMB2_close()
3578 char *end_of_smb = smb_len + (char *)iov->iov_base; in smb2_validate_iov()
3579 char *begin_of_buf = offset + (char *)iov->iov_base; in smb2_validate_iov()
3613 char *begin_of_buf = offset + (char *)iov->iov_base; in smb2_validate_and_copy_iov()
3664 iov[0].iov_base = (char *)req; in SMB2_query_info_init()
3674 cifs_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_query_info_free()
3722 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in query_info()
3849 iov[0].iov_base = (char *)req; in SMB2_notify_init()
3905 if ((rsp_iov.iov_base == NULL) || in SMB2_change_notify()
3909 smb_rsp = (struct smb2_change_notify_rsp *)rsp_iov.iov_base; in SMB2_change_notify()
3926 cifs_small_buf_release(rqst.rq_iov[0].iov_base); /* request */ in SMB2_change_notify()
3927 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_change_notify()
4120 iov[0].iov_base = (char *)req; in SMB2_echo()
4135 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_flush_free()
4156 iov[0].iov_base = (char *)req; in SMB2_flush_init()
4206 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_flush()
4342 (struct smb2_hdr *)rdata->iov[0].iov_base; in smb2_readv_callback()
4460 rdata->iov[0].iov_base = buf; in smb2_async_readv()
4527 iov[0].iov_base = (char *)req; 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()
4765 iov[0].iov_base = (char *)req; in smb2_async_writev()
4881 iov[0].iov_base = (char *)req; in SMB2_write()
4892 rsp = (struct smb2_write_rsp *)rsp_iov.iov_base; in SMB2_write()
5123 iov[0].iov_base = (char *)req; in SMB2_query_directory_init()
5127 iov[1].iov_base = (char *)(req->Buffer); in SMB2_query_directory_init()
5139 cifs_small_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_query_directory_free()
5154 rsp = (struct smb2_query_directory_rsp *)rsp_iov->iov_base; in smb2_parse_query_directory()
5253 rsp = (struct smb2_query_directory_rsp *)rsp_iov.iov_base; in SMB2_query_directory()
5318 iov[0].iov_base = (char *)req; in SMB2_set_info_init()
5324 iov[i].iov_base = (char *)data[i]; in SMB2_set_info_init()
5335 cifs_buf_release(rqst->rq_iov[0].iov_base); /* request */ in SMB2_set_info_free()
5385 rsp = (struct smb2_set_info_rsp *)rsp_iov.iov_base; in send_set_info()
5470 iov[0].iov_base = (char *)req; in SMB2_oplock_break()
5550 iov->iov_base = (char *)req; in build_qfs_info_req()
5557 cifs_buf_release(iov->iov_base); in free_qfs_info_req()
5596 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB311_posix_qfs_info()
5607 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB311_posix_qfs_info()
5647 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB2_QFS_info()
5658 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_QFS_info()
5714 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in SMB2_QFS_attr()
5743 free_rsp_buf(resp_buftype, rsp_iov.iov_base); in SMB2_QFS_attr()
5781 iov[0].iov_base = (char *)req; in smb2_lockv()
5783 iov[1].iov_base = (char *)buf; in smb2_lockv()
5858 iov[0].iov_base = (char *)req; in SMB2_lease_break()