Home
last modified time | relevance | path

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

/fs/cifs/
Dsess.c352 pSMB->req.hdr.Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_ssetup_hdr()
355 pSMB->req.hdr.Flags2 |= SMBFLG2_UNICODE; in cifs_ssetup_hdr()
359 pSMB->req.hdr.Flags2 |= SMBFLG2_ERR_STATUS; in cifs_ssetup_hdr()
363 pSMB->req.hdr.Flags2 |= SMBFLG2_DFS; in cifs_ssetup_hdr()
1049 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_ntlmv2()
1125 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in sess_auth_kerberos()
1184 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_kerberos()
1226 if ((pSMB->req.hdr.Flags2 & SMBFLG2_UNICODE) == 0) { in _sess_auth_rawntlmssp_assemble_req()
1231 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in _sess_auth_rawntlmssp_assemble_req()
1424 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_rawntlmssp_authenticate()
Dcifssmb.c284 buffer->Flags2 |= SMBFLG2_UNICODE; in small_smb_init_no_tc()
286 buffer->Flags2 |= SMBFLG2_ERR_STATUS; in small_smb_init_no_tc()
500 pSMB->hdr.Flags2 |= (SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS); in CIFSSMBNegotiate()
504 pSMB->hdr.Flags2 |= SMBFLG2_EXT_SEC; in CIFSSMBNegotiate()
565 } else if (pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC || in CIFSSMBNegotiate()
657 smb->hdr.Flags2 |= SMBFLG2_UNICODE; in CIFSSMBEcho()
711 pSMB->hdr.Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSSMBLogoff()
749 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSPOSIXDelFile()
823 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSSMBDelFile()
868 if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) { in CIFSSMBRmDir()
[all …]
Dmisc.c252 buffer->Flags2 = SMBFLG2_KNOWS_LONG_NAMES; in header_assemble()
259 buffer->Flags2 |= SMBFLG2_UNICODE; in header_assemble()
261 buffer->Flags2 |= SMBFLG2_ERR_STATUS; in header_assemble()
269 buffer->Flags2 |= SMBFLG2_DFS; in header_assemble()
274 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.c3667 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
3670 smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS; in CIFSTCon()
3673 smb_buffer->Flags2 |= SMBFLG2_DFS; in CIFSTCon()
3676 smb_buffer->Flags2 |= SMBFLG2_UNICODE; in CIFSTCon()
3707 if (smb_buffer->Flags2 & SMBFLG2_UNICODE) in CIFSTCon()
Dcifsencrypt.c144 if (!(cifs_pdu->Flags2 & SMBFLG2_SECURITY_SIGNATURE) || in cifs_sign_rqst()
Dcifs_debug.c43 smb->Flags, smb->Flags2, smb->Mid, smb->Pid); in cifs_dump_detail()
Dtransport.c785 hdr->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_setup_async_request()
Dcifspdu.h407 __le16 Flags2; /* note: le */ member
/fs/ksmbd/
Dsmb_common.h230 __le16 Flags2; /* note: le */ member
Dsmb_common.c329 rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS | in init_smb1_rsp_hdr()