Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_resetCStream_internal

Proto:static size_t ZSTD_resetCStream_internal(ZSTD_CStream *zcs, unsigned long long pledgedSrcSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CStream *zcs
unsigned long longpledgedSrcSize
3028  If inBuffSize == 0 Then Return -***************************************** Error codes handling(stage_wrong)
3031  If cdict Then check and Forward error code (ZSTD_compressBegin_usingCDict(cctx, cdict, pledgedSrcSize))
3033  Else
3036  inToCompress = 0
3037  inBuffPos = 0
3038  inBuffTarget = blockSize
3039  outBuffContentSize = outBuffFlushedSize = 0
3040  stage = zcss_load
3041  frameEnded = 0
3042  pledgedSrcSize = pledgedSrcSize
3043  inputProcessed = 0
3044  Return 0
Caller
NameDescribe
ZSTD_resetCStream
ZSTD_initCStream_advanced
ZSTD_initCStream_usingCDict