Home
last modified time | relevance | path

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

/linux/fs/smb/client/ !
H A Dsmb1session.c486 if (smb_buf->WordCount != 3) { in sess_auth_ntlmv2()
487 rc = smb_EIO1(smb_eio_trace_sess_nl2_wcc, smb_buf->WordCount); in sess_auth_ntlmv2()
488 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_ntlmv2()
612 if (smb_buf->WordCount != 4) { in sess_auth_kerberos()
613 rc = smb_EIO1(smb_eio_trace_sess_krb_wcc, smb_buf->WordCount); in sess_auth_kerberos()
614 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_kerberos()
773 if (smb_buf->WordCount != 4) { in sess_auth_rawntlmssp_negotiate()
774 rc = smb_EIO1(smb_eio_trace_sess_rawnl_neg_wcc, smb_buf->WordCount); in sess_auth_rawntlmssp_negotiate()
775 cifs_dbg(VFS, "bad word count %d\n", smb_buf->WordCount); in sess_auth_rawntlmssp_negotiate()
863 if (smb_buf->WordCount != 4) { in sess_auth_rawntlmssp_authenticate()
[all …]
H A Dsmb1transport.c292 if (pSMB->WordCount != 10) { /* coalesce_t2 depends on this */ in check2ndT2()
490 smb->WordCount = 0; in checkSMB()
494 (smb->WordCount == 0)) { in checkSMB()
514 total_read, smb->WordCount); in checkSMB()
516 } else if (total_read < sizeof(*smb) + 2 * smb->WordCount) { in checkSMB()
518 __func__, smb->WordCount); in checkSMB()
H A Dsmb1misc.c61 buffer->WordCount = (char) word_count; in header_assemble()
127 if (pSMB->hdr.WordCount != 8) in is_valid_oplock_break()
187 return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) + in smbCalcSize()
H A Dsmb1debug.c19 smb->Flags2, smb->Mid, smb->Pid, smb->WordCount); in cifs_dump_detail()
H A Dsmb1proto.h309 return (void *)smb + sizeof(*smb) + 2 * smb->WordCount; in BCC()
H A Dcifssmb.c340 if (pSMB->hdr.WordCount < 10) in validate_t2()
479 if ((pSMBr->hdr.WordCount <= 13) || (server->dialect == BAD_PROT)) { in CIFSSMBNegotiate()
485 } else if (pSMBr->hdr.WordCount != 17) { in CIFSSMBNegotiate()
651 if ((smb_buffer_response->WordCount == 3) || in CIFSTCon()
652 (smb_buffer_response->WordCount == 7)) in CIFSTCon()
762 smb->hdr.WordCount = 1; in CIFSSMBEcho()
H A Dsmb1ops.c155 in_buf->WordCount = 0; in send_nt_cancel()
/linux/fs/smb/common/ !
H A Dsmb1pdu.h46 __u8 WordCount; member
/linux/fs/smb/server/ !
H A Dsmb_common.c608 neg_rsp->hdr.WordCount = 1; in smb_handle_negotiate()