Home
last modified time | relevance | path

Searched refs:Flags2 (Results 1 – 12 of 12) sorted by relevance

/fs/smb/client/
Dcifssmb.c248 buffer->Flags2 |= SMBFLG2_UNICODE; in small_smb_init_no_tc()
250 buffer->Flags2 |= SMBFLG2_ERR_STATUS; in small_smb_init_no_tc()
424 pSMB->hdr.Flags2 |= (SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS); in CIFSSMBNegotiate()
428 pSMB->hdr.Flags2 |= SMBFLG2_EXT_SEC; in CIFSSMBNegotiate()
489 } else if (pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC || in CIFSSMBNegotiate()
585 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho()
644 pSMB->hdr.Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSSMBLogoff()
682 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSPOSIXDelFile()
756 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSSMBDelFile()
801 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSSMBRmDir()
[all …]
Dsess.c692 pSMB->req.hdr.Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_ssetup_hdr()
695 pSMB->req.hdr.Flags2 |= SMBFLG2_UNICODE; in cifs_ssetup_hdr()
699 pSMB->req.hdr.Flags2 |= SMBFLG2_ERR_STATUS; in cifs_ssetup_hdr()
703 pSMB->req.hdr.Flags2 |= SMBFLG2_DFS; in cifs_ssetup_hdr()
1539 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_ntlmv2()
1617 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in sess_auth_kerberos()
1675 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_kerberos()
1718 if ((pSMB->req.hdr.Flags2 & SMBFLG2_UNICODE) == 0) { in _sess_auth_rawntlmssp_assemble_req()
1723 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in _sess_auth_rawntlmssp_assemble_req()
1928 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_rawntlmssp_authenticate()
Dmisc.c275 buffer->Flags2 = SMBFLG2_KNOWS_LONG_NAMES; in header_assemble()
282 buffer->Flags2 |= SMBFLG2_UNICODE; in header_assemble()
284 buffer->Flags2 |= SMBFLG2_ERR_STATUS; in header_assemble()
292 buffer->Flags2 |= SMBFLG2_DFS; in header_assemble()
297 buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in header_assemble()
Dnetmisc.c824 if (smb->Flags2 & SMBFLG2_ERR_STATUS) { in map_smb_to_linux_error()
890 if (rc == -EACCES && !(smb->Flags2 & SMBFLG2_ERR_STATUS)) { in map_and_check_smb_error()
Dconnect.c3741 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
3744 smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS; in CIFSTCon()
3747 smb_buffer->Flags2 |= SMBFLG2_DFS; in CIFSTCon()
3750 smb_buffer->Flags2 |= SMBFLG2_UNICODE; in CIFSTCon()
3779 if (smb_buffer->Flags2 & SMBFLG2_UNICODE) in CIFSTCon()
Dcifsencrypt.c270 if (!(cifs_pdu->Flags2 & SMBFLG2_SECURITY_SIGNATURE) || in cifs_sign_rqst()
Dsmb1ops.c1002 bool unicode = !!(io->hdr.Flags2 & SMBFLG2_UNICODE); in cifs_parse_reparse_point()
Dcifs_debug.c45 smb->Flags2, smb->Mid, smb->Pid, smb->WordCount); in cifs_dump_detail()
Dtransport.c763 hdr->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_setup_async_request()
Dcifspdu.h395 __le16 Flags2; /* note: le */ member
/fs/smb/server/
Dsmb_common.h183 __le16 Flags2; /* note: le */ member
Dsmb_common.c329 rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS | in init_smb1_rsp_hdr()