Home
last modified time | relevance | path

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

/openbmc/linux/lib/lz4/
H A Dlz4hc_compress.c70 hc4->lowLimit = 64 * KB; in LZ4HC_init()
111 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndFindBestMatch() local
112 ? hc4->lowLimit in LZ4HC_InsertAndFindBestMatch()
122 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
183 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndGetWiderMatch() local
184 ? hc4->lowLimit in LZ4HC_InsertAndGetWiderMatch()
195 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
242 && (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.c190 const BYTE *lowLimit; in LZ4_compress_generic() local
216 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
220 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic()
224 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
272 lowLimit = dictionary; in LZ4_compress_generic()
275 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
339 && (lowLimit == dictionary)) { in LZ4_compress_generic()
407 lowLimit = dictionary; in LZ4_compress_generic()
410 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
532 const BYTE *lowLimit = (const BYTE *) src; in LZ4_compress_destSize_generic() local
[all …]
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_internal.h903 window->lowLimit = end; in ZSTD_window_clear()
920 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
1065 window->lowLimit -= correction; in ZSTD_window_correctOverflow()
1077 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
1083 window->lowLimit); in ZSTD_window_correctOverflow()
1137 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
1141 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist()
1218 window->lowLimit = window->dictLimit; in ZSTD_window_update()
1224 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update()
1233 window->lowLimit = lowLimitMax; in ZSTD_window_update()
[all …]
H A Dzstd_fast.c563 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 Dzstd_double_fast.c547 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 Dzstd_lazy.c86 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()
1139 const U32 lowestValid = ms->window.lowLimit; in ZSTD_RowFindBestMatch()
1142 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_RowFindBestMatch() local
1199 if (matchIndex < lowLimit) in ZSTD_RowFindBestMatch()
1222 assert(matchIndex >= lowLimit); in ZSTD_RowFindBestMatch()
[all …]
H A Dzstd_opt.c599 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 Dzstd_ldm.c332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstd_compress.c3874 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/openbmc/u-boot/lib/
H A Dlz4.c90 const BYTE* const lowLimit = lowPrefix - dictSize; in LZ4_decompress_generic() local
153 …if ((checkOffset) && (unlikely(match < lowLimit))) goto _output_error; /* Error : offset outside… in LZ4_decompress_generic()
/openbmc/linux/include/linux/
H A Dlz4.h126 unsigned int lowLimit; member