Lines Matching refs:kern_btf
43 const struct btf *kern_btf; in get_kern_struct_ops_name() local
47 kern_btf = get_btf_vmlinux(); in get_kern_struct_ops_name()
48 if (IS_ERR(kern_btf)) in get_kern_struct_ops_name()
51 t = btf__type_by_id(kern_btf, info->btf_vmlinux_value_type_id); in get_kern_struct_ops_name()
52 st_ops_name = btf__name_by_offset(kern_btf, t->name_off); in get_kern_struct_ops_name()
60 const struct btf *kern_btf; in get_map_info_type_id() local
65 kern_btf = get_btf_vmlinux(); in get_map_info_type_id()
66 if (IS_ERR(kern_btf)) { in get_map_info_type_id()
67 map_info_type_id = PTR_ERR(kern_btf); in get_map_info_type_id()
71 map_info_type_id = btf__find_by_name_kind(kern_btf, "bpf_map_info", in get_map_info_type_id()
77 map_info_type = btf__type_by_id(kern_btf, map_info_type_id); in get_map_info_type_id()
357 const struct btf *kern_btf = d->btf; in __do_dump() local
364 kern_btf = d->btf; in __do_dump()
369 struct_ops_type = btf__type_by_id(kern_btf, in __do_dump()
371 struct_ops_name = btf__name_by_offset(kern_btf, in __do_dump()
405 const struct btf *kern_btf; in do_dump() local
417 kern_btf = get_btf_vmlinux(); in do_dump()
418 if (IS_ERR(kern_btf)) in do_dump()
430 d.btf = kern_btf; in do_dump()