Searched refs:tgt_info (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | trampoline.c | 488 struct bpf_attach_target_info *tgt_info) in bpf_trampoline_get() argument 500 memcpy(&tr->func.model, &tgt_info->fmodel, sizeof(tgt_info->fmodel)); in bpf_trampoline_get() 501 tr->func.addr = (void *)tgt_info->tgt_addr; in bpf_trampoline_get()
|
D | verifier.c | 13615 struct bpf_attach_target_info *tgt_info) in bpf_check_attach_target() argument 13749 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target() 13781 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target() 13839 tgt_info->tgt_addr = addr; in bpf_check_attach_target() 13840 tgt_info->tgt_name = tname; in bpf_check_attach_target() 13841 tgt_info->tgt_type = t; in bpf_check_attach_target() 13864 struct bpf_attach_target_info tgt_info = {}; in BTF_SET_START() local 13892 ret = bpf_check_attach_target(&env->log, prog, tgt_prog, btf_id, &tgt_info); in BTF_SET_START() 13906 prog->aux->attach_func_proto = tgt_info.tgt_type; in BTF_SET_START() 13907 prog->aux->attach_func_name = tgt_info.tgt_name; in BTF_SET_START() [all …]
|
D | syscall.c | 2804 struct bpf_attach_target_info tgt_info = {}; in bpf_tracing_prog_attach() local 2807 &tgt_info); in bpf_tracing_prog_attach() 2811 tr = bpf_trampoline_get(key, &tgt_info); in bpf_tracing_prog_attach()
|