• Home
  • Raw
  • Download

Lines Matching refs:iov

1257 	struct kvec iov[3];  member
1274 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
1275 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1283 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
1284 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
1293 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
1294 sess_data->iov[0].iov_len = 0; in sess_alloc_buffer()
1302 struct kvec *iov = sess_data->iov; in sess_free_buffer() local
1308 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in sess_free_buffer()
1309 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in sess_free_buffer()
1311 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in sess_free_buffer()
1313 kfree_sensitive(iov[2].iov_base); in sess_free_buffer()
1348 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive()
1352 count = sess_data->iov[1].iov_len + sess_data->iov[2].iov_len; in sess_sendreceive()
1357 sess_data->iov, 3 /* num_iovecs */, in sess_sendreceive()
1360 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive()
1361 memcpy(&sess_data->iov[0], &rsp_iov, sizeof(struct kvec)); in sess_sendreceive()
1384 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1385 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1415 if (!IS_ALIGNED(sess_data->iov[0].iov_len, 2)) { in sess_auth_ntlmv2()
1425 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_ntlmv2()
1426 (long) sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
1432 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1433 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
1497 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1498 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_kerberos()
1534 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in sess_auth_kerberos()
1535 sess_data->iov[1].iov_len = msg->secblob_len; in sess_auth_kerberos()
1536 pSMB->req.SecurityBlobLength = cpu_to_le16(sess_data->iov[1].iov_len); in sess_auth_kerberos()
1540 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in sess_auth_kerberos()
1551 sess_data->iov[2].iov_len = (long) bcc_ptr - in sess_auth_kerberos()
1552 (long) sess_data->iov[2].iov_base; in sess_auth_kerberos()
1558 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1559 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_kerberos()
1629 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1641 bcc_ptr = sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1643 if (!IS_ALIGNED(sess_data->iov[0].iov_len + sess_data->iov[1].iov_len, 2)) { in _sess_auth_rawntlmssp_assemble_req()
1649 sess_data->iov[2].iov_len = (long) bcc_ptr - in _sess_auth_rawntlmssp_assemble_req()
1650 (long) sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req()
1689 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1698 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_negotiate()
1699 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_negotiate()
1708 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1709 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate()
1785 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1792 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_authenticate()
1793 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_authenticate()
1810 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()
1811 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_authenticate()