/kernel/linux/linux-5.10/lib/lz4/ |
H A D | lz4hc_compress.c | 69 hc4->dictLimit = 64 * KB; in LZ4HC_init() 110 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch() local 125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch() 144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() 153 base + dictLimit, in LZ4HC_InsertAndFindBestMatch() 181 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndGetWiderMatch() local 182 const BYTE * const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch() 198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch() [all...] |
/kernel/linux/linux-6.6/lib/lz4/ |
H A D | lz4hc_compress.c | 69 hc4->dictLimit = 64 * KB; in LZ4HC_init() 110 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch() local 125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch() 144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() 153 base + dictLimit, in LZ4HC_InsertAndFindBestMatch() 181 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndGetWiderMatch() local 182 const BYTE * const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch() 198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch() [all...] |
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_lazy.c | 37 DEBUGLOG(7, "ZSTD_updateDUBT, from %u to %u (dictLimit:%u)", in ZSTD_updateDUBT() 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local 77 const BYTE* const ip = (curr>=dictLimit) ? base + curr : dictBase + curr; in ZSTD_insertDUBT1() 78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() 79 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertDUBT1() 80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() 300 const U32 dictLimit = ms->window.dictLimit; ZSTD_DUBT_findBestMatch() local 516 ZSTD_dedicatedDictSearch_lazy_search(size_t* offsetPtr, size_t ml, U32 nbAttempts, const ZSTD_matchState_t* const dms, const BYTE* const ip, const BYTE* const iLimit, const BYTE* const prefixStart, const U32 curr, const U32 dictLimit, const size_t ddsIdx) ZSTD_dedicatedDictSearch_lazy_search() argument 660 const U32 dictLimit = ms->window.dictLimit; ZSTD_HcFindBestMatch() local 1134 const U32 dictLimit = ms->window.dictLimit; ZSTD_RowFindBestMatch() local 1876 const U32 dictLimit = ms->window.dictLimit; ZSTD_compressBlock_lazy_extDict_generic() local [all...] |
H A D | zstd_compress_internal.h | 188 U32 dictLimit; /* below that point, need extDict */ member 904 window->dictLimit = end; in ZSTD_window_clear() 909 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 920 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1067 if (window->dictLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow() 1068 window->dictLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow() 1070 window->dictLimit -= correction; in ZSTD_window_correctOverflow() 1076 /* Ensure that lowLimit and dictLimit didn't underflow. */ in ZSTD_window_correctOverflow() 1078 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow() 1105 * In normal dict mode, the dictionary lies between lowLimit and dictLimit [all...] |
H A D | zstd_opt.c | 428 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local 429 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBt1() 430 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1() 484 if (!extDict || (matchIndex+matchLength >= dictLimit)) { in ZSTD_insertBt1() 485 assert(matchIndex+matchLength >= dictLimit); /* might be wrong if actually extDict */ in ZSTD_insertBt1() 491 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBt1() 580 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() local 581 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches() [all...] |
H A D | zstd_ldm.c | 331 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local 332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal() 336 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL; in ZSTD_ldm_generateSequences_internal() 337 BYTE const* const lowPrefixPtr = base + dictLimit; in ZSTD_ldm_generateSequences_internal() 411 cur->offset < dictLimit ? dictBase : base; in ZSTD_ldm_generateSequences_internal() 414 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal() 416 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
|
H A D | zstd_fast.c | 385 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 395 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 566 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local 567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
|
H A D | zstd_double_fast.c | 284 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 296 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 549 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local 550 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
H A D | zstd_compress.c | 1607 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState() 1994 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 2004 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict() 2010 cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 2746 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore() 3586 DEBUGLOG(4, "ZSTD_compressBlock_splitBlock_internal (dstCapacity=%u, dictLimit=%u, nextToUpdate=%u)", in ZSTD_compressBlock_splitBlock_internal() 3587 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_splitBlock_internal() 3684 DEBUGLOG(5, "ZSTD_compressBlock_internal (dstCapacity=%u, dictLimit=%u, nextToUpdate=%u)", in ZSTD_compressBlock_internal() 3685 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal() 3797 DEBUGLOG(5, "ZSTD_compressBlock_targetCBlockSize (dstCapacity=%u, dictLimit in ZSTD_compressBlock_targetCBlockSize() [all...] |
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 57 U32 dictLimit; /* below that point, need extDict */ member 223 cctx->dictLimit = end; in ZSTD_continueCCtx() 295 zc->dictLimit = 0; in ZSTD_resetCCtx_advanced() 375 dstCCtx->dictLimit = srcCCtx->dictLimit; in ZSTD_copyCCtx() 1017 const U32 lowestIndex = cctx->dictLimit; in ZSTD_compressBlock_fast_generic() 1128 const U32 dictLimit = ctx->dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local 1129 const BYTE *const lowPrefixPtr = base + dictLimit; in ZSTD_compressBlock_fast_extDict_generic() 1130 const BYTE *const dictEnd = dictBase + dictLimit; in ZSTD_compressBlock_fast_extDict_generic() 1409 const U32 dictLimit = ctx->dictLimit; ZSTD_compressBlock_doubleFast_extDict_generic() local 1573 const U32 dictLimit = zc->dictLimit; ZSTD_insertBt1() local 1656 const U32 dictLimit = zc->dictLimit; ZSTD_insertBtAndFindBestMatch() local 1828 const U32 dictLimit = zc->dictLimit; ZSTD_HcFindBestMatch_generic() local 2067 const U32 dictLimit = ctx->dictLimit; ZSTD_compressBlock_lazy_extDict_generic() local [all...] |
H A D | zstd_opt.h | 249 const U32 dictLimit = zc->dictLimit; in ZSTD_insertBtAndGetAllMatches() local 250 const BYTE *const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches() 251 const BYTE *const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches() 268 if ((!extDict) || matchIndex3 >= dictLimit) { in ZSTD_insertBtAndGetAllMatches() 275 ZSTD_readMINMATCH(ip, MINMATCH)) /* assumption : matchIndex3 <= dictLimit-4 (by table construction) */ in ZSTD_insertBtAndGetAllMatches() 300 if ((!extDict) || (matchIndex + matchLength >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches() 308 if (matchIndex + matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches() 416 const BYTE *const prefixStart = base + ctx->dictLimit; in ZSTD_compressBlock_opt_generic() 710 const U32 dictLimit in ZSTD_compressBlock_opt_extDict_generic() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | lz4.h | 124 unsigned int dictLimit; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | lz4.h | 124 unsigned int dictLimit; member
|