Lines Matching refs:btf
6 #include <uapi/linux/btf.h>
11 #include <linux/btf.h>
253 struct btf *btf_vmlinux;
391 verbose(env, "%s\n", ltrim(btf_name_by_offset(env->prog->aux->btf, linfo->line_off)));
4151 if (!map->btf) {
8560 const struct btf *btf;
8586 btf = prog->aux->btf;
8639 type = btf_type_by_id(btf, krecord[i].type_id);
8646 func_proto = btf_type_by_id(btf, type->type);
8651 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL);
8701 const struct btf *btf;
8727 btf = prog->aux->btf;
8775 if (!btf_name_by_offset(btf, linfo[i].line_off) || !btf_name_by_offset(btf, linfo[i].file_name_off)) {
8814 struct btf *btf;
8824 btf = btf_get_by_fd(attr->prog_btf_fd);
8825 if (IS_ERR(btf)) {
8826 return PTR_ERR(btf);
8828 env->prog->aux->btf = btf;
11036 func[i]->aux->btf = prog->aux->btf;
11840 struct btf *btf;
11847 btf = tgt_prog ? tgt_prog->aux->btf : btf_vmlinux;
11848 if (!btf) {
11852 t = btf_type_by_id(btf, btf_id);
11857 tname = btf_name_by_offset(btf, t->name_off);
11940 t = btf_type_by_id(btf, t->type);
11945 t = btf_type_by_id(btf, t->type);
11957 t = btf_type_by_id(btf, t->type);
11961 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel);
11979 if (prog_extension && btf_check_type_match(log, prog, btf, t)) {
11982 t = btf_type_by_id(btf, t->type);
11997 ret = btf_distill_func_proto(log, btf, t, tname, &tgt_info->fmodel);
12135 struct btf *bpf_get_btf_vmlinux(void)