Lines Matching refs:SecurityMode
833 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
835 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
837 req->SecurityMode = 0; in SMB2_negotiate()
906 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
941 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1029 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1032 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1035 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1098 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1198 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
1200 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED; in SMB2_sess_alloc_buffer()
1202 req->SecurityMode = 0; in SMB2_sess_alloc_buffer()