Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/zstd/compress/zstd_compress.c ZSTD_buildSeqStore() -> ZSTD_transferSequences_wBlockDelim()

Type Parameter Key Value
PARAM_VALUE 0 cctx 4096-ptr_max
PARAM_VALUE 0 cctx->appliedParams.extSeqProdFunc 1-u64max
PARAM_VALUE 0 cctx->appliedParams.ldmParams.enableLdm 0,2-u32max
PARAM_VALUE 0 cctx->blockState.matchState.ldmSeqStore->posInSequence 0-4294967294
PARAM_VALUE 0 cctx->blockState.matchState.window.nextSrc 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.nextCBlock 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.nextCBlock->rep 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.prevCBlock 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.prevCBlock->rep 4096-ptr_max
PARAM_VALUE 0 cctx->cdict->useRowMatchFinder 1-u32max
PARAM_VALUE 0 cctx->extSeqBuf 4096-ptr_max
PARAM_VALUE 0 cctx->externSeqStore.posInSequence 0-4294967294
PARAM_VALUE 0 cctx->isFirstBlock 0-1
PARAM_VALUE 0 cctx->localDict.cdict->useRowMatchFinder 1-u32max
PARAM_VALUE 0 cctx->seqCollector.collectSequences 0-1
PARAM_VALUE 0 cctx->seqStore.longLengthType 0
PARAM_VALUE 0 cctx->stage 1-3
PARAM_VALUE 0 *cctx->blockState.nextCBlock->entropy.fse.litlengthCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.nextCBlock->entropy.fse.matchlengthCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.nextCBlock->entropy.fse.offcodeCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.nextCBlock->rep 0-4294967295
PARAM_VALUE 0 *cctx->blockState.prevCBlock->entropy.fse.litlengthCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.prevCBlock->entropy.fse.matchlengthCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.prevCBlock->entropy.fse.offcodeCTable 0-4294967295
PARAM_VALUE 0 *cctx->blockState.prevCBlock->rep 0-4294967295
PARAM_VALUE 1 seqPos 10878385377107968
PARAM_VALUE 1 seqPos->idx 0
PARAM_VALUE 1 seqPos->posInSrc 0
PARAM_VALUE 2 inSeqs 4096-ptr_max
PARAM_VALUE 3 inSeqsSize 18446744073709551510,u64max
PARAM_VALUE 5 blockSize 7-u64max
BUF_SIZE 0 cctx (-1),4097-s32max
BUF_SIZE 0 cctx (-1),4097-s32max
BUF_SIZE 4 src (-1),4096
BUF_SIZE 4 src (-1),4096
CAPPED_DATA 0 cctx->externSeqStore.size 1
CAPPED_DATA 3 inSeqsSize 1
CAPPED_DATA 3 inSeqsSize 1
CAPPED_DATA 5 blockSize 1
CAPPED_DATA 5 blockSize 1
DATA_SOURCE 0 cctx $0
DATA_SOURCE 3 inSeqsSize r ZSTD_postProcessSequenceProducerResult
DATA_SOURCE 4 src $1
DATA_SOURCE 5 blockSize $2
FUZZY_MAX 0 cctx->isFirstBlock 0
FUZZY_MAX 0 cctx->stage 2
FUZZY_MAX 5 blockSize 7
PARAM_COMPARE 0 cctx->externSeqStore.pos >= $0->externSeqStore.size
NOSPEC 0 cctx->xxhState->mem64
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 cctx->expectedInBuffer.pos 2-s32max[c]
HOST_DATA 0 cctx->expectedInBuffer.size 2-s32max[c]
USER_DATA 0 cctx->blockState.matchState.window->nextSrc 0-255
USER_DATA 0 cctx->expectedInBuffer.pos 129-4094[c]
USER_DATA 0 cctx->expectedInBuffer.size 0-1000000000[c]
USER_DATA 0 cctx->ldmState.window->nextSrc 0-255
USER_DATA 0 cctx->xxhState->mem64 0-255
USER_DATA 0 *cctx->blockState.matchState->window.nextSrc 0-255
USER_DATA 0 *cctx->ldmState.window.nextSrc 0-255
UNITS 4 src unit_byte
UNITS 5 blockSize unit_byte
UNITS 6 externalRepSearch unit_byte
USER_PTR 4 src

