Lines Matching refs:btf

64 struct btf;
85 void btf_get(struct btf *btf);
86 void btf_put(struct btf *btf);
88 struct btf *btf_get_by_fd(int fd);
89 int btf_get_info_by_fd(const struct btf *btf,
113 const struct btf_type *btf_type_id_size(const struct btf *btf,
134 void btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj,
136 int btf_type_seq_show_flags(const struct btf *btf, u32 type_id, void *obj,
152 int btf_type_snprintf_show(const struct btf *btf, u32 type_id, void *obj,
156 u32 btf_obj_id(const struct btf *btf);
157 bool btf_is_kernel(const struct btf *btf);
158 bool btf_is_module(const struct btf *btf);
159 struct module *btf_try_get_module(const struct btf *btf);
160 u32 btf_nr_types(const struct btf *btf);
161 bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s,
164 int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t);
165 int btf_find_timer(const struct btf *btf, const struct btf_type *t);
166 struct bpf_map_value_off *btf_parse_kptrs(const struct btf *btf,
169 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind);
170 const struct btf_type *btf_type_skip_modifiers(const struct btf *btf,
172 const struct btf_type *btf_type_resolve_ptr(const struct btf *btf,
174 const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf,
177 btf_resolve_size(const struct btf *btf, const struct btf_type *type,
408 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id);
409 const char *btf_name_by_offset(const struct btf *btf, u32 offset);
410 struct btf *btf_parse_vmlinux(void);
411 struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog);
412 u32 *btf_kfunc_id_set_contains(const struct btf *btf,
417 s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id);
421 static inline const struct btf_type *btf_type_by_id(const struct btf *btf, in btf_type_by_id() argument
426 static inline const char *btf_name_by_offset(const struct btf *btf, in btf_name_by_offset() argument
431 static inline u32 *btf_kfunc_id_set_contains(const struct btf *btf, in btf_kfunc_id_set_contains() argument
442 static inline s32 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) in btf_find_dtor_kfunc() argument
453 static inline bool btf_type_is_struct_ptr(struct btf *btf, const struct btf_type *t) in btf_type_is_struct_ptr() argument
458 t = btf_type_skip_modifiers(btf, t->type, NULL); in btf_type_is_struct_ptr()