Lines Matching refs:iov
1185 struct kvec iov[3]; member
1202 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
1203 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1211 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
1212 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
1221 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
1222 sess_data->iov[0].iov_len = 0; in sess_alloc_buffer()
1230 struct kvec *iov = sess_data->iov; in sess_free_buffer() local
1236 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in sess_free_buffer()
1237 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in sess_free_buffer()
1239 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in sess_free_buffer()
1241 kfree_sensitive(iov[2].iov_base); in sess_free_buffer()
1276 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive()
1280 count = sess_data->iov[1].iov_len + sess_data->iov[2].iov_len; in sess_sendreceive()
1285 sess_data->iov, 3 /* num_iovecs */, in sess_sendreceive()
1288 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive()
1289 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in sess_sendreceive()
1312 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1313 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1343 if (!IS_ALIGNED(sess_data->iov[0].iov_len, 2)) { in sess_auth_ntlmv2()
1353 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_ntlmv2()
1354 (long) sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1360 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1361 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1425 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1426 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_kerberos()
1462 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in sess_auth_kerberos()
1463 sess_data->iov[1].iov_len = msg->secblob_len; in sess_auth_kerberos()
1464 pSMB->req.SecurityBlobLength = cpu_to_le16(sess_data->iov[1].iov_len); in sess_auth_kerberos()
1468 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in sess_auth_kerberos()
1479 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_kerberos()
1480 (long) sess_data->iov[2].iov_base; in sess_auth_kerberos()
1486 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1487 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1557 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1569 bcc_ptr = sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1571 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in _sess_auth_rawntlmssp_assemble_req()
1577 sess_data->iov[2].iov_len = (long) bcc_ptr - in _sess_auth_rawntlmssp_assemble_req()
1578 (long) sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1617 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1626 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_negotiate()
1627 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_negotiate()
1636 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1637 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1713 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1720 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_authenticate()
1721 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_authenticate()
1738 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1739 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()