lib/zstd/compress/zstd_compress.c ZSTD_compressSequences_internal() -> ZSTD_compressSequences_internal ptr sequenceCopier()

Type Parameter Key Value
PARAM_VALUE 0 cctx 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.matchState->hashCache 0-u32max
PARAM_VALUE 0 cctx->blockState.matchState.dictMatchState->opt.priceType 0-1
PARAM_VALUE 0 cctx->blockState.matchState.hashLog3 0-17
PARAM_VALUE 0 cctx->blockState.matchState.prefetchCDictTables 0-1
PARAM_VALUE 0 cctx->blockState.matchState.window->base 0-255
PARAM_VALUE 0 cctx->blockState.matchState.window->dictBase 0-255
PARAM_VALUE 0 cctx->blockState.matchState.window->nextSrc 0-255
PARAM_VALUE 0 cctx->blockState.matchState.window.base 4274302372899520512
PARAM_VALUE 0 cctx->blockState.matchState.window.dictBase 4274302372899520512
PARAM_VALUE 0 cctx->blockState.matchState.window.nextSrc 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.prevCBlock 4096-ptr_max
PARAM_VALUE 0 cctx->blockState.prevCBlock->entropy.fse.litlength_repeatMode 0-2
PARAM_VALUE 0 cctx->blockState.prevCBlock->entropy.fse.matchlength_repeatMode 0-2
PARAM_VALUE 0 cctx->blockState.prevCBlock->entropy.fse.offcode_repeatMode 0-2
PARAM_VALUE 0 cctx->blockState.prevCBlock->entropy.huf.repeatMode 0-2
PARAM_VALUE 0 cctx->bufferedPolicy 1
PARAM_VALUE 0 cctx->cdict 4096-ptr_max
PARAM_VALUE 0 cctx->cdict->compressionLevel 0
PARAM_VALUE 0 cctx->cdict->matchState.opt.priceType 0-1
PARAM_VALUE 0 cctx->cdict->useRowMatchFinder 1-u32max
PARAM_VALUE 0 cctx->cdict->workspace.allocFailed 0-1
PARAM_VALUE 0 cctx->cdict->workspace.isStatic 0-1
PARAM_VALUE 0 cctx->cdict->workspace.workspaceEnd 4096-ptr_max
PARAM_VALUE 0 cctx->consumedSrcSize 0
PARAM_VALUE 0 cctx->externSeqStore.capacity 0
PARAM_VALUE 0 cctx->externSeqStore.pos 0
PARAM_VALUE 0 cctx->externSeqStore.posInSequence 0
PARAM_VALUE 0 cctx->externSeqStore.seq 0
PARAM_VALUE 0 cctx->externSeqStore.size 0
PARAM_VALUE 0 cctx->frameEnded 0
PARAM_VALUE 0 cctx->inBuffPos 0
PARAM_VALUE 0 cctx->inToCompress 0
PARAM_VALUE 0 cctx->initialized 1
PARAM_VALUE 0 cctx->isFirstBlock 0-1
PARAM_VALUE 0 cctx->ldmState.hashTable->checksum 0
PARAM_VALUE 0 cctx->ldmState.hashTable->offset 0
PARAM_VALUE 0 cctx->ldmState.loadedDictEnd 0
PARAM_VALUE 0 cctx->ldmState.window->base 0-255
PARAM_VALUE 0 cctx->ldmState.window->dictBase 0-255
PARAM_VALUE 0 cctx->ldmState.window->nextSrc 0-255
PARAM_VALUE 0 cctx->ldmState.window.base 4274302372899520512
PARAM_VALUE 0 cctx->ldmState.window.dictBase 4274302372899520512
PARAM_VALUE 0 cctx->ldmState.window.dictLimit 2
PARAM_VALUE 0 cctx->ldmState.window.lowLimit 2
PARAM_VALUE 0 cctx->ldmState.window.nextSrc 4096-ptr_max
PARAM_VALUE 0 cctx->localDict.cdict 4096-ptr_max
PARAM_VALUE 0 cctx->localDict.cdict->cBlockState->rep 0-u32max
PARAM_VALUE 0 cctx->localDict.cdict->cBlockState.entropy.fse.litlength_repeatMode 0-2
PARAM_VALUE 0 cctx->localDict.cdict->cBlockState.entropy.fse.matchlength_repeatMode 0-2
PARAM_VALUE 0 cctx->localDict.cdict->cBlockState.entropy.fse.offcode_repeatMode 0-2
PARAM_VALUE 0 cctx->localDict.cdict->cBlockState.entropy.huf.repeatMode 0-2
PARAM_VALUE 0 cctx->localDict.cdict->compressionLevel 0
PARAM_VALUE 0 cctx->localDict.cdict->matchState.hashLog3 0-17
PARAM_VALUE 0 cctx->localDict.cdict->matchState.window.nextSrc 4096-ptr_max
PARAM_VALUE 0 cctx->localDict.cdict->useRowMatchFinder 1-u32max
PARAM_VALUE 0 cctx->localDict.cdict->workspace.allocFailed 0-1
PARAM_VALUE 0 cctx->localDict.cdict->workspace.isStatic 0-1
PARAM_VALUE 0 cctx->localDict.cdict->workspace.workspaceEnd 4096-ptr_max
PARAM_VALUE 0 cctx->outBuffContentSize 0
PARAM_VALUE 0 cctx->outBuffFlushedSize 0
PARAM_VALUE 0 cctx->prefixDict.dict 0
PARAM_VALUE 0 cctx->prefixDict.dictContentType 0
PARAM_VALUE 0 cctx->prefixDict.dictSize 0
PARAM_VALUE 0 cctx->producedCSize 0
PARAM_VALUE 0 cctx->seqStore.longLengthType 0
PARAM_VALUE 0 cctx->stage 1
PARAM_VALUE 0 cctx->streamStage 1
PARAM_VALUE 0 cctx->tmpWkspSize 0,8920
PARAM_VALUE 0 cctx->workspace.allocFailed 0-1
PARAM_VALUE 0 cctx->workspace.isStatic 0
PARAM_VALUE 0 cctx->workspace.workspace 0
PARAM_VALUE 0 cctx->workspace.workspaceEnd 4096-ptr_max
PARAM_VALUE 0 *cctx->blockState.nextCBlock->rep 0-4294967295
PARAM_VALUE 0 *cctx->blockState.prevCBlock->rep 0-4294967295
PARAM_VALUE 0 *cctx->workspace->allocStart 0-255
PARAM_VALUE 0 *cctx->workspace->objectEnd 0-255
PARAM_VALUE 0 *cctx->workspace->tableEnd 0-255
PARAM_VALUE 0 *cctx->workspace->workspaceEnd 0-255
PARAM_VALUE 1 seqPos 7923105576689876992
PARAM_VALUE 4 *src 0-255
CAPPED_DATA 0 cctx->blockSizeMax 1
CAPPED_DATA 0 cctx->inBuffSize 1
CAPPED_DATA 0 cctx->inBuffTarget 1
CAPPED_DATA 0 cctx->seqStore.maxNbLit 1
CAPPED_DATA 0 cctx->seqStore.maxNbSeq 1
CAPPED_DATA 5 blockSize 1
CAPPED_DATA 5 blockSize 1
DATA_SOURCE 0 cctx $0
DATA_SOURCE 2 inSeqs $3
DATA_SOURCE 3 inSeqsSize $4
DATA_SOURCE 5 blockSize r determine_blockSize
FUZZY_MAX 0 cctx->isFirstBlock 0
HARD_MAX 0 cctx->isFirstBlock 1
MEM_ZERO 0 &cctx->prefixDict
UNITS 6 externalRepSearch unit_byte