Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/zstd/compress/zstd_compress.c ZSTD_adjustCParams() -> ZSTD_adjustCParams_internal()

Type Parameter Key Value
PARAM_VALUE 1 srcSize 1-u64max
PARAM_VALUE 3 mode 3
PARAM_VALUE 4 useRowMatchFinder 0
DATA_SOURCE 0 cPar $0 [m]
DATA_SOURCE 1 srcSize $1 [m]
DATA_SOURCE 2 dictSize $2
FUZZY_MAX 1 srcSize u64max
PARAM_COMPARE 0 cPar == $0
BIT_INFO 0 cPar 0x0,0x7fffffff
BIT_INFO 0 cPar 0x0,0x7fffffff

lib/zstd/compress/zstd_compress.c ZSTD_getCParamsFromCCtxParams() -> ZSTD_adjustCParams_internal()

Type Parameter Key Value
PARAM_VALUE 3 mode 0-2
DATA_SOURCE 1 srcSize $1 [m]
DATA_SOURCE 2 dictSize $2
DATA_SOURCE 3 mode $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 srcSize unit_byte
UNITS 2 dictSize unit_byte
UNITS 4 useRowMatchFinder unit_byte

lib/zstd/compress/zstd_compress.c ZSTD_getCParams_internal() -> ZSTD_adjustCParams_internal()

Type Parameter Key Value
PARAM_VALUE 3 mode 0-3
PARAM_VALUE 4 useRowMatchFinder 0
DATA_SOURCE 1 srcSize $1
DATA_SOURCE 2 dictSize $2
DATA_SOURCE 3 mode $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 srcSize unit_byte

lib/zstd/compress/zstd_compress.c ZSTD_resetCCtx_byAttachingCDict() -> ZSTD_adjustCParams_internal()

Type Parameter Key Value
PARAM_VALUE 2 dictSize 1-u64max
PARAM_VALUE 3 mode 1
DATA_SOURCE 1 srcSize $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 srcSize unit_byte
UNITS 4 useRowMatchFinder unit_byte