Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/verifier.c check_func_arg() -> may_access_direct_pkt_data()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 2 t 1
BUF_SIZE 1 fn 0
DATA_SOURCE 0 env $0
BIT_INFO 1 fn 0x0,0x0

kernel/bpf/verifier.c check_mem_access() -> may_access_direct_pkt_data()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 1 fn 0
PARAM_VALUE 2 t 2
DATA_SOURCE 0 env $0
DATA_SOURCE 2 t $6
STR_LEN 0 env (-1),3,11
STR_LEN 0 env (-1),3,11
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c check_special_kfunc() -> may_access_direct_pkt_data()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux 4096-ptr_max
PARAM_VALUE 1 fn 0
PARAM_VALUE 2 t 2
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c specialize_kfunc() -> may_access_direct_pkt_data()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux 4096-ptr_max
PARAM_VALUE 1 fn 0
PARAM_VALUE 2 t 2
DATA_SOURCE 0 env $0
NO_OVERFLOW_SIMPLE 0 env->prog->len