Lines Matching refs:tgt_info
21860 struct bpf_attach_target_info *tgt_info) in bpf_check_attach_target() argument
22044 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
22077 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target()
22161 tgt_info->tgt_addr = addr; in bpf_check_attach_target()
22162 tgt_info->tgt_name = tname; in bpf_check_attach_target()
22163 tgt_info->tgt_type = t; in bpf_check_attach_target()
22164 tgt_info->tgt_mod = mod; in bpf_check_attach_target()
22209 struct bpf_attach_target_info tgt_info = {}; in check_attach_btf_id() local
22236 ret = bpf_check_attach_target(&env->log, prog, tgt_prog, btf_id, &tgt_info); in check_attach_btf_id()
22250 prog->aux->attach_func_proto = tgt_info.tgt_type; in check_attach_btf_id()
22251 prog->aux->attach_func_name = tgt_info.tgt_name; in check_attach_btf_id()
22252 prog->aux->mod = tgt_info.tgt_mod; in check_attach_btf_id()
22278 tr = bpf_trampoline_get(key, &tgt_info); in check_attach_btf_id()