Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/zstd/compress/zstd_compress.c ZSTD_CCtx_init_compressStream2() -> ZSTD_compressBegin_internal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cctx->cdict | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cctx->cdict->useRowMatchFinder | 1-u32max |
| PARAM_VALUE | 0 | cctx->localDict.cdict->useRowMatchFinder | 1-u32max |
| 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.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 | 4 | dtlm | 0 |
| PARAM_VALUE | 5 | cdict | 0,4096-ptr_max |
| PARAM_VALUE | 5 | cdict->useRowMatchFinder | 1-u32max |
| PARAM_VALUE | 6 | params | 5578238438361333760 |
| PARAM_VALUE | 6 | params->ldmParams.enableLdm | 1-u32max |
| PARAM_VALUE | 6 | params->maxBlockSize | 1-u64max |
| PARAM_VALUE | 6 | params->postBlockSplitter | 1-u32max |
| PARAM_VALUE | 6 | params->searchForExternalRepcodes | 1-u32max |
| PARAM_VALUE | 6 | params->useRowMatchFinder | 1-u32max |
| PARAM_VALUE | 8 | zbuff | 1 |
| BUF_SIZE | 0 | cctx | (-1),4097-s32max |
| BUF_SIZE | 0 | cctx | (-1),4097-s32max |
| DATA_SOURCE | 0 | cctx | $0 |
| MEM_ZERO | 0 | &cctx->prefixDict | |
| 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->expectedInBuffer.pos | 1-4094[c] |
| USER_DATA | 0 | cctx->expectedInBuffer.size | 0-1000000000[c] |
| USER_DATA | 0 | *cctx->ldmState.window.nextSrc | 0-255 |
| UNITS | 7 | pledgedSrcSize | unit_byte |
| HALF_LOCKED2 | bh |
lib/zstd/compress/zstd_compress.c ZSTD_compressBegin_advanced_internal() -> ZSTD_compressBegin_internal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | dictContentType | 0 |
| PARAM_VALUE | 4 | dtlm | 0 |
| PARAM_VALUE | 5 | cdict | 0 |
| PARAM_VALUE | 6 | params | 5292711479813111808 |
| PARAM_VALUE | 6 | params->attachDictPref | 0 |
| PARAM_VALUE | 6 | params->forceWindow | 0 |
| PARAM_VALUE | 6 | params->format | 0 |
| PARAM_VALUE | 6 | params->jobSize | 0 |
| PARAM_VALUE | 6 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 6 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 6 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 6 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 6 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 6 | params->validateSequences | 0 |
| PARAM_VALUE | 8 | zbuff | 0 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 1 | dict | $1 |
| DATA_SOURCE | 2 | dictSize | $2 |
| DATA_SOURCE | 3 | dictContentType | $3 |
| DATA_SOURCE | 4 | dtlm | $4 |
| DATA_SOURCE | 5 | cdict | $5 |
| DATA_SOURCE | 6 | params | $6 |
| DATA_SOURCE | 7 | pledgedSrcSize | $7 |
| MEM_ZERO | 6 | params |
lib/zstd/compress/zstd_compress.c ZSTD_compressBegin_usingCDict_internal() -> ZSTD_compressBegin_internal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dict | 0 |
| PARAM_VALUE | 2 | dictSize | 0 |
| PARAM_VALUE | 3 | dictContentType | 0 |
| PARAM_VALUE | 4 | dtlm | 0 |
| PARAM_VALUE | 5 | cdict | 4096-ptr_max |
| PARAM_VALUE | 6 | params | 2475834805485903872 |
| PARAM_VALUE | 6 | params->attachDictPref | 0 |
| PARAM_VALUE | 6 | params->forceWindow | 0 |
| PARAM_VALUE | 6 | params->format | 0 |
| PARAM_VALUE | 6 | params->jobSize | 0 |
| PARAM_VALUE | 6 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 6 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 6 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 6 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 6 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 8 | zbuff | 0 |
| CAPPED_DATA | 7 | pledgedSrcSize | 1 |
| CAPPED_DATA | 7 | pledgedSrcSize | 1 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 5 | cdict | $1 |
| DATA_SOURCE | 7 | pledgedSrcSize | $3 |
| MEM_ZERO | 6 | params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 7 | pledgedSrcSize | unit_byte |
lib/zstd/compress/zstd_compress.c ZSTD_compressBegin_usingDict_deprecated() -> ZSTD_compressBegin_internal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | dictContentType | 0 |
| PARAM_VALUE | 4 | dtlm | 0 |
| PARAM_VALUE | 5 | cdict | 0 |
| PARAM_VALUE | 6 | params | 93724728210124800 |
| PARAM_VALUE | 6 | params->attachDictPref | 0 |
| PARAM_VALUE | 6 | params->forceWindow | 0 |
| PARAM_VALUE | 6 | params->format | 0 |
| PARAM_VALUE | 6 | params->jobSize | 0 |
| PARAM_VALUE | 6 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 6 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 6 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 6 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 6 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 7 | pledgedSrcSize | u64max |
| PARAM_VALUE | 8 | zbuff | 0 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 1 | dict | $1 |
| DATA_SOURCE | 2 | dictSize | $2 |
| MEM_ZERO | 6 | params | |
| UNITS | 2 | dictSize | unit_byte |
lib/zstd/compress/zstd_compress.c ZSTD_compress_advanced_internal() -> ZSTD_compressBegin_internal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cctx->simpleApiParams.attachDictPref | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.blockDelimiters | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.chainLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.hashLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.minMatch | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.searchLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.strategy | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.cParams.windowLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.customMem.opaque | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.extSeqProdFunc | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.extSeqProdState | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.forceWindow | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.format | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.inBufferMode | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.jobSize | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.ldmParams.hashLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.maxBlockSize | 131072 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.nbWorkers | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.outBufferMode | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.overlapLog | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.postBlockSplitter | 1-2 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.rsyncable | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.srcSizeHint | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.targetCBlockSize | 0 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.useRowMatchFinder | 1-2 |
| PARAM_VALUE | 0 | cctx->simpleApiParams.validateSequences | 0 |
| PARAM_VALUE | 3 | dictContentType | 0 |
| PARAM_VALUE | 4 | dtlm | 0 |
| PARAM_VALUE | 5 | cdict | 0 |
| PARAM_VALUE | 6 | params | 4096-ptr_max |
| PARAM_VALUE | 6 | params->attachDictPref | 0 |
| PARAM_VALUE | 6 | params->forceWindow | 0 |
| PARAM_VALUE | 6 | params->format | 0 |
| PARAM_VALUE | 6 | params->jobSize | 0 |
| PARAM_VALUE | 6 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 6 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 6 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 6 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 6 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 6 | params->validateSequences | 0 |
| PARAM_VALUE | 8 | zbuff | 0 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 1 | dict | $5 |
| DATA_SOURCE | 2 | dictSize | $6 |
| DATA_SOURCE | 6 | params | $7 |
| DATA_SOURCE | 7 | pledgedSrcSize | $4 |
| MEM_ZERO | 0 | &cctx->simpleApiParams | |
| MEM_ZERO | 6 | params |