/kernel/linux/linux-5.10/include/linux/ |
D | zstd.h | 88 size_t ZSTD_compressBound(size_t srcSize); 257 const void *src, size_t srcSize, ZSTD_parameters params); 300 const void *src, size_t srcSize); 326 const void *src, size_t srcSize, const void *dict, size_t dictSize, 347 const void *src, size_t srcSize, const void *dict, size_t dictSize); 407 const void *src, size_t srcSize, const ZSTD_CDict *cdict); 458 size_t dstCapacity, const void *src, size_t srcSize, 816 size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize); 831 unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize); 853 unsigned long long ZSTD_findDecompressedSize(const void *src, size_t srcSize); [all …]
|
D | lz4.h | 346 int LZ4_compress_HC(const char *src, char *dst, int srcSize, int dstCapacity, 416 char *dst, int srcSize, int maxDstSize); 508 char *dst, int srcSize, int maxDstSize, int acceleration);
|
/kernel/linux/linux-5.10/lib/zstd/ |
D | huf_compress.c | 68 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() argument 70 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 1); in HUF_optimalTableLog() 203 size_t HUF_readCTable_wksp(HUF_CElt *CTable, U32 maxSymbolValue, const void *src, size_t srcSize, v… in HUF_readCTable_wksp() argument 223 …uffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize, workspace, works… in HUF_readCTable_wksp() 538 size_t HUF_compress1X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… in HUF_compress1X_usingCTable() argument 556 n = srcSize & ~3; /* join to mod 4 */ in HUF_compress1X_usingCTable() 557 switch (srcSize & 3) { in HUF_compress1X_usingCTable() 581 size_t HUF_compress4X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… in HUF_compress4X_usingCTable() argument 583 size_t const segmentSize = (srcSize + 3) / 4; /* first 3 segments */ in HUF_compress4X_usingCTable() 585 const BYTE *const iend = ip + srcSize; in HUF_compress4X_usingCTable() [all …]
|
D | compress.c | 38 size_t ZSTD_compressBound(size_t srcSize) { return FSE_compressBound(srcSize) + 12; } in ZSTD_compressBound() argument 180 …rs ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned long long srcSize, size_t dictSize) in ZSTD_adjustCParams() argument 182 if (srcSize + dictSize == 0) in ZSTD_adjustCParams() 187 U32 const minSrcSize = (srcSize == 0) ? 500 : 0; in ZSTD_adjustCParams() 188 U64 const rSize = srcSize + dictSize + minSrcSize; in ZSTD_adjustCParams() 434 size_t ZSTD_noCompressBlock(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_noCompressBlock() argument 436 if (srcSize + ZSTD_blockHeaderSize > dstCapacity) in ZSTD_noCompressBlock() 438 memcpy((BYTE *)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock() 439 ZSTD_writeLE24(dst, (U32)(srcSize << 2) + (U32)bt_raw); in ZSTD_noCompressBlock() 440 return ZSTD_blockHeaderSize + srcSize; in ZSTD_noCompressBlock() [all …]
|
D | huf.h | 57 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max… 128 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue); 131 size_t HUF_compress4X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… 144 size_t HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned m… 159 …ize_t hwSize, U32 *rankStats, U32 *nbSymbolsPtr, U32 *tableLogPtr, const void *src, size_t srcSize, 164 …_wksp(HUF_CElt *CTable, unsigned maxSymbolValue, const void *src, size_t srcSize, void *workspace,… 180 size_t HUF_readDTableX2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, … 181 size_t HUF_readDTableX4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, … 189 size_t HUF_compress1X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max… 191 size_t HUF_compress1X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… [all …]
|
D | decompress.c | 189 static size_t ZSTD_frameHeaderSize(const void *src, size_t srcSize) in ZSTD_frameHeaderSize() argument 191 if (srcSize < ZSTD_frameHeaderSize_prefix) in ZSTD_frameHeaderSize() 207 size_t ZSTD_getFrameParams(ZSTD_frameParams *fparamsPtr, const void *src, size_t srcSize) in ZSTD_getFrameParams() argument 211 if (srcSize < ZSTD_frameHeaderSize_prefix) in ZSTD_getFrameParams() 215 if (srcSize < ZSTD_skippableHeaderSize) in ZSTD_getFrameParams() 227 size_t const fhsize = ZSTD_frameHeaderSize(src, srcSize); in ZSTD_getFrameParams() 228 if (srcSize < fhsize) in ZSTD_getFrameParams() 297 unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize) in ZSTD_getFrameContentSize() argument 301 if (ZSTD_getFrameParams(&fParams, src, srcSize) != 0) in ZSTD_getFrameContentSize() 319 unsigned long long ZSTD_findDecompressedSize(const void *src, size_t srcSize) in ZSTD_findDecompressedSize() argument [all …]
|
D | fse_compress.c | 324 …e_t FSE_count_simple(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize) in FSE_count_simple() argument 327 const BYTE *const end = ip + srcSize; in FSE_count_simple() 332 if (srcSize == 0) { in FSE_count_simple() 485 static unsigned FSE_minTableLog(size_t srcSize, unsigned maxSymbolValue) in FSE_minTableLog() argument 487 U32 minBitsSrc = BIT_highbit32((U32)(srcSize - 1)) + 1; in FSE_minTableLog() 493 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue… in FSE_optimalTableLog_internal() argument 495 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal() 497 U32 minBits = FSE_minTableLog(srcSize, maxSymbolValue); in FSE_optimalTableLog_internal() 511 unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in FSE_optimalTableLog() argument 513 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 2); in FSE_optimalTableLog() [all …]
|
D | bitstream.h | 118 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize); 239 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize) in BIT_initDStream() argument 241 if (srcSize < 1) { in BIT_initDStream() 246 if (srcSize >= sizeof(bitD->bitContainer)) { /* normal case */ in BIT_initDStream() 248 bitD->ptr = (const char *)srcBuffer + srcSize - sizeof(bitD->bitContainer); in BIT_initDStream() 251 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() 260 switch (srcSize) { in BIT_initDStream() 275 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream() 280 bitD->bitsConsumed += (U32)(sizeof(bitD->bitContainer) - srcSize) * 8; in BIT_initDStream() 283 return srcSize; in BIT_initDStream()
|
D | fse.h | 100 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo… 107 …ort *normalizedCounter, unsigned tableLog, const unsigned *count, size_t srcSize, unsigned maxSymb… 129 …press_usingCTable(void *dst, size_t dstCapacity, const void *src, size_t srcSize, const FSE_CTable… 255 …sp(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize, unsigned *workSp… 261 …_t FSE_count_simple(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize); 263 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue…
|
D | entropy_common.c | 167 …*rankStats, U32 *nbSymbolsPtr, U32 *tableLogPtr, const void *src, size_t srcSize, void *workspace,… in HUF_readStats_wksp() argument 174 if (!srcSize) in HUF_readStats_wksp() 182 if (iSize + 1 > srcSize) in HUF_readStats_wksp() 195 if (iSize + 1 > srcSize) in HUF_readStats_wksp()
|
D | zstd_opt.h | 38 ZSTD_STATIC void ZSTD_rescaleFreqs(seqStore_t *ssPtr, const BYTE *src, size_t srcSize) in ZSTD_rescaleFreqs() argument 47 if (srcSize <= 1024) in ZSTD_rescaleFreqs() 52 for (u = 0; u < srcSize; u++) in ZSTD_rescaleFreqs() 407 void ZSTD_compressBlock_opt_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const int ultr… in ZSTD_compressBlock_opt_generic() argument 413 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_generic() 430 ZSTD_rescaleFreqs(seqStorePtr, (const BYTE *)src, srcSize); in ZSTD_compressBlock_opt_generic() 700 void ZSTD_compressBlock_opt_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const … in ZSTD_compressBlock_opt_extDict_generic() argument 706 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_extDict_generic() 733 ZSTD_rescaleFreqs(seqStorePtr, (const BYTE *)src, srcSize); in ZSTD_compressBlock_opt_extDict_generic()
|
D | huf_decompress.c | 90 size_t HUF_readDTableX2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, … in HUF_readDTableX2_wksp() argument 115 …uffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize, workspace, works… in HUF_readDTableX2_wksp() 482 size_t HUF_readDTableX4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, … in HUF_readDTableX4_wksp() argument 525 …ghtList, HUF_SYMBOLVALUE_MAX + 1, rankStats, &nbSymbols, &tableLog, src, srcSize, workspace, works… in HUF_readDTableX4_wksp()
|
/kernel/linux/linux-5.10/lib/lz4/ |
D | lz4_decompress.c | 63 int srcSize, in LZ4_decompress_generic() argument 84 const BYTE * const iend = ip + srcSize; in LZ4_decompress_generic() 104 srcSize, outputSize); in LZ4_decompress_generic() 112 return ((srcSize == 1) && (*ip == 0)) ? 0 : -1; in LZ4_decompress_generic() 117 if ((endOnInput) && unlikely(srcSize == 0)) in LZ4_decompress_generic()
|
D | lz4hc_compress.c | 585 int srcSize, in LZ4_compress_HC_extStateHC() argument 600 if (maxDstSize < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC() 602 srcSize, maxDstSize, compressionLevel, limitedOutput); in LZ4_compress_HC_extStateHC() 605 srcSize, maxDstSize, compressionLevel, noLimit); in LZ4_compress_HC_extStateHC() 608 int LZ4_compress_HC(const char *src, char *dst, int srcSize, in LZ4_compress_HC() argument 612 srcSize, maxDstSize, compressionLevel); in LZ4_compress_HC()
|