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 | 13590 struct bpf_attach_target_info *tgt_info) in bpf_check_attach_target() argument 13724 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target() 13756 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel); in bpf_check_attach_target() 13814 tgt_info->tgt_addr = addr; in bpf_check_attach_target() 13815 tgt_info->tgt_name = tname; in bpf_check_attach_target() 13816 tgt_info->tgt_type = t; in bpf_check_attach_target() 13839 struct bpf_attach_target_info tgt_info = {}; in BTF_SET_START() local 13867 ret = bpf_check_attach_target(&env->log, prog, tgt_prog, btf_id, &tgt_info); in BTF_SET_START() 13881 prog->aux->attach_func_proto = tgt_info.tgt_type; in BTF_SET_START() 13882 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()
|