Home
last modified time | relevance | path

Searched refs:windowLog (Results 1 – 12 of 12) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_compress.c238 if (cParams->windowLog > kWindowLogLowerBound) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode()
246 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode()
267 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm()
776 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
777 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
994 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter()
1134 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(cctx, ZSTD_c_windowLog, (int)cparams.windowLog), ""); in ZSTD_CCtx_setCParams()
1326 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams()
1349 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams()
1375 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog() argument
[all …]
H A Dzstd_ldm.c139 params->windowLog = cParams->windowLog; in ZSTD_ldm_adjustParameters()
146 if (params->windowLog > params->hashLog) { in ZSTD_ldm_adjustParameters()
147 params->hashRateLog = params->windowLog - params->hashLog; in ZSTD_ldm_adjustParameters()
156 …params->hashLog = BOUNDED(ZSTD_HASHLOG_MIN, params->windowLog - params->hashRateLog, ZSTD_HASHLOG_… in ZSTD_ldm_adjustParameters()
531 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences()
H A Dzstd_fast.c203 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic()
239 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic()
448 int const useCmov = ms->cParams.windowLog < 19; in ZSTD_compressBlock_fast()
515 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic()
722 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c120 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic()
161 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic()
345 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
367 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
628 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_lazy.c98 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1()
258 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch()
684 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch()
1160 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_RowFindBestMatch()
1555 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic()
1955 const U32 windowLog = ms->cParams.windowLog; in ZSTD_compressBlock_lazy_extDict_generic() local
1986 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
2027 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
2059 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
2113 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, repCurrent, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_compress_internal.h350 U32 windowLog; /* Window log for the LDM */ member
1387 MEM_STATIC U32 ZSTD_getLowestMatchIndex(const ZSTD_MatchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestMatchIndex() argument
1389 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex()
1404 MEM_STATIC U32 ZSTD_getLowestPrefixIndex(const ZSTD_MatchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestPrefixIndex() argument
1406 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex()
H A Dzstd_compress_superblock.c172 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
H A Dzstd_opt.c472 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog); in ZSTD_insertBt1()
620 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches()
/linux/lib/zstd/
H A Dzstd_compress_module.c36 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
/linux/fs/btrfs/
H A Dzstd.c39 if (params.cParams.windowLog > ZSTD_BTRFS_MAX_WINDOWLOG) in zstd_get_btrfs_parameters()
40 params.cParams.windowLog = ZSTD_BTRFS_MAX_WINDOWLOG; in zstd_get_btrfs_parameters()
/linux/lib/zstd/decompress/
H A Dzstd_decompress.c500 U32 const windowLog = (wlByte >> 3) + ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_getFrameHeader_advanced() local
501 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, ""); in ZSTD_getFrameHeader_advanced()
502 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced()
/linux/include/linux/
H A Dzstd_lib.h1320 …unsigned windowLog; /*< largest match distance : larger == more compression, more memory nee… member