Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/bpf/
Dsyscall.c2015 if (prog->aux->attach_btf) in __bpf_prog_put_noref()
2016 btf_put(prog->aux->attach_btf); in __bpf_prog_put_noref()
2286 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
2293 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2307 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2437 struct btf *attach_btf = NULL; in bpf_prog_load() local
2488 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd); in bpf_prog_load()
2489 if (IS_ERR(attach_btf)) in bpf_prog_load()
2491 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()
2495 btf_put(attach_btf); in bpf_prog_load()
[all …]
Dverifier.c14599 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()
14897 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in BTF_SET_START()
Dbtf.c5204 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
/linux-5.19.10/include/linux/
Dbpf.h1027 struct btf *attach_btf; member