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.c100 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
130 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
164 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
718 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, in ZSTD_decompressMultiFrame()
1630 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
1647 RETURN_ERROR_IF(zds->staticSize, memory_allocation, in ZSTD_decompressStream()
1741 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
1742 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
1743 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream()
1745 bufferSize > zds->staticSize - sizeof(ZSTD_DCtx), in ZSTD_decompressStream()
H A Dzstd_decompress_internal.h129 size_t staticSize; member
/freebsd/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
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c106 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
139 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
150 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
495 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
897 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
1458 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
1461 { size_t const cctxSpace = zc->staticSize ? ZSTD_cwksp_alloc_size(sizeof(ZSTD_CCtx)) : 0; in ZSTD_resetCCtx_internal()
1490 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
H A Dzstd_compress_internal.h250 size_t staticSize; member
/freebsd/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