Home
last modified time | relevance | path

Searched refs:reducerValue (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_ldm.c494 * reduce table indexes by `reducerValue` */
496 U32 const reducerValue) in ZSTD_ldm_reduceTable()
500 if (table[u].offset < reducerValue) table[u].offset = 0; in ZSTD_ldm_reduceTable()
501 else table[u].offset -= reducerValue; in ZSTD_ldm_reduceTable()
495 ZSTD_ldm_reduceTable(ldmEntry_t* const table, U32 const size, U32 const reducerValue) ZSTD_ldm_reduceTable() argument
H A Dzstd_lazy.h30 void ZSTD_preserveUnsortedMark (U32* const table, U32 const size, U32 const reducerValue); /*! used in ZSTD_reduceIndex(). preemptively increase value of ZSTD_DUBT_UNSORTED_MARK */
H A Dzstd_compress.c2223 * reduce table indexes by `reducerValue`, or squash to zero.
2229 ZSTD_reduceTable_internal (U32* const table, U32 const size, U32 const reducerValue, int const preserveMark) in ZSTD_reduceTable_internal() argument
2235 U32 const reducerThreshold = reducerValue + ZSTD_WINDOW_START_INDEX; in ZSTD_reduceTable_internal()
2251 newVal = table[cellNb] - reducerValue; in ZSTD_reduceTable_internal()
2258 static void ZSTD_reduceTable(U32* const table, U32 const size, U32 const reducerValue) in ZSTD_reduceTable() argument
2260 ZSTD_reduceTable_internal(table, size, reducerValue, 0); in ZSTD_reduceTable()
2263 static void ZSTD_reduceTable_btlazy2(U32* const table, U32 const size, U32 const reducerValue) in ZSTD_reduceTable_btlazy2() argument
2265 ZSTD_reduceTable_internal(table, size, reducerValue, 1); in ZSTD_reduceTable_btlazy2()
2270 static void ZSTD_reduceIndex (ZSTD_matchState_t* ms, ZSTD_CCtx_params const* params, const U32 reducerValue) in ZSTD_reduceIndex() argument
2273 ZSTD_reduceTable(ms->hashTable, hSize, reducerValue); in ZSTD_reduceIndex()
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c396 * reduce table indexes by `reducerValue` */
397 static void ZSTD_reduceTable(U32 *const table, U32 const size, U32 const reducerValue) in ZSTD_reduceTable() argument
401 if (table[u] < reducerValue) in ZSTD_reduceTable()
404 table[u] -= reducerValue; in ZSTD_reduceTable()
410 static void ZSTD_reduceIndex(ZSTD_CCtx *zc, const U32 reducerValue) in ZSTD_reduceIndex() argument
414 ZSTD_reduceTable(zc->hashTable, hSize, reducerValue); in ZSTD_reduceIndex()
419 ZSTD_reduceTable(zc->chainTable, chainSize, reducerValue); in ZSTD_reduceIndex()
424 ZSTD_reduceTable(zc->hashTable3, h3Size, reducerValue); in ZSTD_reduceIndex()

Completed in 15 milliseconds