Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/zstd/compress/zstd_compress.c ZSTD_buildBlockEntropyStats_sequences() -> ZSTD_buildSequencesStatistics()

Type Parameter Key Value
PARAM_VALUE 0 seqStorePtr 4096-ptr_max
PARAM_VALUE 1 nbSeq 1-u64max
PARAM_VALUE 2 prevEntropy 4096-ptr_max
PARAM_VALUE 3 nextEntropy 4096-ptr_max
PARAM_VALUE 5 dstEnd 4096-ptr_max
PARAM_VALUE 8 entropyWorkspace 4096-ptr_max
PARAM_VALUE 9 entropyWkspSize 8708,18446744073709551404
BUF_SIZE 4 dst 133
BUF_SIZE 4 dst 133
BUF_SIZE 5 dstEnd 0
DATA_SOURCE 0 seqStorePtr $0
DATA_SOURCE 2 prevEntropy $1
DATA_SOURCE 3 nextEntropy $2
DATA_SOURCE 7 countWorkspace $5
PARAM_COMPARE 4 dst < $5
PARAM_COMPARE 5 dstEnd > $4
PARAM_COMPARE 5 dstEnd > $4
PARAM_COMPARE 7 countWorkspace < $8
PARAM_COMPARE 7 countWorkspace < $8
PARAM_COMPARE 7 countWorkspace == $8
PARAM_COMPARE 8 entropyWorkspace > $7
RX_PATH
TASK_NOT_RUNNING
UNITS 5 dstEnd unit_byte
UNITS 6 strategy unit_byte

lib/zstd/compress/zstd_compress.c ZSTD_entropyCompressSeqStore_internal() -> ZSTD_buildSequencesStatistics()

Type Parameter Key Value
PARAM_VALUE 0 seqStorePtr 4096-ptr_max
PARAM_VALUE 0 seqStorePtr->longLengthType 0-2
PARAM_VALUE 1 nbSeq 1-u64max
PARAM_VALUE 2 prevEntropy 4096-ptr_max
PARAM_VALUE 3 nextEntropy 4096-ptr_max
PARAM_VALUE 5 dstEnd 4096-ptr_max
PARAM_VALUE 8 entropyWorkspace 4096-ptr_max
PARAM_VALUE 9 entropyWkspSize 8708,18446744073709551404
DATA_SOURCE 0 seqStorePtr $4
DATA_SOURCE 9 entropyWkspSize $9 [m]
FUZZY_MAX 1 nbSeq 32512
PARAM_COMPARE 7 countWorkspace < $8
PARAM_COMPARE 7 countWorkspace < $8
PARAM_COMPARE 7 countWorkspace == $8
PARAM_COMPARE 8 entropyWorkspace > $7
RX_PATH
TASK_NOT_RUNNING
UNITS 4 dst unit_byte
UNITS 5 dstEnd unit_byte
UNITS 6 strategy unit_byte
HALF_LOCKED2 bh