Lines Matching refs:iov

1168 	struct kvec iov[3];  member
1185 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
1186 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1194 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
1195 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
1204 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
1205 sess_data->iov[0].iov_len = 0; in sess_alloc_buffer()
1213 struct kvec *iov = sess_data->iov; in sess_free_buffer() local
1219 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in sess_free_buffer()
1220 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in sess_free_buffer()
1222 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in sess_free_buffer()
1224 kfree_sensitive(iov[2].iov_base); in sess_free_buffer()
1259 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive()
1263 count = sess_data->iov[1].iov_len + sess_data->iov[2].iov_len; in sess_sendreceive()
1268 sess_data->iov, 3 /* num_iovecs */, in sess_sendreceive()
1271 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive()
1272 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in sess_sendreceive()
1295 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1296 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1326 if (!IS_ALIGNED(sess_data->iov[0].iov_len, 2)) { in sess_auth_ntlmv2()
1336 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_ntlmv2()
1337 (long) sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1343 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1344 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1408 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1409 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_kerberos()
1445 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in sess_auth_kerberos()
1446 sess_data->iov[1].iov_len = msg->secblob_len; in sess_auth_kerberos()
1447 pSMB->req.SecurityBlobLength = cpu_to_le16(sess_data->iov[1].iov_len); in sess_auth_kerberos()
1451 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in sess_auth_kerberos()
1462 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_kerberos()
1463 (long) sess_data->iov[2].iov_base; in sess_auth_kerberos()
1469 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1470 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1540 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1552 bcc_ptr = sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1554 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in _sess_auth_rawntlmssp_assemble_req()
1560 sess_data->iov[2].iov_len = (long) bcc_ptr - in _sess_auth_rawntlmssp_assemble_req()
1561 (long) sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1600 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1609 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_negotiate()
1610 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_negotiate()
1619 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1620 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1696 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1703 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_authenticate()
1704 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_authenticate()
1721 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1722 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()