Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dcompress.c72 size_t blockSize; member
92 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog); in ZSTD_CCtxWorkspaceBound() local
94 size_t const maxNbSeq = blockSize / divider; in ZSTD_CCtxWorkspaceBound()
95 size_t const tokenSpace = blockSize + 11 * maxNbSeq; in ZSTD_CCtxWorkspaceBound()
252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced() local
254 size_t const maxNbSeq = blockSize / divider; in ZSTD_resetCCtx_advanced()
255 size_t const tokenSpace = blockSize + 11 * maxNbSeq; in ZSTD_resetCCtx_advanced()
298 zc->blockSize = blockSize; in ZSTD_resetCCtx_advanced()
2357 size_t blockSize = cctx->blockSize; in ZSTD_compress_generic() local
2368 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_generic()
[all …]
Ddecompress.c1490 size_t ZSTD_insertBlock(ZSTD_DCtx *dctx, const void *blockStart, size_t blockSize) in ZSTD_insertBlock() argument
1493 dctx->previousDstEnd = (const char *)blockStart + blockSize; in ZSTD_insertBlock()
1494 return blockSize; in ZSTD_insertBlock()
2173 size_t blockSize; member
2185 size_t const blockSize = MIN(maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_DStreamWorkspaceBound() local
2186 size_t const inBuffSize = blockSize; in ZSTD_DStreamWorkspaceBound()
2187 size_t const outBuffSize = maxWindowSize + blockSize + WILDCOPY_OVERLENGTH * 2; in ZSTD_DStreamWorkspaceBound()
2231 size_t const blockSize = MIN(zds->maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_initDStream() local
2232 size_t const neededOutSize = zds->maxWindowSize + blockSize + WILDCOPY_OVERLENGTH * 2; in ZSTD_initDStream()
2234 zds->inBuff = (char *)ZSTD_malloc(blockSize, zds->customMem); in ZSTD_initDStream()
[all …]
/linux-4.19.296/include/linux/
Dzstd.h1155 size_t blockSize);