Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c101 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_initDCtx_internal()
1383 size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize) in ZSTD_DCtx_setMaxWindowSize() argument
1389 RETURN_ERROR_IF(maxWindowSize < min, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()
1390 RETURN_ERROR_IF(maxWindowSize > max, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()
1391 dctx->maxWindowSize = maxWindowSize; in ZSTD_DCtx_setMaxWindowSize()
1446 dctx->maxWindowSize = ((size_t)1) << value; in ZSTD_DCtx_setParameter()
1473 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_DCtx_reset()
1719 (U32)(zds->maxWindowSize >> 10) ); in ZSTD_decompressStream()
1721 RETURN_ERROR_IF(zds->fParams.windowSize > zds->maxWindowSize, in ZSTD_decompressStream()
H A Dzstd_decompress_internal.h144 size_t maxWindowSize; member
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c242 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_DCtx_resetParameters()
1681 size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize) in ZSTD_DCtx_setMaxWindowSize() argument
1687 RETURN_ERROR_IF(maxWindowSize < min, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()
1688 RETURN_ERROR_IF(maxWindowSize > max, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()
1689 dctx->maxWindowSize = maxWindowSize; in ZSTD_DCtx_setMaxWindowSize()
1749 *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize); in ZSTD_DCtx_getParameter()
1775 dctx->maxWindowSize = ((size_t)1) << value; in ZSTD_DCtx_setParameter()
2064 (U32)(zds->maxWindowSize >> 10) ); in ZSTD_decompressStream()
2066 RETURN_ERROR_IF(zds->fParams.windowSize > zds->maxWindowSize, in ZSTD_decompressStream()
H A Dzstd_decompress_internal.h173 size_t maxWindowSize; member
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h1648 ZSTDLIB_API size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize);
/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c879 unsigned const maxWindowSize = (1U << ZSTD_WINDOWLOG_MAX); in FIO_adjustMemLimitForPatchFromMode() local
883 if (maxSize > maxWindowSize) in FIO_adjustMemLimitForPatchFromMode()
884 EXM_THROW(42, "Can't handle files larger than %u GB\n", maxWindowSize/(1 GB)); in FIO_adjustMemLimitForPatchFromMode()
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h2081 ZSTDLIB_STATIC_API size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize);
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c1284 const U64 maxWindowSize = 1ULL << ZSTD_WINDOWLOG_MAX; in ZSTD_dictAndWindowLog() local
1300 } else if (dictAndWindowSize >= maxWindowSize) { in ZSTD_dictAndWindowLog()