Home
last modified time | relevance | path

Searched refs:subprog_info (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/kernel/bpf/
Dverifier.c1091 p = bsearch(&off, env->subprog_info, env->subprog_cnt, in find_subprog()
1092 sizeof(env->subprog_info[0]), cmp_subprogs); in find_subprog()
1095 return p - env->subprog_info; in find_subprog()
1115 env->subprog_info[env->subprog_cnt++].start = off; in add_subprog()
1116 sort(env->subprog_info, env->subprog_cnt, in add_subprog()
1117 sizeof(env->subprog_info[0]), cmp_subprogs, NULL); in add_subprog()
1124 struct bpf_subprog_info *subprog = env->subprog_info; in check_subprogs()
2580 u16 stack = env->subprog_info[func->subprogno].stack_depth; in update_stack_depth()
2586 env->subprog_info[func->subprogno].stack_depth = -off; in update_stack_depth()
2599 struct bpf_subprog_info *subprog = env->subprog_info; in check_max_stack_depth()
[all …]
/Linux-v5.4/include/linux/
Dbpf_verifier.h370 struct bpf_subprog_info subprog_info[BPF_MAX_SUBPROGS + 1]; member
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c775 info = env->subprog_info; in nfp_bpf_finalize()