Home
last modified time | relevance | path

Searched refs:attach_btf (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/bpf/
H A Dsyscall.c2475 if (prog->aux->attach_btf) in __bpf_prog_put_noref()
2476 btf_put(prog->aux->attach_btf); in __bpf_prog_put_noref()
2747 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
2755 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2772 if (!attach_btf || btf_id) in bpf_prog_load_check_attach()
2777 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2938 struct btf *attach_btf = NULL; in BTF_ID_LIST_GLOBAL_SINGLE() local
3019 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd); in BTF_ID_LIST_GLOBAL_SINGLE()
3020 if (IS_ERR(attach_btf)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3024 if (!btf_is_kernel(attach_btf)) { in BTF_ID_LIST_GLOBAL_SINGLE()
[all …]
H A Dtrampoline.c1146 p->aux->attach_btf = prog->aux->attach_btf; in cgroup_shim_alloc()
1147 btf_get(p->aux->attach_btf); in cgroup_shim_alloc()
1193 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_link_cgroup_shim()
1248 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_unlink_cgroup_shim()
1725 struct btf *btf = prog->aux->attach_btf; in bpf_trampoline_multi_attach()
H A Dbtf.c6638 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
7073 struct btf *btf = prog->aux->attach_btf; in btf_ctx_access()
H A Dverifier.c17609 ret_type = btf_type_resolve_ptr(prog->aux->attach_btf, in check_return_code()
19805 btf = prog->aux->attach_btf; in check_struct_ops_btf_id()
20134 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()
20622 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in check_attach_btf_id()
/linux/net/sched/
H A Dbpf_qdisc.c38 struct btf *btf = prog->aux->attach_btf; in BTF_ID_LIST_SINGLE()
/linux/include/linux/
H A Dbpf.h1796 struct btf *attach_btf; member
/linux/kernel/trace/
H A Dbpf_trace.c3721 info->tracing_multi.btf_obj_id = btf_obj_id(tr_link->link.prog->aux->attach_btf); in bpf_tracing_multi_link_fill_link_info()