Home
last modified time | relevance | path

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

/Linux-v6.6/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.c546 pSMB->req.hdr.Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_ssetup_hdr()
549 pSMB->req.hdr.Flags2 |= SMBFLG2_UNICODE; in cifs_ssetup_hdr()
553 pSMB->req.hdr.Flags2 |= SMBFLG2_ERR_STATUS; in cifs_ssetup_hdr()
557 pSMB->req.hdr.Flags2 |= SMBFLG2_DFS; in cifs_ssetup_hdr()
1381 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_ntlmv2()
1459 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in sess_auth_kerberos()
1517 } else if (smb_buf->Flags2 & SMBFLG2_UNICODE) { in sess_auth_kerberos()
1560 if ((pSMB->req.hdr.Flags2 & SMBFLG2_UNICODE) == 0) { in _sess_auth_rawntlmssp_assemble_req()
1565 pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC; in _sess_auth_rawntlmssp_assemble_req()
1770 } 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.c3653 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
3656 smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS; in CIFSTCon()
3659 smb_buffer->Flags2 |= SMBFLG2_DFS; in CIFSTCon()
3662 smb_buffer->Flags2 |= SMBFLG2_UNICODE; in CIFSTCon()
3691 if (smb_buffer->Flags2 & SMBFLG2_UNICODE) in CIFSTCon()
Dcifsencrypt.c270 if (!(cifs_pdu->Flags2 & SMBFLG2_SECURITY_SIGNATURE) || in cifs_sign_rqst()
Dcifs_debug.c45 smb->Flags, smb->Flags2, smb->Mid, smb->Pid); in cifs_dump_detail()
Dtransport.c765 hdr->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in cifs_setup_async_request()
Dcifspdu.h395 __le16 Flags2; /* note: le */ member
/Linux-v6.6/fs/smb/server/
Dsmb_common.h183 __le16 Flags2; /* note: le */ member
Dsmb_common.c325 rsp_hdr->Flags2 = SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS | in init_smb1_rsp_hdr()