Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

security/apparmor/apparmorfs.c aa_get_data_from_compressed() -> zstd_get_frame_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4472646006707863552
PARAM_VALUE 1 src 1-18446744073709551614
PARAM_VALUE 2 src_size 4-1000000000,2147479544,2147479552
BUF_SIZE 1 src 4-1000000000,2147479544,2147479552
CAPPED_DATA 2 src_size 1
CAPPED_DATA 2 src_size 1
DATA_SOURCE 1 src r __kvmalloc_node_noprof
DATA_SOURCE 2 src_size $1
FUZZY_MAX 2 src_size 2147479552
USER_DATA 2 src_size 4-1000000000[c]
UNITS 2 src_size unit_byte
BYTE_COUNT 1 ==src2 8050
USER_PTR 1 src

drivers/crypto/intel/qat/qat_common/qat_comp_algs.c qat_comp_alg_zstd_decompress() -> zstd_get_frame_header()

Type Parameter Key Value
PARAM_VALUE 0 header 3740580505850703872
PARAM_VALUE 1 src 4096-ptr_max
NOSPEC 2 src_size
NOSPEC 2 src_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 src_size 128-4095[c]
HALF_LOCKED2 &acomp_ctx->mutex

drivers/base/firmware_loader/main.c fw_decompress_zstd() -> zstd_get_frame_header()

Type Parameter Key Value
PARAM_VALUE 0 header 6343405740326555648
PARAM_VALUE 2 src_size 0-s32max
DATA_SOURCE 1 src $3
DATA_SOURCE 2 src_size $2
RX_PATH

lib/decompress_unzstd.c __unzstd() -> zstd_get_frame_header()

Type Parameter Key Value
PARAM_VALUE 0 header 3706299268240564224
PARAM_VALUE 1 src 1-u64max
PARAM_VALUE 1 *src 0-255
PARAM_VALUE 2 src_size 0-9223372036854775807
BUF_SIZE 1 src 8192,131072,139000,u64max
BUF_SIZE 1 src 8192,131072,139000,u64max
DATA_SOURCE 1 src $0 [m]
DATA_SOURCE 2 src_size $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 1 src unit_byte
UNITS 2 src_size unit_byte