Lines Matching defs:smb_buf
567 struct smb_hdr *smb_buf;
613 (void **)&smb_buf);
617 pSMB = (SESSION_SETUP_ANDX *)smb_buf;
628 iov[0].iov_len = smb_buf->smb_buf_length + 4;
822 smb_buf->Uid = ses->Suid;
851 smb_buf->smb_buf_length += count;
853 BCC_LE(smb_buf) = cpu_to_le16(count);
862 smb_buf = (struct smb_hdr *)iov[0].iov_base;
864 if ((type == RawNTLMSSP) && (smb_buf->Status.CifsError ==
877 if ((smb_buf->WordCount != 3) && (smb_buf->WordCount != 4)) {
879 cERROR(1, "bad word count %d", smb_buf->WordCount);
885 ses->Suid = smb_buf->Uid; /* UID left in wire format (le) */
889 bytes_remaining = BCC(smb_buf);
890 bcc_ptr = pByteArea(smb_buf);
892 if (smb_buf->WordCount == 4) {
911 if (smb_buf->Flags2 & SMBFLG2_UNICODE) {
913 if (((unsigned long) bcc_ptr - (unsigned long) smb_buf) % 2) {