/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress.c | 276 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams() 339 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_init_internal() 368 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_setZstdParams() 1341 ZSTD_overrideCParams(&cParams, &CCtxParams->cParams); in ZSTD_getCParamsFromCCtxParams() 1712 ms->cParams = *cParams; in ZSTD_reset_matchState() 4678 cdict->matchState.cParams = params.cParams; in ZSTD_initCDict_internal() 4767 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced() 4806 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced2() 4906 params.cParams = cParams; in ZSTD_initStaticCDict() 6016 && (cParams->hashLog > cParams->chainLog) in ZSTD_dedicatedDictSearch_isSupported() [all …]
|
H A 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() 376 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_dictMatchState_generic() local 378 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_dictMatchState_generic() 380 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_dictMatchState_generic() 552 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_extDict_generic() local [all …]
|
H A 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() 262 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local 264 const U32 hBitsL = cParams->hashLog; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 266 const U32 hBitsS = cParams->chainLog; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() [all …]
|
H A 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() 69 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertDUBT1() local 237 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_DUBT_findBestMatch() local 424 assert(ms->cParams.chainLog <= 24); in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 425 assert(ms->cParams.hashLog > ms->cParams.chainLog); in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 642 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertAndFindFirstIndex() local 643 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex() 654 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_HcFindBestMatch() local 1131 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_RowFindBestMatch() local [all …]
|
H A 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() 443 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBt1() 566 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBtAndGetAllMatches() local 570 U32 const hashLog = cParams->hashLog; in ZSTD_insertBtAndGetAllMatches() 576 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertBtAndGetAllMatches() 591 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBtAndGetAllMatches() 807 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal() 859 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6); [all …]
|
H A 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()
|
H A D | zstd_ldm.h | 108 ZSTD_compressionParameters const* cParams);
|
H A 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()
|
H A D | zstd_compress_superblock.c | 167 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
|
/openbmc/linux/lib/zstd/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A 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,
|
/openbmc/linux/fs/btrfs/ |
H A 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()
|
/openbmc/linux/crypto/ |
H A D | zstd.c | 36 const size_t wksp_size = zstd_cctx_workspace_bound(¶ms.cParams); in zstd_comp_init()
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack.c | 1302 const size_t wksp_len = zstd_cctx_workspace_bound(¶ms.cParams); in compress_zstd()
|
/openbmc/linux/fs/f2fs/ |
H A D | compress.c | 341 workspace_size = zstd_cstream_workspace_bound(¶ms.cParams); in zstd_init_compress_ctx()
|