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_compress_advanced() -> ZSTD_compress_advanced_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 | 7 | params | 4096-ptr_max |
| PARAM_VALUE | 7 | params->attachDictPref | 0 |
| PARAM_VALUE | 7 | params->forceWindow | 0 |
| PARAM_VALUE | 7 | params->format | 0 |
| PARAM_VALUE | 7 | params->jobSize | 0 |
| PARAM_VALUE | 7 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 7 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 7 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 7 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 7 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 7 | params->validateSequences | 0 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | dstCapacity | $2 |
| DATA_SOURCE | 3 | src | $3 |
| DATA_SOURCE | 4 | srcSize | $4 |
| DATA_SOURCE | 5 | dict | $5 |
| DATA_SOURCE | 6 | dictSize | $6 |
| MEM_ZERO | 0 | &cctx->simpleApiParams | |
| MEM_ZERO | 7 | params |
lib/zstd/compress/zstd_compress.c ZSTD_compress_usingDict() -> ZSTD_compress_advanced_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 | 5 | dict | 0 |
| PARAM_VALUE | 6 | dictSize | 0 |
| PARAM_VALUE | 7 | params | 4096-ptr_max |
| PARAM_VALUE | 7 | params->attachDictPref | 0 |
| PARAM_VALUE | 7 | params->forceWindow | 0 |
| PARAM_VALUE | 7 | params->format | 0 |
| PARAM_VALUE | 7 | params->jobSize | 0 |
| PARAM_VALUE | 7 | params->ldmParams.enableLdm | 1-2 |
| PARAM_VALUE | 7 | params->maxBlockSize | 131072 |
| PARAM_VALUE | 7 | params->postBlockSplitter | 1-2 |
| PARAM_VALUE | 7 | params->searchForExternalRepcodes | 1-2 |
| PARAM_VALUE | 7 | params->useRowMatchFinder | 1-2 |
| PARAM_VALUE | 7 | params->validateSequences | 0 |
| DATA_SOURCE | 0 | cctx | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | dstCapacity | $2 |
| DATA_SOURCE | 3 | src | $3 |
| DATA_SOURCE | 4 | srcSize | $4 |
| DATA_SOURCE | 5 | dict | $5 |
| DATA_SOURCE | 6 | dictSize | $6 |
| MEM_ZERO | 0 | &cctx->simpleApiParams | |
| MEM_ZERO | 7 | params |