Home
last modified time | relevance | path

Searched refs:subprog_cnt (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c689 if (index + 1 != nfp_prog->subprog_cnt) { in nfp_assign_subprog_idx_and_regs()
691 index + 1, nfp_prog->subprog_cnt); in nfp_assign_subprog_idx_and_regs()
772 nfp_prog->subprog_cnt = env->subprog_cnt; in nfp_bpf_finalize()
773 nfp_prog->subprog = kcalloc(nfp_prog->subprog_cnt, in nfp_bpf_finalize()
781 for (i = 0; i < nfp_prog->subprog_cnt; i++) { in nfp_bpf_finalize()
Dmain.h539 unsigned int subprog_cnt; member
Djit.c3754 for (idx = 1; idx < nfp_prog->subprog_cnt; idx++) in nfp_prog_needs_callee_reg_save()
/linux-6.6.21/kernel/bpf/
Dverifier.c2641 p = bsearch(&off, env->subprog_info, env->subprog_cnt, in find_subprog()
2661 if (env->subprog_cnt >= BPF_MAX_SUBPROGS) { in add_subprog()
2666 env->subprog_info[env->subprog_cnt++].start = off; in add_subprog()
2667 sort(env->subprog_info, env->subprog_cnt, in add_subprog()
2669 return env->subprog_cnt - 1; in add_subprog()
3041 subprog[env->subprog_cnt].start = insn_cnt; in add_subprog_and_kfunc()
3044 for (i = 0; i < env->subprog_cnt; i++) in add_subprog_and_kfunc()
3096 if (cur_subprog < env->subprog_cnt) in check_subprogs()
5945 for (int i = 0; i < env->subprog_cnt; i++) { in check_max_stack_depth()
8897 if (env->subprog_cnt > 1 && !allow_tail_call_in_subprogs(env)) { in check_map_func_compatibility()
[all …]
/linux-6.6.21/include/linux/
Dbpf_verifier.h644 u32 subprog_cnt; member