Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-28 07:05:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ZSTD_createCStream_advanced

Proto:ZSTD_CStream *ZSTD_createCStream_advanced(ZSTD_customMem customMem)

Type:ZSTD_CStream

Parameter:

TypeParameterName
ZSTD_customMemcustomMem
2986  If Not customAlloc || Not customFree Then Return NULL
2989  zcs = ZSTD_malloc(sizeof(ZSTD_CStream), customMem)
2990  If (zcs == NULL) Then Return NULL
2992  memset(zcs, 0, sizeof(ZSTD_CStream))
2993  No 3D Now!( & customMem, & customMem, sizeof(ZSTD_customMem))
2994  cctx = ZSTD_createCCtx_advanced(customMem)
2995  If (cctx == NULL) Then
2996  ZSTD_freeCStream(zcs)
2997  Return NULL
2999  Return zcs
Caller
NameDescribe
ZSTD_initCStream