Home
last modified time | relevance | path

Searched refs:nextToUpdate (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/lib/lz4/
Dlz4hc_compress.c65 hc4->nextToUpdate = 64 * KB; in LZ4HC_init()
81 U32 idx = hc4->nextToUpdate; in LZ4HC_Insert()
96 hc4->nextToUpdate = target; in LZ4HC_Insert()
664 ctxPtr->nextToUpdate = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
760 if (streamPtr->nextToUpdate < streamPtr->dictLimit) in LZ4_saveDictHC()
761 streamPtr->nextToUpdate = streamPtr->dictLimit; in LZ4_saveDictHC()
/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c502 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal()
513 ms->nextToUpdate = target; in ZSTD_updateTree_internal()
646 ms->nextToUpdate = curr+1; /* skip insertion */ in ZSTD_insertBtAndGetAllMatches()
750 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_insertBtAndGetAllMatches()
767 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtGetAllMatches()
962 U32 nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_opt_generic()
975 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic()
1277 …assert(ms->window.dictLimit - ms->nextToUpdate <= 1); /* no prefix (note: intentional overflow, d… in ZSTD_initStats_ultra()
1286 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_initStats_ultra()
Dzstd_lazy.c34 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT()
55 ms->nextToUpdate = target; in ZSTD_updateDUBT()
369 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
389 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
462 U32 idx = ms->nextToUpdate; in ZSTD_insertAndFindFirstIndex_internal()
471 ms->nextToUpdate = target; in ZSTD_insertAndFindFirstIndex_internal()
487 U32 idx = ms->nextToUpdate; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
582 for (idx = ms->nextToUpdate; idx < target; idx++) { in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
592 ms->nextToUpdate = target; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
Dzstd_ldm.c288 if (curr > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
289 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
290 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
Dzstd_compress.c1450 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()
1872 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_resetCCtx_byCopyingCDict()
1964 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_copyCCtx_internal()
2421 if (curr > ms->nextToUpdate + 384) in ZSTD_buildSeqStore()
2422 ms->nextToUpdate = curr - MIN(192, (U32)(curr - ms->nextToUpdate - 384)); in ZSTD_buildSeqStore()
2626 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_internal()
2744 …blockState.matchState.window.dictLimit, (unsigned)zc->blockState.matchState.nextToUpdate, srcSize); in ZSTD_compressBlock_targetCBlockSize()
2772 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; in ZSTD_overflowCorrectIfNeeded()
2773 else ms->nextToUpdate -= correction; in ZSTD_overflowCorrectIfNeeded()
2819 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
[all …]
Dzstd_fast.c24 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTable()
Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable()
Dzstd_compress_internal.h155 U32 nextToUpdate; /* index from which to continue table update */ member
/linux-6.1.9/include/linux/
Dlz4.h128 unsigned int nextToUpdate; member