Home
last modified time | relevance | path

Searched refs:checksumFlag (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/lib/zstd/
Dzstd_compress_module.c51 cctx, ZSTD_c_checksumFlag, parameters->fParams.checksumFlag)); in zstd_cctx_init()
/linux-5.19.10/lib/zstd/decompress/
Dzstd_decompress.c441 U32 const checksumFlag = (fhdByte>>2)&1; in ZSTD_getFrameHeader_advanced() local
484 zfhPtr->checksumFlag = checksumFlag; in ZSTD_getFrameHeader_advanced()
619 dctx->validateChecksum = (dctx->fParams.checksumFlag && !dctx->forceIgnoreChecksum) ? 1 : 0; in ZSTD_decodeFrameHeader()
681 if (zfh.checksumFlag) { in ZSTD_findFrameSizeInfo()
855 if (dctx->fParams.checksumFlag) { /* Frame content checksum verification */ in ZSTD_decompressFrame()
1097 if (dctx->fParams.checksumFlag) { in ZSTD_decompressContinue()
1155 if (dctx->fParams.checksumFlag) { /* another round for frame checksum */ in ZSTD_decompressContinue()
/linux-5.19.10/include/linux/
Dzstd_lib.h1171 …int checksumFlag; /*< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, for… member
2363 unsigned checksumFlag; member
/linux-5.19.10/lib/zstd/compress/
Dzstd_compress.c655 CCtxParams->fParams.checksumFlag = value != 0; in ZSTD_CCtxParams_setParameter()
656 return CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_setParameter()
806 *value = CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_getParameter()
2802 if (cctx->appliedParams.fParams.checksumFlag && srcSize) in ZSTD_compress_frameChunk()
2867 U32 const checksumFlag = params->fParams.checksumFlag>0; in ZSTD_writeFrameHeader() local
2873 …BYTE const frameHeaderDescriptionByte = (BYTE)(dictIDSizeCode + (checksumFlag<<2) + (singleSegmen… in ZSTD_writeFrameHeader()
3438 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_writeEpilogue()
4812 if (cctx->appliedParams.fParams.checksumFlag && srcSize) { in ZSTD_compressSequences()
4824 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_compressSequences()
4855 …t const checksumSize = (size_t)(zcs->frameEnded ? 0 : zcs->appliedParams.fParams.checksumFlag * 4); in ZSTD_endStream()