Lines Matching refs:SecurityMode
685 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
687 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
689 req->SecurityMode = 0; in SMB2_negotiate()
754 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
789 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
883 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
886 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
889 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
949 if (pneg_rsp->SecurityMode != cpu_to_le16(tcon->ses->server->sec_mode)) in smb3_validate_negotiate()
1040 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
1042 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED; in SMB2_sess_alloc_buffer()
1044 req->SecurityMode = 0; in SMB2_sess_alloc_buffer()