/linux-6.1.9/lib/zstd/compress/ |
D | zstd_compress.c | 200 return cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27; in ZSTD_CParams_shouldEnableLdm() 609 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter() 610 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter() 782 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter() 1048 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams() 1070 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams() 1096 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog() argument 1101 return windowLog; in ZSTD_dictAndWindowLog() 1103 assert(windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_dictAndWindowLog() 1106 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog() [all …]
|
D | zstd_ldm.c | 111 params->windowLog = cParams->windowLog; in ZSTD_ldm_adjustParameters() 117 params->hashLog = MAX(ZSTD_HASHLOG_MIN, params->windowLog - LDM_HASH_RLOG); in ZSTD_ldm_adjustParameters() 121 params->hashRateLog = params->windowLog < params->hashLog in ZSTD_ldm_adjustParameters() 123 : params->windowLog - params->hashLog; in ZSTD_ldm_adjustParameters() 474 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences()
|
D | zstd_lazy.c | 87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() 245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch() 614 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() 926 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() 1222 const U32 windowLog = ms->cParams.windowLog; in ZSTD_compressBlock_lazy_extDict_generic() local 1250 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() 1281 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() 1312 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() 1358 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, repCurrent, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
|
D | zstd_fast.c | 64 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_generic() 76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_generic() 240 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() 390 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic()
|
D | zstd_compress_internal.h | 204 U32 windowLog; /* Window log for the LDM */ member 1031 MEM_STATIC U32 ZSTD_getLowestMatchIndex(const ZSTD_matchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestMatchIndex() argument 1033 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() 1048 MEM_STATIC U32 ZSTD_getLowestPrefixIndex(const ZSTD_matchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestPrefixIndex() argument 1050 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex()
|
D | zstd_double_fast.c | 67 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic() 105 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_generic() 112 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic() 374 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic()
|
D | zstd_compress_superblock.c | 447 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
|
D | zstd_opt.c | 549 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches()
|
/linux-6.1.9/lib/zstd/ |
D | zstd_compress_module.c | 35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
|
/linux-6.1.9/fs/btrfs/ |
D | zstd.c | 36 if (params.cParams.windowLog > ZSTD_BTRFS_MAX_WINDOWLOG) in zstd_get_btrfs_parameters() 37 params.cParams.windowLog = ZSTD_BTRFS_MAX_WINDOWLOG; in zstd_get_btrfs_parameters()
|
/linux-6.1.9/lib/zstd/decompress/ |
D | zstd_decompress.c | 452 U32 const windowLog = (wlByte >> 3) + ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_getFrameHeader_advanced() local 453 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, ""); in ZSTD_getFrameHeader_advanced() 454 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced()
|
/linux-6.1.9/include/linux/ |
D | zstd_lib.h | 1160 …unsigned windowLog; /*< largest match distance : larger == more compression, more memory nee… member
|