Home
last modified time | relevance | path

Searched refs:ZSTD_OPT_NUM (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/lib/zstd/compress/
H A Dzstd_opt.c567 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_insertBtAndGetAllMatches()
718 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
765 if ( (matchLength > ZSTD_OPT_NUM) in ZSTD_insertBtAndGetAllMatches()
973 …atches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OPT_NUM)) { in ZSTD_optLdm_maybeAddMatch()
1056 U32 const sufficient_len = MIN(cParams->targetLength, ZSTD_OPT_NUM -1); in ZSTD_compressBlock_opt_generic()
1144 assert(cur < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
1216 || (cur + maxML >= ZSTD_OPT_NUM) ) { in ZSTD_compressBlock_opt_generic()
1222 if (cur > ZSTD_OPT_NUM) cur = 0; /* underflow => first match */ in ZSTD_compressBlock_opt_generic()
1258 assert(cur < ZSTD_OPT_NUM); /* control overflow*/ in ZSTD_compressBlock_opt_generic()
1280 assert(storeEnd < ZSTD_OPT_NUM); in ZSTD_compressBlock_opt_generic()
H A Dzstd_compress.c1370 + ZSTD_cwksp_aligned_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_match_t)) in ZSTD_sizeof_matchState()
1371 + ZSTD_cwksp_aligned_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_optimal_t)); in ZSTD_sizeof_matchState()
1695 …ms->opt.matchTable = (ZSTD_match_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZSTD_… in ZSTD_reset_matchState()
1696 …ms->opt.priceTable = (ZSTD_optimal_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZST… in ZSTD_reset_matchState()
/openbmc/linux/lib/zstd/common/
H A Dzstd_internal.h57 #define ZSTD_OPT_NUM (1<<12) macro