Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/helpers.c __bpf_dynptr_read() -> bpf_file_fetch_bytes()

Type Parameter Key Value
PARAM_VALUE 0 df 1-u64max
BUF_SIZE 0 df 1-s32max
BUF_SIZE 2 buf (-1),256
BUF_SIZE 2 buf (-1),256
CAPPED_DATA 1 offset 1
CAPPED_DATA 1 offset 1
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
DATA_SOURCE 1 offset $3
DATA_SOURCE 2 buf $0
DATA_SOURCE 3 len $1
UNITS 3 len unit_byte

kernel/bpf/helpers.c bpf_dynptr_slice() -> bpf_file_fetch_bytes()

Type Parameter Key Value
PARAM_VALUE 0 df 1-u64max
PARAM_VALUE 2 buf 0
BUF_SIZE 0 df 1-s32max
CAPPED_DATA 1 offset 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 buf $2
DATA_SOURCE 3 len $3
UNITS 3 len unit_byte