Home
last modified time | relevance | path

Searched refs:staticSize (Results 1 – 8 of 8) sorted by relevance

/src/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c250 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
284 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
322 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
988 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, in ZSTD_decompressMultiFrame()
1671 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1791 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
1972 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
1992 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
2086 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2087 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_internal.h154 size_t staticSize; member
/src/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c255 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
290 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
328 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
1095 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, in ZSTD_decompressMultiFrame()
1795 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1930 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
2132 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
2151 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
2254 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2255 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_internal.h156 size_t staticSize; member
/src/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c134 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
167 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
178 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
657 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
1145 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
1876 … &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal()
1882 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
1896 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
H A Dzstd_compress_internal.h382 size_t staticSize; member
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c140 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
174 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
186 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
722 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
1301 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
2150 … &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal()
2155 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
2169 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
H A Dzstd_compress_internal.h491 size_t staticSize; member