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 (!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 (!kern_btf) in get_map_info_type_id()
69 map_info_type_id = btf__find_by_name_kind(kern_btf, "bpf_map_info", in get_map_info_type_id()
75 map_info_type = btf__type_by_id(kern_btf, map_info_type_id); in get_map_info_type_id()
355 const struct btf *kern_btf = d->btf; in __do_dump() local
362 kern_btf = d->btf; in __do_dump()
367 struct_ops_type = btf__type_by_id(kern_btf, in __do_dump()
369 struct_ops_name = btf__name_by_offset(kern_btf, in __do_dump()
403 const struct btf *kern_btf; in do_dump() local
415 kern_btf = get_btf_vmlinux(); in do_dump()
416 if (!kern_btf) in do_dump()
428 d.btf = kern_btf; in do_dump()