Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
A Dzstd_compress.c209 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams()
272 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_init_internal()
296 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_setZstdParams()
1224 ZSTD_overrideCParams(&cParams, &CCtxParams->cParams); in ZSTD_getCParamsFromCCtxParams()
1535 ms->cParams = *cParams; in ZSTD_reset_matchState()
3593 cdict->matchState.cParams = params.cParams; in ZSTD_initCDict_internal()
3681 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced()
3719 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced2()
3815 params.cParams = cParams; in ZSTD_initStaticCDict()
5002 && (cParams->hashLog >= cParams->chainLog) in ZSTD_dedicatedDictSearch_isSupported()
[all …]
A Dzstd_fast.c19 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()
52 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_generic() local
54 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_generic()
56 size_t const stepSize = cParams->targetLength + !(cParams->targetLength) + 1; in ZSTD_compressBlock_fast_generic()
211 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_dictMatchState_generic() local
213 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_dictMatchState_generic()
215 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
379 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_extDict_generic() local
[all …]
A Dzstd_lazy.c24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() local
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
400 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_selectMLS()
416 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_dictMatchState_selectMLS()
432 switch(ms->cParams.minMatch) in ZSTD_BtFindBestMatch_extDict_selectMLS()
476 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertAndFindFirstIndex() local
477 return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch); in ZSTD_insertAndFindFirstIndex()
508 assert(ms->cParams.hashLog >= ms->cParams.chainLog); in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
604 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_HcFindBestMatch_generic() local
[all …]
A Dzstd_double_fast.c18 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()
56 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_generic() local
58 const U32 hBitsL = cParams->hashLog; in ZSTD_compressBlock_doubleFast_generic()
60 const U32 hBitsS = cParams->chainLog; in ZSTD_compressBlock_doubleFast_generic()
321 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast()
341 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState()
362 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_extDict_generic() local
[all …]
A Dzstd_opt.c386 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBt1() local
388 U32 const hashLog = cParams->hashLog; in ZSTD_insertBt1()
391 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertBt1()
409 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBt1()
531 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBtAndGetAllMatches() local
535 U32 const hashLog = cParams->hashLog; in ZSTD_insertBtAndGetAllMatches()
541 U32 const btLog = cParams->chainLog - 1; in ZSTD_insertBtAndGetAllMatches()
556 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBtAndGetAllMatches()
764 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_BtGetAllMatches() local
765 U32 const matchLengthSearch = cParams->minMatch; in ZSTD_BtGetAllMatches()
[all …]
A Dzstd_ldm.c109 ZSTD_compressionParameters const* cParams) in ZSTD_ldm_adjustParameters() argument
111 params->windowLog = cParams->windowLog; in ZSTD_ldm_adjustParameters()
215 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables()
627 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_ldm_blockCompress() local
628 unsigned const minMatch = cParams->minMatch; in ZSTD_ldm_blockCompress()
630 ZSTD_selectBlockCompressor(cParams->strategy, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress()
639 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
A Dzstd_ldm.h107 ZSTD_compressionParameters const* cParams);
A Dzstd_compress_internal.h165 ZSTD_compressionParameters cParams; member
216 ZSTD_compressionParameters cParams; member
479 … return (cctxParams->cParams.strategy == ZSTD_fast) && (cctxParams->cParams.targetLength > 0); in ZSTD_disableLiteralsCompression()
A Dzstd_compress_superblock.c178 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_buildSuperBlockEntropy_sequences()
447 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
/linux/lib/zstd/
A Dzstd_compress_module.c35 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/include/linux/
A Dzstd_lib.h1176 ZSTD_compressionParameters cParams; member
1422 ZSTDLIB_API size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams);
1440 ZSTDLIB_API size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams);
1451 …D_estimateCDictSize_advanced(size_t dictSize, ZSTD_compressionParameters cParams, ZSTD_dictLoadMet…
1486 ZSTD_compressionParameters cParams);
1515 ZSTD_compressionParameters cParams,
/linux/fs/btrfs/
A Dzstd.c36 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()
162 zstd_cstream_workspace_bound(&params.cParams), in zstd_calc_ws_mem_sizes()
/linux/crypto/
A Dzstd.c36 const size_t wksp_size = zstd_cctx_workspace_bound(&params.cParams); in zstd_comp_init()
/linux/fs/f2fs/
A Dcompress.c350 workspace_size = zstd_cstream_workspace_bound(&params.cParams); in zstd_init_compress_ctx()

Completed in 71 milliseconds