| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 260 U32 lowLimit; /* below that point, no more valid data */ member 632 ZSTD_selectAddr(U32 index, U32 lowLimit, const BYTE* candidate, const BYTE* backup) in ZSTD_selectAddr() argument 639 : "r"(index), "r"(lowLimit), "r"(backup) in ZSTD_selectAddr() 643 return index >= lowLimit ? candidate : backup; in ZSTD_selectAddr() 1047 window->lowLimit = end; in ZSTD_window_clear() 1054 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 1064 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1208 if (window->lowLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow() 1209 window->lowLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow() 1211 window->lowLimit -= correction; in ZSTD_window_correctOverflow() [all …]
|
| H A D | zstd_lazy.c | 97 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1() 187 U32 const dictLowLimit = dms->window.lowLimit; in ZSTD_DUBT_findBetterDictMatch() 188 U32 const dictIndexDelta = ms->window.lowLimit - dictHighLimit; in ZSTD_DUBT_findBetterDictMatch() 685 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch() 688 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch() local 709 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch() 1161 const U32 lowestValid = ms->window.lowLimit; in ZSTD_RowFindBestMatch() 1164 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_RowFindBestMatch() local 1235 if (matchIndex < lowLimit) in ZSTD_RowFindBestMatch() 1259 assert(matchIndex >= lowLimit); in ZSTD_RowFindBestMatch() [all …]
|
| H A D | zstd_fast.c | 724 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local 725 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic() 728 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
|
| H A D | zstd_double_fast.c | 628 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local 629 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() 631 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
| H A D | zstd_opt.c | 635 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches() 1496 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra() 1505 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra() 1536 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
|
| H A D | zstd_ldm.c | 354 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
|
| H A D | zstd_compress.c | 4634 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
|
| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 195 U32 lowLimit; /* below that point, no more valid data */ member 959 window->lowLimit = end; in ZSTD_window_clear() 966 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 976 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1118 if (window->lowLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow() 1119 window->lowLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow() 1121 window->lowLimit -= correction; in ZSTD_window_correctOverflow() 1133 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow() 1139 window->lowLimit); in ZSTD_window_correctOverflow() 1193 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist() [all …]
|
| H A D | zstd_fast.c | 563 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local 564 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic() 567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
|
| H A D | zstd_double_fast.c | 547 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local 548 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() 550 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
| H A D | zstd_lazy.c | 86 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1() 175 U32 const dictLowLimit = dms->window.lowLimit; in ZSTD_DUBT_findBetterDictMatch() 176 U32 const dictIndexDelta = ms->window.lowLimit - dictHighLimit; in ZSTD_DUBT_findBetterDictMatch() 665 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch() 668 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch() local 689 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch() 1148 const U32 lowestValid = ms->window.lowLimit; in ZSTD_RowFindBestMatch() 1151 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_RowFindBestMatch() local 1208 if (matchIndex < lowLimit) in ZSTD_RowFindBestMatch() 1231 assert(matchIndex >= lowLimit); in ZSTD_RowFindBestMatch() [all …]
|
| H A D | zstd_opt.c | 599 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches() 1366 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra() 1375 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra() 1406 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
|
| H A D | zstd_ldm.c | 332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
|
| H A D | zstdmt_compress.c | 1584 extDict.start = window.dictBase + window.lowLimit; in ZSTDMT_doesOverlapWindow() 1585 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()
|
| H A D | zstd_compress.c | 3965 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
|