Home
last modified time | relevance | path

Searched refs:lowLimit (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/lib/lz4/
H A Dlz4hc_compress.c69 hc4->lowLimit = 64 * KB; in LZ4HC_init()
110 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndFindBestMatch() local
111 ? hc4->lowLimit in LZ4HC_InsertAndFindBestMatch()
121 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
182 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndGetWiderMatch() local
183 ? hc4->lowLimit in LZ4HC_InsertAndGetWiderMatch()
194 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
241 && (matchIndex + back > lowLimit) in LZ4HC_InsertAndGetWiderMatch()
658 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
708 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4_compressHC_continue_generic()
[all …]
H A Dlz4_compress.c189 const BYTE *lowLimit; in LZ4_compress_generic() local
215 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
219 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic()
223 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
271 lowLimit = dictionary; in LZ4_compress_generic()
274 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
338 && (lowLimit == dictionary)) { in LZ4_compress_generic()
406 lowLimit = dictionary; in LZ4_compress_generic()
409 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
531 const BYTE *lowLimit = (const BYTE *) src; in LZ4_compress_destSize_generic() local
[all …]
/linux-6.15/lib/zstd/compress/
H A Dzstd_compress_internal.h630 : "r"(index), "r"(lowLimit), "r"(backup) in ZSTD_selectAddr()
1038 window->lowLimit = end; in ZSTD_window_clear()
1055 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
1202 window->lowLimit -= correction; in ZSTD_window_correctOverflow()
1214 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
1220 window->lowLimit); in ZSTD_window_correctOverflow()
1274 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
1278 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist()
1362 window->lowLimit = window->dictLimit; in ZSTD_window_update()
1378 window->lowLimit = lowLimitMax; in ZSTD_window_update()
[all …]
H A Dzstd_lazy.c97 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 Dzstd_fast.c722 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local
723 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic()
726 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c628 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 Dzstd_opt.c635 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 Dzstd_ldm.c354 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstd_compress.c4547 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/linux-6.15/include/linux/
H A Dlz4.h126 unsigned int lowLimit; member