/linux-6.6.21/lib/zstd/compress/ |
D | zstd_compress.c | 225 … const ZSTD_compressionParameters* const cParams) { in ZSTD_resolveRowMatchFinderMode() argument 233 if (!ZSTD_rowMatchFinderSupported(cParams->strategy)) return mode; in ZSTD_resolveRowMatchFinderMode() 235 if (cParams->windowLog > 14) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode() 237 if (cParams->windowLog > 17) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode() 244 … const ZSTD_compressionParameters* const cParams) { in ZSTD_resolveBlockSplitterMode() argument 246 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode() 265 const ZSTD_compressionParameters* const cParams) { in ZSTD_resolveEnableLdm() argument 267 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm() 271 ZSTD_compressionParameters cParams) in ZSTD_makeCCtxParamsFromCParams() argument 276 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams() [all …]
|
D | zstd_fast.c | 19 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTable() local 21 U32 const hBits = cParams->hashLog; in ZSTD_fillHashTable() 22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable() 98 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_noDict_generic() local 100 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_noDict_generic() 102 size_t const stepSize = hasStep ? (cParams->targetLength + !(cParams->targetLength) + 1) : 2; in ZSTD_compressBlock_fast_noDict_generic() 106 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() 142 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() 339 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast() 341 if (ms->cParams.targetLength > 1) { in ZSTD_compressBlock_fast() [all …]
|
D | zstd_double_fast.c | 18 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTable() local 20 U32 const hBitsL = cParams->hashLog; in ZSTD_fillDoubleHashTable() 21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable() 23 U32 const hBitsS = cParams->chainLog; in ZSTD_fillDoubleHashTable() 55 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_noDict_generic() local 57 const U32 hBitsL = cParams->hashLog; in ZSTD_compressBlock_doubleFast_noDict_generic() 59 const U32 hBitsS = cParams->chainLog; in ZSTD_compressBlock_doubleFast_noDict_generic() 65 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() 101 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() 262 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local [all …]
|
D | zstd_lazy.c | 24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() local 26 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT() 29 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT() 69 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertDUBT1() local 71 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertDUBT1() 87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() 163 const ZSTD_compressionParameters* const dmsCParams = &dms->cParams; in ZSTD_DUBT_findBetterDictMatch() 237 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_DUBT_findBestMatch() local 239 U32 const hashLog = cParams->hashLog; in ZSTD_DUBT_findBestMatch() 245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch() [all …]
|
D | zstd_opt.c | 417 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBt1() local 419 U32 const hashLog = cParams->hashLog; in ZSTD_insertBt1() 422 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertBt1() 440 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog); in ZSTD_insertBt1() 443 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBt1() 552 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree() 566 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBtAndGetAllMatches() local 567 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_insertBtAndGetAllMatches() 570 U32 const hashLog = cParams->hashLog; in ZSTD_insertBtAndGetAllMatches() 576 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertBtAndGetAllMatches() [all …]
|
D | zstd_ldm.c | 136 ZSTD_compressionParameters const* cParams) in ZSTD_ldm_adjustParameters() argument 138 params->windowLog = cParams->windowLog; in ZSTD_ldm_adjustParameters() 242 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 665 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_ldm_blockCompress() local 666 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress() 668 … ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress() 677 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
|
D | zstd_ldm.h | 108 ZSTD_compressionParameters const* cParams);
|
D | zstd_compress_internal.h | 229 ZSTD_compressionParameters cParams; member 280 ZSTD_compressionParameters cParams; member 547 … return (cctxParams->cParams.strategy == ZSTD_fast) && (cctxParams->cParams.targetLength > 0); in ZSTD_literalsCompressionIsDisabled()
|
D | zstd_compress_superblock.c | 167 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
|
/linux-6.6.21/lib/zstd/ |
D | zstd_compress_module.c | 35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init() 37 cctx, ZSTD_c_hashLog, parameters->cParams.hashLog)); in zstd_cctx_init() 39 cctx, ZSTD_c_chainLog, parameters->cParams.chainLog)); in zstd_cctx_init() 41 cctx, ZSTD_c_searchLog, parameters->cParams.searchLog)); in zstd_cctx_init() 43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init() 45 cctx, ZSTD_c_targetLength, parameters->cParams.targetLength)); in zstd_cctx_init() 47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
|
/linux-6.6.21/include/linux/ |
D | zstd_lib.h | 1213 ZSTD_compressionParameters cParams; member 1488 ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams); 1506 ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams); 1517 …D_estimateCDictSize_advanced(size_t dictSize, ZSTD_compressionParameters cParams, ZSTD_dictLoadMet… 1552 ZSTD_compressionParameters cParams); 1581 ZSTD_compressionParameters cParams,
|
/linux-6.6.21/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() 166 zstd_cstream_workspace_bound(¶ms.cParams), in zstd_calc_ws_mem_sizes()
|
/linux-6.6.21/crypto/ |
D | zstd.c | 36 const size_t wksp_size = zstd_cctx_workspace_bound(¶ms.cParams); in zstd_comp_init()
|
/linux-6.6.21/security/apparmor/ |
D | policy_unpack.c | 1301 const size_t wksp_len = zstd_cctx_workspace_bound(¶ms.cParams); in compress_zstd()
|
/linux-6.6.21/fs/f2fs/ |
D | compress.c | 344 workspace_size = zstd_cstream_workspace_bound(¶ms.cParams); in zstd_init_compress_ctx()
|