Home
last modified time | relevance | path

Searched refs:WordCount (Results 1 – 10 of 10) sorted by relevance

/linux/fs/smb/common/
H A Dsmb1pdu.h46 __u8 WordCount; member
/linux/fs/smb/client/
H A Dsess.c1522 if (smb_buf->WordCount != 3) { in sess_auth_ntlmv2()
1523 rc = smb_EIO1(smb_eio_trace_sess_nl2_wcc, smb_buf->WordCount); in sess_auth_ntlmv2()
1524 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_ntlmv2()
1648 if (smb_buf->WordCount != 4) { in sess_auth_kerberos()
1649 rc = smb_EIO1(smb_eio_trace_sess_krb_wcc, smb_buf->WordCount); in sess_auth_kerberos()
1650 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_kerberos()
1809 if (smb_buf->WordCount != 4) { in sess_auth_rawntlmssp_negotiate()
1810 rc = smb_EIO1(smb_eio_trace_sess_rawnl_neg_wcc, smb_buf->WordCount); in sess_auth_rawntlmssp_negotiate()
1811 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_rawntlmssp_negotiate()
1899 if (smb_buf->WordCount != 4) { in sess_auth_rawntlmssp_authenticate()
[all …]
H A Dmisc.c313 buffer->WordCount = (char) word_count; in header_assemble()
363 smb->WordCount = 0; in checkSMB()
367 (smb->WordCount == 0)) { in checkSMB()
387 total_read, smb->WordCount); in checkSMB()
389 } else if (total_read < sizeof(*smb) + 2 * smb->WordCount) { in checkSMB()
391 __func__, smb->WordCount); in checkSMB()
505 if (pSMB->hdr.WordCount != 8) in is_valid_oplock_break()
H A Dsmb1ops.c44 in_buf->WordCount = 0; in send_nt_cancel()
306 if (pSMB->WordCount != 10) { /* coalesce_t2 depends on this */ in check2ndT2()
H A Dcifs_debug.c47 smb->Flags2, smb->Mid, smb->Pid, smb->WordCount); in cifs_dump_detail()
H A Dnetmisc.c928 return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) + in smbCalcSize()
H A Dcifspdu.h329 return (void *)smb + sizeof(*smb) + 2 * smb->WordCount; in BCC()
H A Dcifssmb.c339 if (pSMB->hdr.WordCount < 10) in validate_t2()
478 if ((pSMBr->hdr.WordCount <= 13) || (server->dialect == BAD_PROT)) { in CIFSSMBNegotiate()
484 } else if (pSMBr->hdr.WordCount != 17) { in CIFSSMBNegotiate()
621 smb->hdr.WordCount = 1; in CIFSSMBEcho()
H A Dconnect.c4103 if ((smb_buffer_response->WordCount == 3) || in CIFSTCon()
4104 (smb_buffer_response->WordCount == 7)) in CIFSTCon()
/linux/fs/smb/server/
H A Dsmb_common.c584 neg_rsp->hdr.WordCount = 1; in smb_handle_negotiate()