Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/zstd/compress/zstd_opt.c ZSTD_compressBlock_opt_generic() -> ZSTD_getMatchPrice()

Type Parameter Key Value
PARAM_VALUE 1 matchLength 4-u32max
PARAM_VALUE 2 optPtr 4096-ptr_max
PARAM_VALUE 2 optPtr->priceType 0-1
PARAM_VALUE 3 optLevel 0,2
BUF_SIZE 2 optPtr 104
CAPPED_DATA 1 matchLength 1
DATA_SOURCE 3 optLevel $5
FUZZY_MAX 1 matchLength 4
HARD_MAX 3 optLevel 2
UNITS 0 offBase unit_byte
UNITS 1 matchLength unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_compressBlock_opt_generic() -> ZSTD_getMatchPrice()

Type Parameter Key Value
PARAM_VALUE 2 optPtr 4096-ptr_max
PARAM_VALUE 2 optPtr->matchTable 4096-ptr_max
PARAM_VALUE 2 optPtr->priceTable 4096-ptr_max
PARAM_VALUE 2 optPtr->priceType 0-1
PARAM_VALUE 3 optLevel 0,2
BUF_SIZE 2 optPtr 104
DATA_SOURCE 3 optLevel $5
HARD_MAX 3 optLevel 2
UNITS 0 offBase unit_byte
UNITS 1 matchLength unit_byte