Lines Matching defs:btf
26 struct btf { struct
31 struct btf_type **types; argument
40 static int btf_add_type(struct btf *btf, struct btf_type *t) in btf_add_type()
68 static int btf_parse_hdr(struct btf *btf, btf_print_fn_t err_log) in btf_parse_hdr()
124 static int btf_parse_str_sec(struct btf *btf, btf_print_fn_t err_log) in btf_parse_str_sec()
141 static int btf_parse_type_sec(struct btf *btf, btf_print_fn_t err_log) in btf_parse_type_sec()
189 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id()
224 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size()
269 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type()
289 __s32 btf__find_by_name(const struct btf *btf, const char *type_name) in btf__find_by_name()
307 void btf__free(struct btf *btf) in btf__free()
324 struct btf *btf; in btf__new() local
384 int btf__fd(const struct btf *btf) in btf__fd()
389 const char *btf__name_by_offset(const struct btf *btf, __u32 offset) in btf__name_by_offset()