Home
last modified time | relevance | path

Searched refs:BOUNDED (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/lib/zstd/decompress/
H A Dzstd_decompress_internal.h117 #define ZSTD_LITBUFFEREXTRASIZE BOUNDED(ZSTD_LBMIN, ZSTD_DECODER_INTERNAL_BUFFER, ZSTD_LBMAX)
H A Dzstd_decompress.c1078 return BOUNDED(1, inputSize, dctx->expected); in ZSTD_nextSrcSizeToDecompressWithInputSize()
/openbmc/linux/lib/zstd/common/
H A Dzstd_internal.h51 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max))) macro
/openbmc/linux/lib/zstd/compress/
H A Dzstd_lazy.c969 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_row_update()
1491 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_generic()
1492 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_compressBlock_lazy_generic()
1882 const U32 mls = BOUNDED(4, ms->cParams.minMatch, 6); in ZSTD_compressBlock_lazy_extDict_generic()
1883 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_opt.c807 assert(BOUNDED(3, ms->cParams.minMatch, 6) == mls); in ZSTD_btGetAllMatches_internal()
859 U32 const mls = BOUNDED(3, ms->cParams.minMatch, 6);
H A Dzstd_compress.c1398 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1706 U32 const rowLog = BOUNDED(4, cParams->searchLog, 6); in ZSTD_reset_matchState()