Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

lib/buildid.c __build_id_parse() -> freader_init_from_file()

Type Parameter Key Value
PARAM_VALUE 0 r 6337282075060895744
PARAM_VALUE 1 buf 911285518885388288
PARAM_VALUE 2 buf_sz 64
PARAM_VALUE 3 file 1-u64max
BUF_SIZE 1 buf 64
DATA_SOURCE 3 file $0
DATA_SOURCE 4 may_fault $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 buf_sz unit_byte

kernel/bpf/helpers.c make_file_dynptr() -> freader_init_from_file()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 buf_sz 0
DATA_SOURCE 3 file $0
DATA_SOURCE 4 may_fault $2
NOCHECK_CALL