Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bpf/bpf_dummy_struct_ops.c check_test_run_args() -> btf_ctx_arg_offset()

Type Parameter Key Value
PARAM_VALUE 1 func_proto 4096-ptr_max
PARAM_VALUE 2 arg_no 0-16777214
CAPPED_DATA 2 arg_no 1
CONSTRAINT 2 arg_no <3051

kernel/bpf/bpf_struct_ops.c prepare_arg_info() -> btf_ctx_arg_offset()

Type Parameter Key Value
PARAM_VALUE 0 btf 4096-ptr_max
PARAM_VALUE 1 func_proto 4096-ptr_max
PARAM_VALUE 2 arg_no 0-16777214
BUF_SIZE 0 btf->struct_ops_tab (-1),8-s32max
CAPPED_DATA 0 btf->start_id 1
CAPPED_DATA 1 func_proto->type 1
CAPPED_DATA 2 arg_no 1
DATA_SOURCE 0 btf $0
DATA_SOURCE 1 func_proto $3
PARAM_COMPARE 0 btf->nr_types > $0->start_id
NO_OVERFLOW_SIMPLE 2 arg_no
UNITS 2 arg_no unit_array_size