Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/zstd/compress/zstd_compress.c ZSTD_compressSequencesAndLiterals() -> ZSTD_compressSequencesAndLiterals_internal()

Type Parameter Key Value
PARAM_VALUE 0 cctx 4096-ptr_max
PARAM_VALUE 0 cctx->appliedParams.blockDelimiters 1-u32max
PARAM_VALUE 0 cctx->appliedParams.validateSequences 0
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 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->localDict.dictContentType 0
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->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.objectEnd 4096-ptr_max
PARAM_VALUE 0 cctx->workspace.tableEnd 4096-ptr_max
PARAM_VALUE 0 cctx->workspace.workspaceEnd 4096-ptr_max
PARAM_VALUE 0 cctx->xxhState.memsize 0
PARAM_VALUE 0 cctx->xxhState.total_len 0
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->workspaceEnd 0-255
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 4 nbSequences 0-s32max
PARAM_VALUE 6 litSize 0-524288
BUF_SIZE 3 inSeqs 16
BUF_SIZE 5 literals 524288
BUF_SIZE 5 literals 524288
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
DATA_SOURCE 0 cctx $0
DATA_SOURCE 2 dstCapacity $2
DATA_SOURCE 3 inSeqs $3
DATA_SOURCE 4 nbSequences $4
DATA_SOURCE 5 literals $5
DATA_SOURCE 6 litSize $6
DATA_SOURCE 7 srcSize $8
FUZZY_MAX 6 litSize 524288
HARD_MAX 6 litSize 524288
MEM_ZERO 0 &cctx->prefixDict
UNITS 2 dstCapacity unit_byte
UNITS 7 srcSize unit_byte
LOCK2 bh