Home
last modified time | relevance | path

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

/freebsd/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
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c254 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
289 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
327 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
1094 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, in ZSTD_decompressMultiFrame()
1794 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1929 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
2131 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
2150 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
2253 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2254 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_internal.h155 size_t staticSize; member
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c139 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
173 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
185 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
721 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
1300 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
2149 … &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal()
2154 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
2168 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
H A Dzstd_compress_internal.h490 size_t staticSize; member
/freebsd/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