Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c btf_check_func_arg_match() -> btf_prepare_func_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state->frame | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->func_info | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->func_info_aux | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->log.kbuf | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | subprog | 0-s32max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | subprog | $1 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c do_check_common() -> btf_prepare_func_args()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state->branches | 1 |
| PARAM_VALUE | 0 | env->cur_state->curframe | 0 |
| PARAM_VALUE | 0 | env->cur_state->speculative | 0 |
| PARAM_VALUE | 0 | env->prev_linfo | 0 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->scratched_regs | u32max |
| PARAM_VALUE | 0 | env->scratched_stack_slots | u64max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 1 | subprog | 0-s32max |
| BUF_SIZE | 0 | env->cur_state | 232 |
| CAPPED_DATA | 1 | subprog | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | subprog | $1 |
| FUZZY_MAX | 1 | subprog | 1 |
| UNITS | 1 | subprog | unit_array_size |