Home
last modified time | relevance | path

Searched refs:pledgedSrcSize (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/zstd/lib/deprecated/
H A Dzbuff_compress.c74 ZSTD_parameters params, unsigned long long pledgedSrcSize) in ZBUFF_compressInit_advanced() argument
76 …if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; /* preserve "0 == unknown" beha… in ZBUFF_compressInit_advanced()
78 FORWARD_IF_ERROR(ZSTD_CCtx_setPledgedSrcSize(zbc, pledgedSrcSize), ""); in ZBUFF_compressInit_advanced()
H A Dzbuff.h205 … ZSTD_parameters params, unsigned long long pledgedSrcSize);
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c1230 size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize) in ZSTD_CCtx_setPledgedSrcSize() argument
1232 DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %llu bytes", pledgedSrcSize); in ZSTD_CCtx_setPledgedSrcSize()
1235 cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1; in ZSTD_CCtx_setPledgedSrcSize()
1709 const U64 pledgedSrcSize, in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument
1713 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
2102 U64 const pledgedSrcSize, in ZSTD_resetCCtx_internal() argument
2109 …(U32)pledgedSrcSize, params->cParams.windowLog, (int)params->useRowMatchFinder, (int)params->postB… in ZSTD_resetCCtx_internal()
2131 …ze_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrcSize)); in ZSTD_resetCCtx_internal()
2150 … buffInSize, buffOutSize, pledgedSrcSize, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_resetCCtx_internal()
2194 zc->pledgedSrcSizePlusOne = pledgedSrcSize+1; in ZSTD_resetCCtx_internal()
[all …]
H A Dzstdmt_compress.h69 ZSTD_CCtx_params params, unsigned long long pledgedSrcSize);
H A Dzstdmt_compress.c733 U64 const pledgedSrcSize = job->firstJob ? job->fullFrameSize : job->src.size; in ZSTDMT_compressionJob() local
746 &jobParams, pledgedSrcSize); in ZSTDMT_compressionJob()
1253 unsigned long long pledgedSrcSize) in ZSTDMT_initCStream_internal() argument
1256 (U32)pledgedSrcSize, params.nbWorkers, mtctx->cctxPool->totalCCtx); in ZSTDMT_initCStream_internal()
1276 mtctx->frameContentSize = pledgedSrcSize; in ZSTDMT_initCStream_internal()
H A Dzstd_compress_internal.h1557 const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize);
1573 unsigned long long pledgedSrcSize);
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c1231 size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize) in ZSTD_CCtx_setPledgedSrcSize() argument
1233 DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %llu bytes", pledgedSrcSize); in ZSTD_CCtx_setPledgedSrcSize()
1236 cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1; in ZSTD_CCtx_setPledgedSrcSize()
1710 const U64 pledgedSrcSize, in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument
1714 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
2103 U64 const pledgedSrcSize, in ZSTD_resetCCtx_internal() argument
2110 …(U32)pledgedSrcSize, params->cParams.windowLog, (int)params->useRowMatchFinder, (int)params->postB… in ZSTD_resetCCtx_internal()
2132 …ze_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrcSize)); in ZSTD_resetCCtx_internal()
2151 … buffInSize, buffOutSize, pledgedSrcSize, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_resetCCtx_internal()
2195 zc->pledgedSrcSizePlusOne = pledgedSrcSize+1; in ZSTD_resetCCtx_internal()
[all …]
H A Dzstd_compress_internal.h1558 const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize);
1574 unsigned long long pledgedSrcSize);
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c165 unsigned long long pledgedSrcSize; member
202 …alizeCStream(ZWRAP_CCtx* zwc, const void* dict, size_t dictSize, unsigned long long pledgedSrcSize) in ZWRAP_initializeCStream() argument
207 if (!pledgedSrcSize) pledgedSrcSize = zwc->pledgedSrcSize; in ZWRAP_initializeCStream()
209 … ZSTD_parameters const params = ZSTD_getParams(zwc->compressionLevel, pledgedSrcSize, dictSize); in ZWRAP_initializeCStream()
213 …(int)pledgedSrcSize, params.cParams.windowLog, params.cParams.chainLog, params.cParams.hashLog, pa… in ZWRAP_initializeCStream()
218 initErr |= ZSTD_isError(ZSTD_CCtx_setPledgedSrcSize(zwc->zbc, pledgedSrcSize)); in ZWRAP_initializeCStream()
248 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize) in ZWRAP_setPledgedSrcSize() argument
253 zwc->pledgedSrcSize = pledgedSrcSize; in ZWRAP_setPledgedSrcSize()
390 … ZSTD_CCtx_setPledgedSrcSize(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pledgedSrcSize); in z_deflate()
H A Dzstd_zlibwrapper.h55 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize);
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h588 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
2644 unsigned long long pledgedSrcSize);
2681 unsigned long long pledgedSrcSize);
2712 unsigned long long pledgedSrcSize);
2734 size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize);
3036 …x(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: …
3046 …d* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledged…
3049 … cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compres…
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h587 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
2643 unsigned long long pledgedSrcSize);
2680 unsigned long long pledgedSrcSize);
2711 unsigned long long pledgedSrcSize);
2733 size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize);
3035 …x(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: …
3045 …d* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledged…
3048 … cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compres…
/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c1502 U64 pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in FIO_compressZstdFrame() local
1522 pledgedSrcSize = fileSize; in FIO_compressZstdFrame()
1526 pledgedSrcSize = prefs->streamSrcSize; in FIO_compressZstdFrame()
1542 windowSize = UTIL_makeHumanReadableSize(MAX(1ULL, MIN(1ULL << windowLog, pledgedSrcSize))); in FIO_compressZstdFrame()
/freebsd/sys/contrib/zstd/
H A DCHANGELOG524 api : change : when setting `pledgedSrcSize`, use `ZSTD_CONTENTSIZE_UNKNOWN` macro value to mean "u…
596 API : fix : enforced consistent rules for pledgedSrcSize==0 (#641)