Lines Matching refs:pctx
911 struct smb2_neg_context *pctx;
931 pctx = (struct smb2_neg_context *)(offset + (char *)rsp);
933 + le16_to_cpu(pctx->DataLength);
944 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES)
946 (struct smb2_preauth_neg_context *)pctx);
947 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES)
949 (struct smb2_encryption_neg_context *)pctx);
950 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES)
952 (struct smb2_compression_capabilities_context *)pctx);
953 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE)
955 else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES)
957 (struct smb2_signing_capabilities *)pctx);
960 le16_to_cpu(pctx->ContextType));