Searched refs:windowSize (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/lib/ ! |
D | decompress_unzstd.c | 258 if (header.windowSize > ZSTD_WINDOWSIZE_MAX) { in __unzstd() 268 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in __unzstd() 270 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in __unzstd()
|
/linux-6.6.21/lib/zstd/decompress/ ! |
D | zstd_decompress.c | 460 U64 windowSize = 0; in ZSTD_getFrameHeader_advanced() local 470 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced() 471 windowSize += (windowSize >> 3) * (wlByte&7); in ZSTD_getFrameHeader_advanced() 493 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced() 497 zfhPtr->windowSize = windowSize; in ZSTD_getFrameHeader_advanced() 498 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced() 1773 size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSi… in ZSTD_decodingBufferSize_min() argument 1775 size_t const blockSize = (size_t) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_decodingBufferSize_min() 1777 …unsigned long long const neededRBSize = windowSize + blockSize + ZSTD_BLOCKSIZE_MAX + (WILDCOPY_OV… in ZSTD_decodingBufferSize_min() 1785 size_t ZSTD_estimateDStreamSize(size_t windowSize) in ZSTD_estimateDStreamSize() argument [all …]
|
D | zstd_decompress_block.c | 1274 size_t const windowSize = dctx->fParams.windowSize; local 1282 if ((size_t)(oLitEnd - prefixStart) >= windowSize) return 0; 1294 size_t const windowSize = dctx->fParams.windowSize; local 1306 assert(seq.offset <= windowSize + dictSize); 1309 assert(seq.offset <= windowSize); 1989 …Offset = (ZSTD_longOffset_e)(MEM_32bits() && (!frame || (dctx->fParams.windowSize > (1ULL << STREA… 2023 && (!frame || (dctx->fParams.windowSize > (1<<24)))
|
/linux-6.6.21/kernel/module/ ! |
D | decompress.c | 237 if (header.windowSize > (1 << ZSTD_WINDOWLOG_MAX)) { in module_zstd_decompress() 243 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in module_zstd_decompress() 250 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in module_zstd_decompress()
|
/linux-6.6.21/include/linux/ ! |
D | zstd_lib.h | 1508 ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize(size_t windowSize); 2477 unsigned long long windowSize; /* can be very large, up to <= frameContentSize */ member 2495 ZSTDLIB_STATIC_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long …
|
/linux-6.6.21/lib/zstd/compress/ ! |
D | zstd_compress.c | 1223 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog() local 1224 U64 const dictAndWindowSize = dictSize + windowSize; in ZSTD_dictAndWindowLog() 1229 if (windowSize >= dictSize + srcSize) { in ZSTD_dictAndWindowLog() 1398 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local 1399 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1778 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrc… in ZSTD_resetCCtx_internal() local 1779 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_resetCCtx_internal() 1786 ? windowSize + blockSize in ZSTD_resetCCtx_internal() 1810 DEBUGLOG(4, "windowSize: %zu - blockSize: %zu", windowSize, blockSize); in ZSTD_resetCCtx_internal() 3927 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader() local [all …]
|