函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:HUF_decompress1X2_DCtx_wksp

函数原型: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)

返回类型:size_t

参数:

类型参数名称
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  如果HUF_isError(hSize)则返回:hSize
239  如果hSize大于等于cSrcSize则返回:-***************************************** Error codes handling(srcSize_wrong)
241  ip加等于hSize
242  cSrcSize减等于hSize
244  返回:HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx)
调用者
名称描述
HUF_decompress1X_DCtx_wksp
ZSTD_decodeLiteralsBlock : nb of bytes read from src (< srcSize )