/openbmc/linux/lib/zstd/common/ |
H A D | huf.h | 95 void* workSpace, size_t wkspSize); 208 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspS… 219 void* workSpace, size_t wkspSize); 240 void* workspace, size_t wkspSize, 281 …bleX1_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize); 285 …bleX2_wksp (HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize); 314 …void* workSpace, size_t wkspSize, /*< `workSpace` must be aligned on 4-bytes boundaries, `wkspSi… 323 …x, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize); 346 …st, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize, int bmi2); 351 …2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int bmi2); [all …]
|
H A D | fse_decompress.c | 83 …if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_t… in FSE_buildDTable_internal() 178 …urn FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSize); in FSE_buildDTable_wksp() 310 …return FSE_decompress_wksp_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, /* … in FSE_decompress_wksp() 322 unsigned maxLog, void* workSpace, size_t wkspSize, in FSE_decompress_wksp_body() argument 332 if (wkspSize < sizeof(*wksp)) return ERROR(GENERIC); in FSE_decompress_wksp_body() 344 …if (FSE_DECOMPRESS_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(tableLog_tooLarge); in FSE_decompress_wksp_body() 346 wkspSize -= sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog); in FSE_decompress_wksp_body() 364 … return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 0); in FSE_decompress_wksp_body_default() 370 … return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 1); in FSE_decompress_wksp_body_bmi2() 378 …eturn FSE_decompress_wksp_body_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize); in FSE_decompress_wksp_bmi2() [all …]
|
H A D | entropy_common.c | 263 void* workSpace, size_t wkspSize, in HUF_readStats_body() argument 289 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body() 329 void* workSpace, size_t wkspSize) in HUF_readStats_body_default() argument 331 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 0); in HUF_readStats_body_default() 338 void* workSpace, size_t wkspSize) in HUF_readStats_body_bmi2() argument 340 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 1); in HUF_readStats_body_bmi2() 347 void* workSpace, size_t wkspSize, in HUF_readStats_wksp() argument 352 …_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp() 356 …fault(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp()
|
H A D | fse.h | 325 …src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize); 340 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize); 344 …* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize); 355 …dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize); 358 …y, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize, int bmi2);
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_superblock.c | 305 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_literal() argument 330 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument 339 HIST_countFast_wksp(countWksp, &max, codeTable, nbSeq, workspace, wkspSize); /* can't fail */ in ZSTD_estimateSubBlockSize_symbolType() 366 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_sequences() argument 375 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 379 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 383 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 395 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize() argument 400 workspace, wkspSize, writeLitEntropy); in ZSTD_estimateSubBlockSize() 403 workspace, wkspSize, writeSeqEntropy); in ZSTD_estimateSubBlockSize() [all …]
|
H A D | huf_compress.c | 685 if (wkspSize < sizeof(HUF_buildCTable_wksp_tables)) in HUF_buildCTable_wksp() 1179 void* workSpace, size_t wkspSize, in HUF_compress_internal() argument 1191 if (wkspSize < sizeof(*table)) return ERROR(workSpace_tooSmall); in HUF_compress_internal() 1285 void* workSpace, size_t wkspSize) in HUF_compress1X_wksp() argument 1289 workSpace, wkspSize, in HUF_compress1X_wksp() 1296 void* workSpace, size_t wkspSize, in HUF_compress1X_repeat() argument 1302 workSpace, wkspSize, hufTable, in HUF_compress1X_repeat() 1312 void* workSpace, size_t wkspSize) in HUF_compress4X_wksp() argument 1316 workSpace, wkspSize, in HUF_compress4X_wksp() 1327 void* workSpace, size_t wkspSize, in HUF_compress4X_repeat() argument [all …]
|
H A D | zstd_compress.c | 2968 void* workspace, size_t wkspSize) in ZSTD_buildBlockEntropyStats_literals() argument 2971 BYTE* const wkspEnd = wkspStart + wkspSize; in ZSTD_buildBlockEntropyStats_literals() 3125 void* workspace, size_t wkspSize) in ZSTD_buildBlockEntropyStats() argument 3133 workspace, wkspSize); in ZSTD_buildBlockEntropyStats() 3140 workspace, wkspSize); in ZSTD_buildBlockEntropyStats() 3149 void* workspace, size_t wkspSize, in ZSTD_estimateBlockSize_literal() argument 3177 void* workspace, size_t wkspSize) in ZSTD_estimateBlockSize_symbolType() argument 3223 workspace, wkspSize); in ZSTD_estimateBlockSize_sequences() 3227 workspace, wkspSize); in ZSTD_estimateBlockSize_sequences() 3231 workspace, wkspSize); in ZSTD_estimateBlockSize_sequences() [all …]
|
H A D | fse_compress.c | 69 void* workSpace, size_t wkspSize) in FSE_buildCTable_wksp() argument 86 …if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_to… in FSE_buildCTable_wksp()
|
H A D | zstd_compress_internal.h | 119 void* workspace, size_t wkspSize);
|
/openbmc/linux/lib/zstd/decompress/ |
H A D | huf_decompress.c | 348 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2() 761 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument 1043 void* workSpace, size_t wkspSize) in HUF_readDTableX2_wksp() argument 1062 if (sizeof(*wksp) > wkspSize) return ERROR(GENERIC); in HUF_readDTableX2_wksp_bmi2() 1498 workSpace, wkspSize); in HUF_decompress4X2_DCtx_wksp_bmi2() 1617 size_t wkspSize) in HUF_decompress4X_hufOnly_wksp() argument 1634 cSrcSize, workSpace, wkspSize): in HUF_decompress4X_hufOnly_wksp() 1655 cSrcSize, workSpace, wkspSize); in HUF_decompress1X_DCtx_wksp() 1660 cSrcSize, workSpace, wkspSize); in HUF_decompress1X_DCtx_wksp() 1663 cSrcSize, workSpace, wkspSize): in HUF_decompress1X_DCtx_wksp() [all …]
|
H A D | zstd_decompress_block.h | 64 unsigned tableLog, void* wksp, size_t wkspSize,
|
H A D | zstd_decompress_block.c | 447 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body() argument 461 assert(wkspSize >= ZSTD_BUILD_FSE_TABLE_WKSP_SIZE); in ZSTD_buildFSETable_body() 462 (void)wkspSize; in ZSTD_buildFSETable_body() 567 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_default() argument 570 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_default() 577 unsigned tableLog, void* wksp, size_t wkspSize) in ZSTD_buildFSETable_body_bmi2() argument 580 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable_body_bmi2() 587 unsigned tableLog, void* wksp, size_t wkspSize, int bmi2) in ZSTD_buildFSETable() argument 592 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable() 598 baseValue, nbAdditionalBits, tableLog, wksp, wkspSize); in ZSTD_buildFSETable() [all …]
|