Home
last modified time | relevance | path

Searched defs:btf (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c30 struct btf { struct
32 void *raw_data;
34 void *raw_data_swapped;
35 __u32 raw_size;
59 * and cached again if user calls btf__get_raw_data(), at which point argument
76 struct btf_header *hdr; argument
81 /* type ID to `struct btf_type *` lookup index */ argument
82 __u32 *type_offs;
83 size_t type_offs_cap;
84 __u32 nr_types;
[all …]
Dbtf_dump.c57 const struct btf *btf; member
121 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new()
791 static bool btf_is_struct_packed(const struct btf *btf, __u32 id, in btf_is_struct_packed()
Dlibbpf.c464 struct btf *btf; member
703 find_member_by_name(const struct btf *btf, const struct btf_type *t, in find_member_by_name()
722 find_struct_ops_kern_types(const struct btf *btf, const char *tname, in find_struct_ops_kern_types()
787 const struct btf *btf, in bpf_map__init_kern_struct_ops()
944 const struct btf *btf; in bpf_object__init_struct_ops_maps() local
1871 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id) in skip_mods_and_typedefs()
1888 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) in resolve_func_ptr()
1931 static bool get_map_field_int(const char *map_name, const struct btf *btf, in get_map_field_int()
2374 static void bpf_object__sanitize_btf(struct bpf_object *obj, struct btf *btf) in bpf_object__sanitize_btf()
2953 static int find_extern_btf_id(const struct btf *btf, const char *ext_name) in find_extern_btf_id()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c199 struct btf { struct
201 struct btf_type **types; argument
206 struct btf_header hdr; argument
221 const struct btf_type *t; argument
248 struct btf *btf; member
344 const struct btf *btf; member
453 s32 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind) in btf_find_by_name_kind()
472 const struct btf_type *btf_type_skip_modifiers(const struct btf *btf, in btf_type_skip_modifiers()
488 const struct btf_type *btf_type_resolve_ptr(const struct btf *btf, in btf_type_resolve_ptr()
500 const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf, in btf_type_resolve_func_ptr()
[all …]
Dbpf_local_storage.c586 const struct btf *btf, in bpf_local_storage_map_check_btf()
/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/
Diterators.bpf.c35 struct btf { struct
37 struct btf_type **types; argument
38 struct btf_header hdr; argument
47 struct btf *btf; member
60 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c27 static int btf_dump_all_types(const struct btf *btf, in btf_dump_all_types()
52 struct btf *btf = NULL; in test_btf_dump_case() local
138 struct btf *btf = NULL; in test_btf_dump_incremental() local
Dbtf_write.c14 struct btf *btf; in test_btf_write() local
Dbtf_endian.c20 struct btf *btf = NULL, *swap_btf = NULL; in test_btf_endian() local
Dksyms_btf.c98 struct btf *btf; in test_ksyms_btf() local
Dresolve_btfids.c100 struct btf *btf; in resolve_symbols() local
Dcore_autosize.c60 struct btf *btf = NULL; in test_core_autosize() local
/kernel/linux/linux-5.10/tools/perf/util/
Dbpf-event.c96 struct btf *btf) in perf_env__fetch_btf()
122 struct btf *btf, in synthesize_bpf_prog_name()
175 struct btf *btf = NULL; in perf_event__synthesize_one_bpf_prog() local
443 struct btf *btf = NULL; in perf_env__add_bpf_info() local
543 struct btf *btf = NULL; in bpf_event__print_bpf_prog_info() local
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dbtf_dumper.c175 static bool is_str_array(const struct btf *btf, const struct btf_array *arr, in is_str_array()
581 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id, in __btf_dumper_type_only()
670 static int btf_dump_func(const struct btf *btf, char *func_sig, in btf_dump_func()
707 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig, in btf_dumper_type_only()
729 void btf_dump_linfo_plain(const struct btf *btf, in btf_dump_linfo_plain()
761 void btf_dump_linfo_json(const struct btf *btf, in btf_dump_linfo_json()
Dbtf.c93 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str()
100 static int dump_btf_type(const struct btf *btf, __u32 id, in dump_btf_type()
342 static int dump_btf_raw(const struct btf *btf, in dump_btf_raw()
381 static int dump_btf_c(const struct btf *btf, in dump_btf_c()
427 struct btf *btf = NULL; in do_dump() local
Dgen.c95 struct btf *btf, in codegen_datasec_def()
188 struct btf *btf = bpf_object__btf(obj); in codegen_datasecs() local
282 struct btf *btf; in do_skeleton() local
Dmap.c159 unsigned char *value, struct btf *btf) in print_entry_json()
748 struct bpf_map_info *map_info, struct btf *btf, in dump_map_elem()
797 struct btf *btf = NULL; in get_map_kv_btf() local
819 static void free_map_kv_btf(struct btf *btf) in free_map_kv_btf()
837 struct btf *btf = NULL; in map_dump() local
1041 struct btf *btf = NULL; in print_key_value() local
Dmain.h206 const struct btf *btf, in disasm_print_insn()
228 const struct btf *btf; member
Dxlated_dumper.c217 struct btf *btf = dd->btf; in dump_xlated_json() local
302 struct btf *btf = dd->btf; in dump_xlated_plain() local
Dxlated_dumper.h22 struct btf *btf; member
Djit_disasm.c78 const struct btf *btf, in disasm_print_insn()
Dprog.c248 struct btf *btf = NULL; in show_prog_metadata() local
620 struct btf *btf = NULL; in prog_dump() local
1870 struct btf *btf; in profile_target_name() local
/kernel/linux/linux-5.10/include/linux/
Dbtf.h214 static inline const struct btf_type *btf_type_by_id(const struct btf *btf, in btf_type_by_id()
219 static inline const char *btf_name_by_offset(const struct btf *btf, in btf_name_by_offset()
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c31 static int bpf_tcp_ca_init(struct btf *btf) in bpf_tcp_ca_init()
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
Dmain.c91 const char *btf; member
479 struct btf *btf; in symbols_resolve() local

12