Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:HUF_decompress1X2_DCtx_wksp

Proto:size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable *DCtx, void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, void *workspace, size_t workspaceSize)

Type:size_t

Parameter:

TypeParameterName
HUF_DTable *DCtx
void *dst
size_tdstSize
const void *cSrc
size_tcSrcSize
void *workspace
size_tworkspaceSize
234  ip = cSrc
236  hSize = HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize, workspace, workspaceSize)
237  If HUF_isError(hSize) Then Return hSize
239  If hSize >= cSrcSize Then Return -***************************************** Error codes handling(srcSize_wrong)
241  ip += hSize
242  cSrcSize -= hSize
244  Return HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx)
Caller
NameDescribe
HUF_decompress1X_DCtx_wksp
ZSTD_decodeLiteralsBlock : nb of bytes read from src (< srcSize )