Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/netronome/nfp/bpf/verifier.c cur_regs() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
DATA_SOURCE 0 env $0
LOCK2 global &bpf_devs_lock

kernel/bpf/verifier.c account_processed_insn() -> cur_func()

Type Parameter Key Value
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c btf_check_func_arg_match() -> cur_func()

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
DATA_SOURCE 0 env $0
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c check_func_call() -> cur_func()

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
DATA_SOURCE 0 env $0
NO_OVERFLOW_SIMPLE 0 env->log.kbuf

kernel/bpf/verifier.c check_global_subprog_return_code() -> cur_func()

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
CAPPED_DATA 0 env->prog->aux->btf->start_id 1
CAPPED_DATA 0 env->prog->len 1
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_helper_call() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_helper_call() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_helper_call() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_kfunc_args() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_kfunc_call() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c check_reference_leak() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0
STR_LEN 0 env 9,16
STR_LEN 0 env 9,16
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c cur_regs() -> cur_func()

Type Parameter Key Value
DATA_SOURCE 0 env $0
STR_LEN 0 env (-1),2-3,9,11,16
STR_LEN 0 env (-1),2-3,9,11,16
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c do_check_insn() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c do_check_insn() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c mark_stack_arg_precision() -> cur_func()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cur_state 4096-ptr_max
CAPPED_DATA 0 env->cur_state->acquired_refs 1
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c process_bpf_exit_full() -> cur_func()

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
CAPPED_DATA 0 env->cur_state->curframe 1
CAPPED_DATA 0 env->prog->aux->btf->start_id 1
CAPPED_DATA 0 env->prog->len 1
DATA_SOURCE 0 env $0