Lines Matching defs:btf
25 struct btf { struct
30 struct btf_type **types; argument
44 static int btf_add_type(struct btf *btf, struct btf_type *t) in btf_add_type()
72 static int btf_parse_hdr(struct btf *btf) in btf_parse_hdr()
128 static int btf_parse_str_sec(struct btf *btf) in btf_parse_str_sec()
180 static int btf_parse_type_sec(struct btf *btf) in btf_parse_type_sec()
204 __u32 btf__get_nr_types(const struct btf *btf) in btf__get_nr_types()
209 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id()
229 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size()
282 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type()
302 __s32 btf__find_by_name(const struct btf *btf, const char *type_name) in btf__find_by_name()
320 void btf__free(struct btf *btf) in btf__free()
335 struct btf *btf; in btf__new() local
387 struct btf *btf = NULL; in btf__parse_elf() local
506 static int btf_fixup_datasec(struct bpf_object *obj, struct btf *btf, in btf_fixup_datasec()
561 int btf__finalize_data(struct bpf_object *obj, struct btf *btf) in btf__finalize_data()
584 int btf__load(struct btf *btf) in btf__load()
614 int btf__fd(const struct btf *btf) in btf__fd()
619 const void *btf__get_raw_data(const struct btf *btf, __u32 *size) in btf__get_raw_data()
625 const char *btf__name_by_offset(const struct btf *btf, __u32 offset) in btf__name_by_offset()
633 int btf__get_from_id(__u32 id, struct btf **btf) in btf__get_from_id()
697 int btf__get_map_kv_tids(const struct btf *btf, const char *map_name, in btf__get_map_kv_tids()
999 static int btf_ext_reloc_info(const struct btf *btf, in btf_ext_reloc_info()
1047 int btf_ext__reloc_func_info(const struct btf *btf, in btf_ext__reloc_func_info()
1056 int btf_ext__reloc_line_info(const struct btf *btf, in btf_ext__reloc_line_info()
1224 int btf__dedup(struct btf *btf, struct btf_ext *btf_ext, in btf__dedup()
1276 struct btf *btf; member
1386 static struct btf_dedup *btf_dedup_new(struct btf *btf, struct btf_ext *btf_ext, in btf_dedup_new()