/linux-master/kernel/bpf/ |
H A D | arraymap.c | 488 array_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | bpf_struct_ops.c | 41 struct btf *btf; member in struct:bpf_struct_ops_map 86 static bool is_valid_value_type(struct btf *btf, s32 value_id, argument 156 find_stub_func_proto(const struct btf *btf, const char *st_op_name, const char *member_name) argument 200 prepare_arg_info(struct btf *btf, const char *st_ops_name, const char *member_name, const struct btf_type *func_proto, struct bpf_struct_ops_arg_info *arg_info) argument 310 bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc, struct btf *btf, struct bpf_verifier_log *log) argument 499 check_zero_holes(const struct btf *btf, const struct btf_type *t, void *data) argument 902 struct btf *btf; local [all...] |
H A D | inode.c | 599 const struct btf *btf; member in struct:bpffs_btf_enums 608 const struct btf *btf; local 650 find_btf_enum_const(const struct btf *btf, const struct btf_type *enum_t, const char *prefix, const char *str, int *value) argument 679 seq_print_delegate_opts(struct seq_file *m, const char *opt_name, const struct btf *btf, const struct btf_type *enum_t, const char *prefix, u64 delegate_msk, u64 any_msk) argument [all...] |
H A D | syscall.c | 729 struct btf *btf local 1056 map_check_no_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument 1064 map_check_btf(struct bpf_map *map, struct bpf_token *token, const struct btf *btf, u32 btf_key_id, u32 btf_value_id) argument 1346 struct btf *btf; local 4874 bpf_btf_get_info_by_fd(struct file *file, struct btf *btf, const union bpf_attr *attr, union bpf_attr __user *uattr) argument [all...] |
H A D | btf.c | 251 struct btf { struct 311 struct btf *btf; member in struct:btf_verifier_env 417 const struct btf *btf; member in struct:btf_show 532 btf_nr_types(const struct btf *btf) argument 544 btf_find_by_name_kind(const struct btf *btf, const char *name, u8 kind) argument 566 struct btf *btf; local 608 btf_type_skip_modifiers(const struct btf *btf, u32 id, u32 *res_id) argument 624 btf_type_resolve_ptr(const struct btf *btf, u32 id, u32 *res_id) argument 636 btf_type_resolve_func_ptr(const struct btf *btf, u32 id, u32 *res_id) argument 752 btf_name_offset_valid(const struct btf *btf, u32 offset) argument 774 btf_str_by_offset(const struct btf *btf, u32 offset) argument 786 __btf_name_valid(const struct btf *btf, u32 offset) argument 807 btf_name_valid_identifier(const struct btf *btf, u32 offset) argument 813 btf_name_valid_section(const struct btf *btf, u32 offset) argument 831 __btf_name_by_offset(const struct btf *btf, u32 offset) argument 842 btf_name_by_offset(const struct btf *btf, u32 offset) argument 847 btf_type_by_id(const struct btf *btf, u32 type_id) argument 886 btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s, const struct btf_member *m, u32 expected_offset, u32 expected_size) argument 924 btf_type_skip_qualifiers(const struct btf *btf, u32 id) argument 1436 struct btf *btf = env->btf; local 1486 struct btf *btf = env->btf; local 1564 const struct btf *btf = env->btf; local 1586 struct btf *btf = env->btf; local 1629 btf_alloc_id(struct btf *btf) argument 1647 btf_free_id(struct btf *btf) argument 1665 btf_free_kfunc_set_tab(struct btf *btf) argument 1684 btf_free_dtor_kfunc_tab(struct btf *btf) argument 1705 btf_free_struct_meta_tab(struct btf *btf) argument 1713 btf_free_struct_ops_tab(struct btf *btf) argument 1728 btf_free(struct btf *btf) argument 1743 struct btf *btf = container_of(rcu, struct btf, rcu); local 1748 btf_get_name(const struct btf *btf) argument 1753 btf_get(struct btf *btf) argument 1758 btf_put(struct btf *btf) argument 1768 struct btf *btf = env->btf; local 1846 const struct btf *btf = env->btf; local 1884 struct btf *btf = env->btf; local 1918 __btf_resolve_size(const struct btf *btf, const struct btf_type *type, u32 *type_size, const struct btf_type **elem_type, u32 *elem_id, u32 *total_nelems, u32 *type_id) argument 1988 btf_resolve_size(const struct btf *btf, const struct btf_type *type, u32 *type_size) argument 1994 btf_resolved_type_id(const struct btf *btf, u32 type_id) argument 2003 btf_type_id_resolve(const struct btf *btf, u32 *type_id) argument 2010 btf_resolved_type_size(const struct btf *btf, u32 type_id) argument 2018 btf_type_id_size(const struct btf *btf, u32 *type_id, u32 *ret_size) argument 2110 btf_df_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offsets, struct btf_show *show) argument 2378 btf_int_bits_show(const struct btf *btf, const struct btf_type *t, void *data, u8 bits_offset, struct btf_show *show) argument 2397 btf_int_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 2484 struct btf *btf = env->btf; local 2509 struct btf *btf = env->btf; local 2606 struct btf *btf = env->btf; local 2648 struct btf *btf = env->btf; local 2694 struct btf *btf = env->btf; local 2745 btf_modifier_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 2758 btf_var_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 2767 btf_ptr_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 2858 struct btf *btf = env->btf; local 2938 struct btf *btf = env->btf; local 3006 __btf_array_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 3059 btf_array_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 3133 struct btf *btf = env->btf; local 3303 btf_find_struct(const struct btf *btf, const struct btf_type *t, u32 off, int sz, enum btf_field_type field_type, struct btf_field_info *info) argument 3316 btf_find_kptr(const struct btf *btf, const struct btf_type *t, u32 off, int sz, struct btf_field_info *info) argument 3356 btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt, int comp_idx, const char *tag_key, int last_id) argument 3378 btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt, int comp_idx, const char *tag_key) argument 3402 btf_find_graph_root(const struct btf *btf, const struct btf_type *pt, const struct btf_type *t, int comp_idx, u32 off, int sz, struct btf_field_info *info, enum btf_field_type head_type) argument 3487 btf_find_struct_field(const struct btf *btf, const struct btf_type *t, u32 field_mask, struct btf_field_info *info, int info_cnt) argument 3556 btf_find_datasec_var(const struct btf *btf, const struct btf_type *t, u32 field_mask, struct btf_field_info *info, int info_cnt) argument 3623 btf_find_field(const struct btf *btf, const struct btf_type *t, u32 field_mask, struct btf_field_info *info, int info_cnt) argument 3634 btf_parse_kptr(const struct btf *btf, struct btf_field *field, struct btf_field_info *info) argument 3725 btf_parse_graph_root(const struct btf *btf, struct btf_field *field, struct btf_field_info *info, const char *node_type_name, size_t node_type_align) argument 3769 btf_parse_list_head(const struct btf *btf, struct btf_field *field, struct btf_field_info *info) argument 3776 btf_parse_rb_root(const struct btf *btf, struct btf_field *field, struct btf_field_info *info) argument 3795 btf_parse_fields(const struct btf *btf, const struct btf_type *t, u32 field_mask, u32 value_size) argument 3904 btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) argument 3976 __btf_struct_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 4023 btf_struct_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 4131 struct btf *btf = env->btf; local 4191 btf_enum_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 4239 struct btf *btf = env->btf; local 4294 btf_enum64_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 4614 struct btf *btf = env->btf; local 4656 btf_datasec_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct btf_show *show) argument 4813 struct btf *btf = env->btf; local 4873 const struct btf *btf; local 4968 const struct btf *btf; local 5057 struct btf *btf = env->btf; local 5086 struct btf *btf = env->btf; local 5158 struct btf *btf = env->btf; local 5216 struct btf *btf = env->btf; local 5263 const struct btf *btf; local 5314 struct btf *btf; local 5384 btf_parse_struct_metas(struct bpf_verifier_log *log, struct btf *btf) argument 5469 btf_find_struct_meta(const struct btf *btf, u32 btf_id) argument 5480 btf_check_type_tags(struct btf_verifier_env *env, struct btf *btf, int start_id) argument 5548 struct btf *btf = NULL; local 5711 btf_is_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type, int arg) argument 5799 btf_validate_prog_ctx_type(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, int arg, enum bpf_prog_type prog_type, enum bpf_attach_type attach_type) argument 5933 btf_translate_to_vmlinux(struct bpf_verifier_log *log, struct btf *btf, const struct btf_type *t, enum bpf_prog_type prog_type, int arg) argument 5971 struct btf *btf = NULL; local 6038 struct btf *btf = NULL, *base_btf; local 6119 is_int_ptr(struct btf *btf, const struct btf_type *t) argument 6127 get_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto, int off) argument 6171 btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto, u32 arg_no) argument 6197 struct btf *btf = bpf_prog_get_target_btf(prog); local 6392 btf_struct_walk(struct bpf_verifier_log *log, const struct btf *btf, const struct btf_type *t, int off, int size, u32 *next_btf_id, enum bpf_type_flag *flag, const char **field_name) argument 6657 const struct btf *btf = reg->btf; local 6740 btf_struct_ids_match(struct bpf_verifier_log *log, const struct btf *btf, u32 id, int off, const struct btf *need_btf, u32 need_type_id, bool strict) argument 6779 __get_type_size(struct btf *btf, u32 btf_id, const struct btf_type **ret_type) argument 6814 btf_distill_func_proto(struct bpf_verifier_log *log, struct btf *btf, const struct btf_type *func, const char *tname, struct btf_func_model *m) argument 7027 btf_is_dynptr_ptr(const struct btf *btf, const struct btf_type *t) argument 7052 const struct btf *btf; member in struct:bpf_cand_cache::__anon2852 7062 btf_get_ptr_to_btf_id(struct bpf_verifier_log *log, int arg_idx, const struct btf *btf, const struct btf_type *t) argument 7136 struct btf *btf = prog->aux->btf; local 7340 btf_type_show(const struct btf *btf, u32 type_id, void *obj, struct btf_show *show) argument 7358 btf_type_seq_show_flags(const struct btf *btf, u32 type_id, void *obj, struct seq_file *m, u64 flags) argument 7372 btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj, struct seq_file *m) argument 7408 btf_type_snprintf_show(const struct btf *btf, u32 type_id, void *obj, char *buf, int len, u64 flags) argument 7432 const struct btf *btf = filp->private_data; local 7451 __btf_new_fd(struct btf *btf) argument 7458 struct btf *btf; local 7486 struct btf *btf; local 7506 btf_get_info_by_fd(const struct btf *btf, const union bpf_attr *attr, union bpf_attr __user *uattr) argument 7568 struct btf *btf; local 7587 btf_obj_id(const struct btf *btf) argument 7592 btf_is_kernel(const struct btf *btf) argument 7597 btf_is_module(const struct btf *btf) argument 7610 struct btf *btf; member in struct:btf_module 7623 const struct btf *btf = bin_attr->private; local 7636 struct btf *btf; local 7750 btf_try_get_module(const struct btf *btf) argument 7785 struct btf *btf = NULL; local 7823 struct btf *btf = NULL; local 7862 btf_check_iter_kfuncs(struct btf *btf, const char *func_name, const struct btf_type *func, u32 func_flags) argument 7935 btf_check_kfunc_protos(struct btf *btf, u32 func_id, u32 func_flags) argument 7966 btf_populate_kfunc_set(struct btf *btf, enum btf_kfunc_hook hook, const struct btf_kfunc_id_set *kset) argument 8080 __btf_kfunc_id_set_contains(const struct btf *btf, enum btf_kfunc_hook hook, u32 kfunc_btf_id, const struct bpf_prog *prog) argument 8152 btf_kfunc_id_set_contains(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog) argument 8168 btf_kfunc_is_modify_return(const struct btf *btf, u32 kfunc_btf_id, const struct bpf_prog *prog) argument 8177 struct btf *btf; local 8226 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) argument 8243 btf_check_dtor_kfuncs(struct btf *btf, const struct btf_id_dtor_kfunc *dtors, u32 cnt) argument 8285 struct btf *btf; local 8509 __purge_cand_cache(struct btf *btf, struct bpf_cand_cache **cache, int cache_size) argument 8541 purge_cand_cache(struct btf *btf) argument 8759 struct btf *btf = reg->btf; local 8859 btf_add_struct_ops(struct btf *btf, struct bpf_struct_ops *st_ops, struct bpf_verifier_log *log) argument 8903 bpf_struct_ops_find_value(struct btf *btf, u32 value_id) argument 8925 bpf_struct_ops_find(struct btf *btf, u32 type_id) argument 8949 struct btf *btf; local 8977 btf_param_match_suffix(const struct btf *btf, const struct btf_param *arg, const char *suffix) argument [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 179 struct btf *btf; local
|
H A D | test_verifier.c | 901 struct btf *btf = NULL; local [all...] |
H A D | test_progs.c | 987 int get_bpf_max_tramp_links_from(struct btf *btf) argument
|
H A D | veristat.c | 935 const struct btf *btf = bpf_object__btf(obj); local [all...] |
/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 528 static int bpf_testmod_ops_init(struct btf *btf) argument
|
/linux-master/tools/lib/bpf/ |
H A D | btf_dump.c | 80 const struct btf *btf; member in struct:btf_dump 148 struct btf_dump *btf_dump__new(const struct btf *btf, argument 833 btf_is_struct_packed(const struct btf *btf, __u32 id, const struct btf_type *t) argument 1849 ptr_is_aligned(const struct btf *btf, __u32 type_id, const void *data) argument [all...] |
H A D | linker.c | 58 struct btf *btf; member in struct:src_obj 147 struct btf *btf; member in struct:bpf_linker 936 struct btf *btf = ctx; local 946 struct btf *btf = ctx; local 2679 struct btf *btf = linker->btf; local [all...] |
H A D | btf.c | 31 struct btf { struct 192 static void *btf_add_type_offs_mem(struct btf *btf, size_t add_cnt) argument 198 static int btf_add_type_idx_entry(struct btf *bt argument 220 btf_parse_hdr(struct btf *btf) argument 269 btf_parse_str_sec(struct btf *btf) argument 413 btf_parse_type_sec(struct btf *btf) argument 451 btf_validate_str(const struct btf *btf, __u32 str_off, const char *what, __u32 type_id) argument 464 btf_validate_id(const struct btf *btf, __u32 id, __u32 ctx_id) argument 477 btf_validate_type(const struct btf *btf, const struct btf_type *t, __u32 id) argument 595 btf_sanity_check(const struct btf *btf) argument 610 btf__type_cnt(const struct btf *btf) argument 615 btf__base_btf(const struct btf *btf) argument 621 btf_type_by_id(const struct btf *btf, __u32 type_id) argument 630 btf__type_by_id(const struct btf *btf, __u32 type_id) argument 637 determine_ptr_size(const struct btf *btf) argument 681 btf_ptr_sz(const struct btf *btf) argument 696 btf__pointer_size(const struct btf *btf) argument 711 btf__set_pointer_size(struct btf *btf, size_t ptr_sz) argument 730 btf__endianness(const struct btf *btf) argument 738 btf__set_endianness(struct btf *btf, enum btf_endianness endian) argument 763 btf__resolve_size(const struct btf *btf, __u32 type_id) argument 818 btf__align_of(const struct btf *btf, __u32 id) argument 873 btf__resolve_type(const struct btf *btf, __u32 type_id) argument 893 btf__find_by_name(const struct btf *btf, const char *type_name) argument 911 btf_find_by_name_kind(const struct btf *btf, int start_id, const char *type_name, __u32 kind) argument 933 btf__find_by_name_kind_own(const struct btf *btf, const char *type_name, __u32 kind) argument 939 btf__find_by_name_kind(const struct btf *btf, const char *type_name, __u32 kind) argument 945 btf_is_modifiable(const struct btf *btf) argument 950 btf__free(struct btf *btf) argument 977 struct btf *btf; local 1028 struct btf *btf; local 1092 struct btf *btf = NULL; local 1225 struct btf *btf = NULL; local 1298 struct btf *btf; local 1325 btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level, int token_fd) argument 1406 btf__load_into_kernel(struct btf *btf) argument 1411 btf__fd(const struct btf *btf) argument 1416 btf__set_fd(struct btf *btf, int fd) argument 1421 btf_strs_data(const struct btf *btf) argument 1426 btf_get_raw_data(const struct btf *btf, __u32 *size, bool swap_endian) argument 1478 struct btf *btf = (struct btf *)btf_ro; local 1498 btf__str_by_offset(const struct btf *btf, __u32 offset) argument 1508 btf__name_by_offset(const struct btf *btf, __u32 offset) argument 1518 struct btf *btf; local 1569 struct btf *btf; local 1587 btf_invalidate_raw_data(struct btf *btf) argument 1603 btf_ensure_modifiable(struct btf *btf) argument 1663 btf__find_str(struct btf *btf, const char *s) argument 1689 btf__add_str(struct btf *btf, const char *s) argument 1711 btf_add_type_mem(struct btf *btf, size_t add_sz) argument 1722 btf_commit_type(struct btf *btf, int data_sz) argument 1774 btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) argument 1803 struct btf *btf = ctx; local 1819 btf__add_btf(struct btf *btf, const struct btf *src_btf) argument 1928 btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding) argument 1976 btf__add_float(struct btf *btf, const char *name, size_t byte_sz) argument 2021 btf_add_ref_kind(struct btf *btf, int kind, const char *name, int ref_type_id) argument 2057 btf__add_ptr(struct btf *btf, int ref_type_id) argument 2071 btf__add_array(struct btf *btf, int index_type_id, int elem_type_id, __u32 nr_elems) argument 2101 btf_add_composite(struct btf *btf, int kind, const char *name, __u32 bytes_sz) argument 2142 btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) argument 2160 btf__add_union(struct btf *btf, const char *name, __u32 byte_sz) argument 2165 btf_last_type(struct btf *btf) argument 2180 btf__add_field(struct btf *btf, const char *name, int type_id, __u32 bit_offset, __u32 bit_size) argument 2235 btf_add_enum_common(struct btf *btf, const char *name, __u32 byte_sz, bool is_signed, __u8 kind) argument 2280 btf__add_enum(struct btf *btf, const char *name, __u32 byte_sz) argument 2297 btf__add_enum_value(struct btf *btf, const char *name, __s64 value) argument 2359 btf__add_enum64(struct btf *btf, const char *name, __u32 byte_sz, bool is_signed) argument 2374 btf__add_enum64_value(struct btf *btf, const char *name, __u64 value) argument 2426 btf__add_fwd(struct btf *btf, const char *name, enum btf_fwd_kind fwd_kind) argument 2462 btf__add_typedef(struct btf *btf, const char *name, int ref_type_id) argument 2477 btf__add_volatile(struct btf *btf, int ref_type_id) argument 2489 btf__add_const(struct btf *btf, int ref_type_id) argument 2501 btf__add_restrict(struct btf *btf, int ref_type_id) argument 2514 btf__add_type_tag(struct btf *btf, const char *value, int ref_type_id) argument 2530 btf__add_func(struct btf *btf, const char *name, enum btf_func_linkage linkage, int proto_type_id) argument 2562 btf__add_func_proto(struct btf *btf, int ret_type_id) argument 2596 btf__add_func_param(struct btf *btf, const char *name, int type_id) argument 2649 btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) argument 2699 btf__add_datasec(struct btf *btf, const char *name, __u32 byte_sz) argument 2738 btf__add_datasec_var_info(struct btf *btf, int var_type_id, __u32 offset, __u32 byte_sz) argument 2786 btf__add_decl_tag(struct btf *btf, const char *value, int ref_type_id, int component_idx) argument 3214 btf__dedup(struct btf *btf, const struct btf_dedup_opts *opts) argument 3284 struct btf *btf; member in struct:btf_dedup 3390 btf_dedup_new(struct btf *btf, const struct btf_dedup_opts *opts) argument 4957 struct btf *btf; local [all...] |
H A D | libbpf.c | 604 struct btf *btf; member in struct:module_btf 673 struct btf *btf; member in struct:bpf_object 934 find_member_by_name(const struct btf *bt argument 965 struct btf *btf; local 1089 const struct btf *btf = obj->btf; local 1282 const struct btf *btf; local 2266 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id) argument 2283 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) argument 2335 get_map_field_int(const char *map_name, const struct btf *btf, const struct btf_member *m, __u32 *res) argument 2365 get_map_field_long(const char *map_name, const struct btf *btf, const struct btf_member *m, __u64 *res) argument 2440 parse_btf_map_def(const char *map_name, struct btf *btf, const struct btf_type *def_t, bool strict, struct btf_map_def *map_def, struct btf_map_def *inner_def) argument 3012 bpf_object__sanitize_btf(struct bpf_object *obj, struct btf *btf) argument 3221 btf_fixup_datasec(struct bpf_object *obj, struct btf *btf, struct btf_type *t) argument 3920 find_extern_btf_id(const struct btf *btf, const char *ext_name) argument 3953 find_extern_sec_btf_id(struct btf *btf, int ext_btf_id) argument 3978 find_kcfg_type(const struct btf *btf, int id, bool *is_signed) argument 4045 find_int_btf_id(const struct btf *btf) argument 4061 add_dummy_ksym_var(struct btf *btf) argument 5496 struct btf *btf; local 6639 need_func_arg_type_fixup(const struct btf *btf, const struct bpf_program *prog, const char *subprog_name, int arg_idx, int arg_type_id, const char *ctx_name) argument 6710 clone_func_btf_info(struct btf *btf, int orig_fn_id, struct bpf_program *prog) argument 6784 struct btf *btf = obj->btf; local 8048 struct btf *btf; local 8084 struct btf *btf = NULL; local 9605 const struct btf *btf; local 9731 find_btf_by_prefix_kind(const struct btf *btf, const char *prefix, const char *name, __u32 kind) argument 9748 find_attach_btf_id(struct btf *btf, const char *name, enum bpf_attach_type attach_type) argument 9761 struct btf *btf; local 9783 struct btf *btf; local 10031 struct btf *btf; local 13580 struct btf *btf; local [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | prog.c | 313 struct btf *btf; local 708 struct btf *btf = NULL; local 2200 struct btf *btf = NULL; local [all...] |
H A D | gen.c | 59 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) argument 147 codegen_datasec_def(struct bpf_object *obj, struct btf *btf, struct btf_dump *d, const struct btf_type *sec, const char *obj_name) argument 235 find_type_for_map(struct btf *btf, const char *map_ident) argument 277 struct btf *btf = bpf_object__btf(obj); local 318 btf_is_ptr_to_func_proto(const struct btf *btf, const struct btf_type *v) argument 326 struct btf *btf = bpf_object__btf(obj); local 499 struct btf *btf = bpf_object__btf(obj); local 939 walk_st_ops_shadow_vars(struct btf *btf, const char *ident, const struct btf_type *map_type, __u32 map_type_id) argument 1054 gen_st_ops_shadow_type(const char *obj_name, struct btf *btf, const char *ident, const struct bpf_map *map) argument 1082 gen_st_ops_shadow(const char *obj_name, struct btf *btf, struct bpf_object *obj) argument 1116 gen_st_ops_shadow_init(struct btf *btf, struct bpf_object *obj) argument 1152 struct btf *btf; local 1534 struct btf *btf; local 1891 btf_save_raw(const struct btf *btf, const char *path) argument 2058 struct btf *btf = info->src_btf; local 2121 struct btf *btf = info->src_btf; local 2304 struct btf *btf = NULL; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 4790 struct btf *btf = NULL; local [all...] |
/linux-master/kernel/trace/ |
H A D | trace_probe.h | 416 struct btf *btf; /* The BTF to be used */ member in struct:traceprobe_parse_context
|
H A D | trace_probe.c | 313 static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type) argument 331 static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type) argument 354 struct btf *btf = ctx->btf; local 384 fetch_type_from_btf_type(struct btf *btf, const struct btf_type *type, struct traceprobe_parse_context *ctx) argument 442 struct btf *btf; local 697 struct btf *btf = ctx->btf; local [all...] |
H A D | bpf_trace.c | 526 const struct btf *btf; local 982 bpf_btf_printf_prepare(struct btf_ptr *ptr, u32 btf_ptr_size, u64 flags, const struct btf **btf, s32 *btf_id) argument 1015 const struct btf *btf; local [all...] |
/linux-master/include/linux/ |
H A D | bpf_verifier.h | 96 struct btf *btf; member in struct:bpf_reg_state::__anon1915::__anon1917 122 struct btf *btf; member in struct:bpf_reg_state::__anon1915::__anon1920 528 struct btf *btf; member in struct:bpf_insn_aux_data::__anon1923::__anon1925::__anon1926::__anon1927 794 bpf_trampoline_compute_key(const struct bpf_prog *tgt_prog, struct btf *btf, u32 btf_id) argument [all...] |
H A D | bpf.h | 210 struct btf *btf; member in struct:btf_field_kptr 220 struct btf *btf; member in struct:btf_field_graph_root 275 struct btf *bt member in struct:bpf_map 915 struct btf *btf; member in struct:bpf_insn_access_aux::__anon211::__anon212 1418 struct btf *btf; member in struct:bpf_ctx_arg_aux 1423 struct btf *btf; member in struct:btf_mod_pair 1494 struct btf *btf; member in struct:bpf_prog_aux 2609 const struct btf *btf; member in struct:bpf_core_ctx [all...] |
/linux-master/tools/perf/util/ |
H A D | annotate.c | 1940 struct btf *btf = NULL; local
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1670 __aligned_u64 btf; member in struct:bpf_attr::__anon2607 6598 __aligned_u64 btf; member in struct:bpf_btf_info
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1670 __aligned_u64 btf; member in struct:bpf_attr::__anon3148 6598 __aligned_u64 btf; member in struct:bpf_btf_info
|