Searched refs:subprog (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | verifier.c | 1795 int subprog) in push_async_cb() argument 1828 subprog /* subprog number within this prog */); in push_async_cb() 2193 struct bpf_subprog_info *subprog = env->subprog_info; in add_subprog_and_kfunc() local 2224 subprog[env->subprog_cnt].start = insn_cnt; in add_subprog_and_kfunc() 2228 verbose(env, "func#%d @%d\n", i, subprog[i].start); in add_subprog_and_kfunc() 2236 struct bpf_subprog_info *subprog = env->subprog_info; in check_subprogs() local 2241 subprog_start = subprog[cur_subprog].start; in check_subprogs() 2242 subprog_end = subprog[cur_subprog + 1].start; in check_subprogs() 2249 subprog[cur_subprog].has_tail_call = true; in check_subprogs() 2252 subprog[cur_subprog].has_ld_abs = true; in check_subprogs() [all …]
|
D | btf.c | 6598 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match() argument 6610 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match() 6614 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_arg_match() 6617 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match() 6625 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_arg_match() 6641 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_call() argument 6653 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call() 6657 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_call() 6660 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call() 6668 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_call() [all …]
|
/kernel/events/ |
D | core.c | 9078 struct bpf_prog *subprog = prog->aux->func[i]; in perf_event_bpf_emit_ksymbols() local 9082 (u64)(unsigned long)subprog->bpf_func, in perf_event_bpf_emit_ksymbols() 9083 subprog->jited_len, unregister, in perf_event_bpf_emit_ksymbols() 9084 subprog->aux->ksym.name); in perf_event_bpf_emit_ksymbols()
|