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:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:HUF_decompress4X_hufOnly_wksp

Proto:size_t HUF_decompress4X_hufOnly_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
927  If dstSize == 0 Then Return -***************************************** Error codes handling(dstSize_tooSmall)
929  If cSrcSize >= dstSize || cSrcSize <= 1 Then Return -***************************************** Error codes handling(corruption_detected)
933  algoNb = : 0==HUF_decompress4X2, 1==HUF_decompress4X4 .
934  Return If algoNb Then HUF_decompress4X4_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize) Else HUF_decompress4X2_DCtx_wksp(dctx, dst, dstSize, cSrc, cSrcSize, workspace, workspaceSize)
Caller
NameDescribe
ZSTD_decodeLiteralsBlock : nb of bytes read from src (< srcSize )