| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 78 const ZSTD_dictMode_e dictMode) in ZSTD_insertDUBT1() argument 115 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1() 118 const BYTE* const mBase = ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1() 172 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBetterDictMatch() argument 197 (void)dictMode; in ZSTD_DUBT_findBetterDictMatch() 198 assert(dictMode == ZSTD_dictMatchState); in ZSTD_DUBT_findBetterDictMatch() 248 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBestMatch() argument 274 assert(dictMode != ZSTD_dedicatedDictSearch); in ZSTD_DUBT_findBestMatch() 305 nbCandidates, unsortLimit, dictMode); in ZSTD_DUBT_findBestMatch() 330 if ((dictMode != ZSTD_extDict) || (matchIndex+matchLength >= dictLimit)) { in ZSTD_DUBT_findBestMatch() [all …]
|
| H A D | zstd_opt.c | 566 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument 572 idx, target, dictMode); in ZSTD_updateTree_internal() 575 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal() 596 const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument 629 const ZSTD_MatchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches() 631 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches() 632 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches() 633 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches() 634 U32 const dmsHighLimit = dictMode == ZSTD_dictMatchState ? (U32)(dmsEnd - dmsBase) : 0; in ZSTD_insertBtAndGetAllMatches() 635 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches() [all …]
|
| H A D | zstd_fast.c | 426 #define ZSTD_GEN_FAST_FN(dictMode, mml, cmov) … argument 427 … static size_t ZSTD_compressBlock_fast_##dictMode##_##mml##_##cmov( \ 431 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \
|
| H A D | zstd_double_fast.c | 550 #define ZSTD_GEN_DFAST_FN(dictMode, mls) … argument 551 …static size_t ZSTD_compressBlock_doubleFast_##dictMode##_##mls( … 555 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
|
| H A D | zstd_compress.c | 3070 …lockCompressor(ZSTD_strategy strat, ZSTD_ParamSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument 3121 …DEBUGLOG(5, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (i… in ZSTD_selectBlockCompressor() 3147 selectedCompressor = rowBasedBlockCompressors[(int)dictMode][(int)strat - (int)ZSTD_greedy]; in ZSTD_selectBlockCompressor() 3149 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor() 3302 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local 3406 dictMode); in ZSTD_buildSeqStore() 3419 dictMode); in ZSTD_buildSeqStore()
|
| H A D | zstd_compress_internal.h | 582 …ckCompressor(ZSTD_strategy strat, ZSTD_ParamSwitch_e rowMatchfinderMode, ZSTD_dictMode_e dictMode);
|
| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 67 const ZSTD_dictMode_e dictMode) in ZSTD_insertDUBT1() argument 104 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1() 107 const BYTE* const mBase = ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1() 160 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBetterDictMatch() argument 185 (void)dictMode; in ZSTD_DUBT_findBetterDictMatch() 186 assert(dictMode == ZSTD_dictMatchState); in ZSTD_DUBT_findBetterDictMatch() 235 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBestMatch() argument 261 assert(dictMode != ZSTD_dedicatedDictSearch); in ZSTD_DUBT_findBestMatch() 292 nbCandidates, unsortLimit, dictMode); in ZSTD_DUBT_findBestMatch() 317 if ((dictMode != ZSTD_extDict) || (matchIndex+matchLength >= dictLimit)) { in ZSTD_DUBT_findBestMatch() [all …]
|
| H A D | zstd_opt.c | 533 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument 539 idx, target, dictMode); in ZSTD_updateTree_internal() 542 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal() 560 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument 593 const ZSTD_matchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches() 595 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches() 596 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches() 597 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches() 598 U32 const dmsHighLimit = dictMode == ZSTD_dictMatchState ? (U32)(dmsEnd - dmsBase) : 0; in ZSTD_insertBtAndGetAllMatches() 599 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches() [all …]
|
| H A D | zstd_fast.c | 317 #define ZSTD_GEN_FAST_FN(dictMode, mls, step) … argument 318 …static size_t ZSTD_compressBlock_fast_##dictMode##_##mls##_##step( … 322 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls, step); \
|
| H A D | zstd_double_fast.c | 471 #define ZSTD_GEN_DFAST_FN(dictMode, mls) … argument 472 …static size_t ZSTD_compressBlock_doubleFast_##dictMode##_##mls( … 476 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
|
| H A D | zstd_compress.c | 2724 …lockCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument 2772 …DEBUGLOG(4, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (i… in ZSTD_selectBlockCompressor() 2790 selectedCompressor = rowBasedBlockCompressors[(int)dictMode][(int)strat - (int)ZSTD_greedy]; in ZSTD_selectBlockCompressor() 2792 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor() 2849 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local 2885 dictMode); in ZSTD_buildSeqStore()
|
| H A D | zstd_compress_internal.h | 466 …ckCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e rowMatchfinderMode, ZSTD_dictMode_e dictMode);
|