Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_createDStream_advanced

Proto:static ZSTD_DStream *ZSTD_createDStream_advanced(ZSTD_customMem customMem)

Type:ZSTD_DStream

Parameter:

TypeParameterName
ZSTD_customMemcustomMem
2196  If Not customAlloc || Not customFree Then Return NULL
2199  zds = ZSTD_malloc(sizeof(ZSTD_DStream), customMem)
2200  If (zds == NULL) Then Return NULL
2202  memset(zds, 0, sizeof(ZSTD_DStream))
2203  No 3D Now!( & customMem, & customMem, sizeof(ZSTD_customMem))
2204  dctx = ZSTD_createDCtx_advanced(customMem)
2205  If (dctx == NULL) Then
2206  ZSTD_freeDStream(zds)
2207  Return NULL
2209  stage = zdss_init
2210  maxWindowSize = defined within zstd.h
2211  Return zds
Caller
NameDescribe
ZSTD_initDStream