Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_initCStream

Proto:ZSTD_CStream *ZSTD_initCStream(ZSTD_parameters params, unsigned long long pledgedSrcSize, void *workspace, size_t workspaceSize)

Type:ZSTD_CStream

Parameter:

TypeParameterName
ZSTD_parametersparams
unsigned long longpledgedSrcSize
void *workspace
size_tworkspaceSize
3094  stackMem = ZSTD_initStack(workspace, workspaceSize)
3095  zcs = ZSTD_createCStream_advanced(stackMem)
3096  If zcs Then
3097  code = ZSTD_initCStream_advanced(zcs, NULL, 0, params, pledgedSrcSize)
3099  Return NULL
3102  Return zcs
Caller
NameDescribe
ZSTD_initCStream_usingCDict