Lines Matching refs:pctx
648 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local
671 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context()
672 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
676 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) in smb311_decode_neg_context()
678 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context()
679 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context()
681 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context()
682 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in smb311_decode_neg_context()
684 (struct smb2_compression_capabilities_context *)pctx); in smb311_decode_neg_context()
685 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) in smb311_decode_neg_context()
689 le16_to_cpu(pctx->ContextType)); in smb311_decode_neg_context()