函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-27 08:03:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ZSTD_initCStream

函数原型:ZSTD_CStream *ZSTD_initCStream(ZSTD_parameters params, unsigned long long pledgedSrcSize, void *workspace, size_t workspaceSize)

返回类型:ZSTD_CStream

参数:

类型参数名称
ZSTD_parametersparams
unsigned long longpledgedSrcSize
void *workspace
size_tworkspaceSize
3094  stackMem等于ZSTD_initStack(workspace, workspaceSize)
3095  zcs等于ZSTD_createCStream_advanced(stackMem)
3096  如果zcs
3097  code等于ZSTD_initCStream_advanced(zcs, NULL, 0, params, pledgedSrcSize)
3099  返回:NULL
3102  返回:zcs
调用者
名称描述
ZSTD_initCStream_usingCDict