Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

lib/zstd/compress/zstd_opt.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 2 pInLimit 0-ptr_max
CAPPED_DATA 2 *pInLimit 1
DATA_SOURCE 0 pIn $0
DATA_SOURCE 1 pMatch $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
DATA_SOURCE 1 pMatch $4
DATA_SOURCE 2 pInLimit $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_insertBt1() -> ZSTD_count()

Type Parameter Key Value
DATA_SOURCE 2 pInLimit $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_insertBtAndGetAllMatches() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
DATA_SOURCE 2 pInLimit $4
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_insertBtAndGetAllMatches() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-u64max
PARAM_VALUE 1 pMatch 4096-ptr_max
DATA_SOURCE 0 pIn $3
DATA_SOURCE 2 pInLimit $4
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_opt.c ZSTD_insertBtAndGetAllMatches() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
DATA_SOURCE 2 pInLimit $4
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_ldm.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-u64max
PARAM_VALUE 1 pMatch 4096-ptr_max
PARAM_VALUE 2 pInLimit 0-ptr_max
CAPPED_DATA 0 pIn 1
CAPPED_DATA 2 *pInLimit 1
DATA_SOURCE 0 pIn $0
DATA_SOURCE 1 pMatch $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *pInLimit 0-255
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte
USER_PTR 2 pInLimit

lib/zstd/compress/zstd_ldm.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
CAPPED_DATA 1 pMatch 1
CAPPED_DATA 2 pInLimit 1
DATA_SOURCE 1 pMatch $4
DATA_SOURCE 2 pInLimit $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *pInLimit 0-255
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte
USER_PTR 2 pInLimit

lib/zstd/compress/zstd_ldm.c ZSTD_ldm_generateSequences_internal() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-u64max
PARAM_VALUE 1 pMatch 4096-ptr_max
CAPPED_DATA 0 pIn 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *pInLimit 0-255
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte
USER_PTR 2 pInLimit

lib/zstd/compress/zstd_compress.c ZSTD_isRLE() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 1 pMatch 4096-ptr_max
BUF_SIZE 1 pMatch (-1),4096
BUF_SIZE 1 pMatch (-1),4096
DATA_SOURCE 1 pMatch $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *pIn 0-255
USER_DATA 1 *pMatch 0-255
USER_DATA 2 *pInLimit 0-255
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte
USER_PTR 0 pIn
USER_PTR 1 pMatch
USER_PTR 2 pInLimit

lib/zstd/compress/zstd_fast.c ZSTD_compressBlock_fast_dictMatchState_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte

lib/zstd/compress/zstd_fast.c ZSTD_compressBlock_fast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_fast.c ZSTD_compressBlock_fast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_fast.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 *pInLimit 1
DATA_SOURCE 0 pIn $0
DATA_SOURCE 1 pMatch $1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_fast.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
DATA_SOURCE 1 pMatch $4
DATA_SOURCE 2 pInLimit $2
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_dictMatchState_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_dictMatchState_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_dictMatchState_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_compressBlock_doubleFast_noDict_generic() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 *pInLimit 1
DATA_SOURCE 0 pIn $0
DATA_SOURCE 1 pMatch $1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_double_fast.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
PARAM_VALUE 2 pInLimit 4096-ptr_max
CAPPED_DATA 2 pInLimit 1
DATA_SOURCE 1 pMatch $4
DATA_SOURCE 2 pInLimit $2
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_DUBT_findBestMatch() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
DATA_SOURCE 2 pInLimit $2
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_HcFindBestMatch() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 1 pMatch 4096-ptr_max
DATA_SOURCE 0 pIn $1
DATA_SOURCE 2 pInLimit $2
UNITS 1 pMatch unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_RowFindBestMatch() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 1 pMatch 4096-ptr_max
DATA_SOURCE 0 pIn $1
DATA_SOURCE 2 pInLimit $2
UNITS 1 pMatch unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 2 pInLimit 0-ptr_max
CAPPED_DATA 2 *pInLimit 1
DATA_SOURCE 0 pIn $0
DATA_SOURCE 1 pMatch $1
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_count_2segments() -> ZSTD_count()

Type Parameter Key Value
PARAM_VALUE 0 pIn 4096-ptr_max
PARAM_VALUE 1 pMatch 4096-ptr_max
DATA_SOURCE 1 pMatch $4
DATA_SOURCE 2 pInLimit $2
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte

lib/zstd/compress/zstd_lazy.c ZSTD_insertDUBT1() -> ZSTD_count()

Type Parameter Key Value
UNITS 0 pIn unit_byte
UNITS 1 pMatch unit_byte
UNITS 2 pInLimit unit_byte