Searched defs:btf (Results 1 - 25 of 76) sorted by path

1234

/linux-master/include/linux/
H A Dbpf.h210 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...]
H A Dbpf_verifier.h96 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 Dbtf.h512 bpf_struct_ops_find(struct btf *btf, u32 type_id) argument
541 btf_type_by_id(const struct btf *btf, u32 type_id) argument
546 btf_name_by_offset(const struct btf *btf, u32 offset) argument
551 btf_kfunc_id_set_contains(const struct btf *btf, u32 kfunc_btf_id, struct bpf_prog *prog) argument
563 btf_find_dtor_kfunc(struct btf *btf, u32 btf_id) argument
572 btf_find_struct_meta(const struct btf *btf, u32 btf_id) argument
577 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
594 btf_type_is_struct_ptr(struct btf *btf, const struct btf_type *t) argument
[all...]
/linux-master/include/uapi/linux/
H A Dbpf.h1670 __aligned_u64 btf; member in struct:bpf_attr::__anon2607
6598 __aligned_u64 btf; member in struct:bpf_btf_info
/linux-master/kernel/bpf/
H A Darena.c201 static int arena_map_check_btf(const struct bpf_map *map, const struct btf *btf, argument
H A Darraymap.c488 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 Dbloom_filter.c183 bloom_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 Dbpf_local_storage.c687 bpf_local_storage_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 Dbpf_struct_ops.c41 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 Dbtf.c251 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...]
H A Dinode.c599 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 Dlocal_storage.c356 cgroup_storage_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 Dlog.c386 const struct btf *btf; local
430 static const char *btf_type_name(const struct btf *btf, u32 id) argument
509 iter_type_str(const struct btf *btf, u32 btf_id) argument
[all...]
H A Dlpm_trie.c713 trie_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 Dsyscall.c729 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 Dverifier.c283 struct btf *btf; member in struct:bpf_call_arg_meta
293 struct btf *btf; member in struct:bpf_kfunc_call_arg_meta
344 btf_type_name(const struct btf *btf, u32 id) argument
1001 mark_stack_slots_iter(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, struct bpf_reg_state *reg, int insn_idx, struct btf *btf, u32 btf_id, int nr_slots) argument
1103 is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, struct btf *btf, u32 btf_id, int nr_slots) argument
2348 mark_btf_ld_reg(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno, enum bpf_reg_type reg_type, struct btf *btf, u32 btf_id, enum bpf_type_flag flag) argument
2500 struct btf *btf = aux->btf; local
2571 struct btf *btf; member in struct:bpf_kfunc_btf
2642 struct btf *btf; local
5302 rcu_protected_object(const struct btf *btf, u32 btf_id) argument
5558 check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, enum bpf_access_type t, enum bpf_reg_type *reg_type, struct btf **btf, u32 *btf_id) argument
6835 struct btf *btf = NULL; local
7487 struct btf *btf = NULL; local
9348 btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, const struct btf *btf, struct bpf_reg_state *regs) argument
9444 struct btf *btf = prog->aux->btf; local
10746 is_kfunc_arg_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument
10759 is_kfunc_arg_const_mem_size(const struct btf *btf, const struct btf_param *arg, const struct bpf_reg_state *reg) argument
10772 is_kfunc_arg_optional(const struct btf *btf, const struct btf_param *arg) argument
10777 is_kfunc_arg_constant(const struct btf *btf, const struct btf_param *arg) argument
10782 is_kfunc_arg_ignore(const struct btf *btf, const struct btf_param *arg) argument
10787 is_kfunc_arg_map(const struct btf *btf, const struct btf_param *arg) argument
10792 is_kfunc_arg_alloc_obj(const struct btf *btf, const struct btf_param *arg) argument
10797 is_kfunc_arg_uninit(const struct btf *btf, const struct btf_param *arg) argument
10802 is_kfunc_arg_refcounted_kptr(const struct btf *btf, const struct btf_param *arg) argument
10807 is_kfunc_arg_nullable(const struct btf *btf, const struct btf_param *arg) argument
10812 is_kfunc_arg_const_str(const struct btf *btf, const struct btf_param *arg) argument
10817 is_kfunc_arg_scalar_with_name(const struct btf *btf, const struct btf_param *arg, const char *name) argument
10851 __is_kfunc_ptr_arg_type(const struct btf *btf, const struct btf_param *arg, int type) argument
10868 is_kfunc_arg_dynptr(const struct btf *btf, const struct btf_param *arg) argument
10873 is_kfunc_arg_list_head(const struct btf *btf, const struct btf_param *arg) argument
10878 is_kfunc_arg_list_node(const struct btf *btf, const struct btf_param *arg) argument
10883 is_kfunc_arg_rbtree_root(const struct btf *btf, const struct btf_param *arg) argument
10888 is_kfunc_arg_rbtree_node(const struct btf *btf, const struct btf_param *arg) argument
10893 is_kfunc_arg_callback(struct bpf_verifier_env *env, const struct btf *btf, const struct btf_param *arg) argument
10906 __btf_type_is_scalar_struct(struct bpf_verifier_env *env, const struct btf *btf, const struct btf_type *t, int rec) argument
11608 const struct btf *btf = meta->btf; local
15909 const struct btf *btf; local
16011 const struct btf *btf; local
16101 const struct btf *btf; local
16228 const struct btf *btf = prog->aux->btf; local
16294 struct btf *btf; local
17938 find_btf_percpu_datasec(struct btf *btf) argument
17980 struct btf *btf; local
20675 struct btf *btf; local
20787 struct btf *btf; local
[all...]
/linux-master/kernel/bpf/preload/iterators/
H A Diterators.bpf.c34 struct btf { struct
46 struct btf *btf; member in struct:bpf_prog_aux
59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) argument
[all...]
/linux-master/kernel/trace/
H A Dbpf_trace.c526 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...]
H A Dtrace_btf.c70 const struct btf_member *btf_find_struct_member(struct btf *btf, argument
H A Dtrace_probe.c313 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 Dtrace_probe.h416 struct btf *btf; /* The BTF to be used */ member in struct:traceprobe_parse_context
/linux-master/net/bpf/
H A Dbpf_dummy_struct_ops.c153 static int bpf_dummy_init(struct btf *btf) argument
/linux-master/net/ipv4/
H A Dbpf_tcp_ca.c25 static int bpf_tcp_ca_init(struct btf *btf) argument
/linux-master/net/netfilter/
H A Dnf_bpf_link.c269 struct btf *btf; local
/linux-master/tools/bpf/bpftool/
H A Dbtf.c90 static const char *btf_str(const struct btf *btf, __u32 off) argument
102 static int dump_btf_type(const struct btf *btf, __u32 id, argument
418 dump_btf_raw(const struct btf *btf, __u32 *root_type_ids, int root_type_cnt) argument
463 dump_btf_c(const struct btf *btf, __u32 *root_type_ids, int root_type_cnt) argument
552 struct btf *btf = NULL, *base = NULL; local
[all...]

Completed in 703 milliseconds

1234