Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/decompress/
Dzstd_decompress.c244 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
274 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
312 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
1621 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1741 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
2006 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2007 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
2008 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream()
2010 bufferSize > zds->staticSize - sizeof(ZSTD_DCtx), in ZSTD_decompressStream()
Dzstd_decompress_internal.h154 size_t staticSize; member
/linux-6.6.21/lib/zstd/compress/
Dzstd_compress.c131 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
164 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
172 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
634 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
1076 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
1797 … &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal()
1803 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
1817 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
Dzstd_compress_internal.h376 size_t staticSize; member