Lines Matching refs:iov
428 struct kvec iov[3]; in CIFS_SessSetup() local
471 iov[0].iov_base = (char *)pSMB; in CIFS_SessSetup()
472 iov[0].iov_len = smb_buf->smb_buf_length + 4; in CIFS_SessSetup()
488 iov[1].iov_base = NULL; in CIFS_SessSetup()
489 iov[1].iov_len = 0; in CIFS_SessSetup()
545 if (iov[0].iov_len % 2) { in CIFS_SessSetup()
589 if (iov[0].iov_len % 2) { in CIFS_SessSetup()
632 iov[1].iov_base = msg->data + msg->sesskey_len; in CIFS_SessSetup()
633 iov[1].iov_len = msg->secblob_len; in CIFS_SessSetup()
634 pSMB->req.SecurityBlobLength = cpu_to_le16(iov[1].iov_len); in CIFS_SessSetup()
638 if ((iov[0].iov_len + iov[1].iov_len) % 2) { in CIFS_SessSetup()
658 iov[2].iov_base = str_area; in CIFS_SessSetup()
659 iov[2].iov_len = (long) bcc_ptr - (long) str_area; in CIFS_SessSetup()
661 count = iov[1].iov_len + iov[2].iov_len; in CIFS_SessSetup()
666 rc = SendReceive2(xid, ses, iov, 3 /* num_iovecs */, &resp_buf_type, in CIFS_SessSetup()
674 pSMB = (SESSION_SETUP_ANDX *)iov[0].iov_base; in CIFS_SessSetup()
675 smb_buf = (struct smb_hdr *)iov[0].iov_base; in CIFS_SessSetup()
719 cFYI(1, ("ssetup freeing small buf %p", iov[0].iov_base)); in CIFS_SessSetup()
720 cifs_small_buf_release(iov[0].iov_base); in CIFS_SessSetup()
722 cifs_buf_release(iov[0].iov_base); in CIFS_SessSetup()