Lines Matching refs:pctx
702 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local
725 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context()
726 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
730 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) in smb311_decode_neg_context()
732 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context()
733 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context()
735 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context()
736 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in smb311_decode_neg_context()
738 (struct smb2_compression_capabilities_context *)pctx); in smb311_decode_neg_context()
739 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) in smb311_decode_neg_context()
741 else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES) in smb311_decode_neg_context()
743 (struct smb2_signing_capabilities *)pctx); in smb311_decode_neg_context()
746 le16_to_cpu(pctx->ContextType)); in smb311_decode_neg_context()