| /Linux-v5.4/kernel/bpf/ | 
| D | btf.c | 201 struct btf {  struct203 	struct btf_type **types;  argument
 208 	struct btf_header hdr;  argument
 223 	const struct btf_type *t;  argument
 250 	struct btf *btf;  member
 523 static bool btf_name_offset_valid(const struct btf *btf, u32 offset)  in btf_name_offset_valid()
 540 static bool __btf_name_valid(const struct btf *btf, u32 offset, bool dot_ok)  in __btf_name_valid()
 564 static bool btf_name_valid_identifier(const struct btf *btf, u32 offset)  in btf_name_valid_identifier()
 569 static bool btf_name_valid_section(const struct btf *btf, u32 offset)  in btf_name_valid_section()
 574 static const char *__btf_name_by_offset(const struct btf *btf, u32 offset)  in __btf_name_by_offset()
 [all …]
 
 | 
| D | syscall.c | 494 		     const struct btf *btf,  in map_check_no_btf()501 static int map_check_btf(struct bpf_map *map, const struct btf *btf,  in map_check_btf()
 584 		struct btf *btf;  in map_create()  local
 2639 static int bpf_btf_get_info_by_fd(struct btf *btf,  in bpf_btf_get_info_by_fd()
 
 | 
| D | lpm_trie.c | 729 			  const struct btf *btf,  in trie_check_btf()
 | 
| D | local_storage.c | 334 				    const struct btf *btf,  in cgroup_storage_check_btf()
 | 
| D | arraymap.c | 416 			       const struct btf *btf,  in array_map_check_btf()
 | 
| D | verifier.c | 6411 	const struct btf *btf;  in check_btf_func()  local6530 	const struct btf *btf;  in check_btf_line()  local
 6648 	struct btf *btf;  in check_btf_info()  local
 
 | 
| /Linux-v5.4/tools/lib/bpf/ | 
| D | btf.c | 25 struct btf {  struct30 	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()
 [all …]
 
 | 
| D | btf_dump.c | 56 	const struct btf *btf;  member119 struct btf_dump *btf_dump__new(const struct btf *btf,  in btf_dump__new()
 755 static int btf_align_of(const struct btf *btf, __u32 id)  in btf_align_of()
 790 static bool btf_is_struct_packed(const struct btf *btf, __u32 id,  in btf_is_struct_packed()
 
 | 
| D | libbpf.c | 286 	struct btf *btf;  member1019 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id)  in skip_mods_and_typedefs()
 1042 static bool get_map_field_int(const char *map_name, const struct btf *btf,  in get_map_field_int()
 1366 	struct btf *btf = obj->btf;  in bpf_object__sanitize_btf()  local
 2309 	const struct btf *btf;  member
 2358 static int bpf_core_spec_parse(const struct btf *btf,  in bpf_core_spec_parse()
 2818 	struct btf *btf;  in btf_load_raw()  local
 2874 	struct btf *btf;  in bpf_core_find_kernel_btf()  local
 
 | 
| D | bpf.c | 659 int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size,  in bpf_load_btf()
 | 
| /Linux-v5.4/include/linux/ | 
| D | btf.h | 60 static inline const struct btf_type *btf_type_by_id(const struct btf *btf,  in btf_type_by_id()65 static inline const char *btf_name_by_offset(const struct btf *btf,  in btf_name_by_offset()
 
 | 
| D | bpf.h | 93 	struct btf *btf;  member395 	struct btf *btf;  member
 
 | 
| /Linux-v5.4/tools/perf/util/ | 
| D | bpf-event.c | 95 			       struct btf *btf)  in perf_env__fetch_btf()117 				    struct btf *btf,  in synthesize_bpf_prog_name()
 170 	struct btf *btf = NULL;  in perf_event__synthesize_one_bpf_prog()  local
 348 	struct btf *btf = NULL;  in perf_env__add_bpf_info()  local
 449 	struct btf *btf = NULL;  in bpf_event__print_bpf_prog_info()  local
 
 | 
| /Linux-v5.4/tools/bpf/bpftool/ | 
| D | btf.c | 77 static const char *btf_str(const struct btf *btf, __u32 off)  in btf_str()84 static int dump_btf_type(const struct btf *btf, __u32 id,  in dump_btf_type()
 321 static int dump_btf_raw(const struct btf *btf,  in dump_btf_raw()
 360 static int dump_btf_c(const struct btf *btf,  in dump_btf_c()
 393 	struct btf *btf = NULL;  in do_dump()  local
 
 | 
| D | btf_dumper.c | 421 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id,  in __btf_dumper_type_only()510 static int btf_dump_func(const struct btf *btf, char *func_sig,  in btf_dump_func()
 540 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig,  in btf_dumper_type_only()
 562 void btf_dump_linfo_plain(const struct btf *btf,  in btf_dump_linfo_plain()
 594 void btf_dump_linfo_json(const struct btf *btf,  in btf_dump_linfo_json()
 
 | 
| D | main.h | 177 		       const struct btf *btf,  in disasm_print_insn()199 	const struct btf *btf;  member
 
 | 
| D | map.c | 208 			     unsigned char *value, struct btf *btf)  in print_entry_json()710 			 struct bpf_map_info *map_info, struct btf *btf,  in dump_map_elem()
 775 	struct btf *btf = NULL;  in do_dump()  local
 923 	struct btf *btf = NULL;  in print_key_value()  local
 
 | 
| D | xlated_dumper.c | 217 	struct btf *btf = dd->btf;  in dump_xlated_json()  local302 	struct btf *btf = dd->btf;  in dump_xlated_plain()  local
 
 | 
| D | xlated_dumper.h | 22 	struct btf *btf;  member
 | 
| D | jit_disasm.c | 77 		       const struct btf *btf,  in disasm_print_insn()
 | 
| D | prog.c | 420 	struct btf *btf = NULL;  in do_dump()  local
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/ | 
| D | test_btf_dump.c | 36 static int btf_dump_all_types(const struct btf *btf,  in btf_dump_all_types()61 	struct btf *btf = NULL;  in test_btf_dump_case()  local
 
 | 
| /Linux-v5.4/net/core/ | 
| D | bpf_sk_storage.c | 684 					const struct btf *btf,  in bpf_sk_storage_map_check_btf()
 | 
| /Linux-v5.4/include/uapi/linux/ | 
| D | bpf.h | 491 		__aligned_u64	btf;  member3275 	__aligned_u64 btf;  member
 
 | 
| /Linux-v5.4/tools/include/uapi/linux/ | 
| D | bpf.h | 491 		__aligned_u64	btf;  member3275 	__aligned_u64 btf;  member
 
 |