Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Dsyscall.c1754 if (prog->aux->attach_btf) in __bpf_prog_put_noref()
1755 btf_put(prog->aux->attach_btf); in __bpf_prog_put_noref()
2017 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
2024 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2038 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2168 struct btf *attach_btf = NULL; in bpf_prog_load() local
2218 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd); in bpf_prog_load()
2219 if (IS_ERR(attach_btf)) in bpf_prog_load()
2221 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()
2225 btf_put(attach_btf); in bpf_prog_load()
[all …]
Dbtf.c4686 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
Dverifier.c13351 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()
13649 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in BTF_SET_START()
/Linux-v5.15/include/linux/
Dbpf.h856 struct btf *attach_btf; member
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.c7873 attachable, attach_btf) \ argument
7881 .is_attach_btf = attach_btf, \