Lines Matching refs:pctx
703 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local
726 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context()
727 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
731 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) in smb311_decode_neg_context()
733 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context()
734 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context()
736 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context()
737 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in smb311_decode_neg_context()
739 (struct smb2_compression_capabilities_context *)pctx); in smb311_decode_neg_context()
740 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) in smb311_decode_neg_context()
742 else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES) in smb311_decode_neg_context()
744 (struct smb2_signing_capabilities *)pctx); in smb311_decode_neg_context()
747 le16_to_cpu(pctx->ContextType)); in smb311_decode_neg_context()