| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | btf.h | 15 struct btf_type; 48 const struct btf_type *btf_type_id_size(const struct btf *btf, 92 bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s, 95 int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t); 96 bool btf_type_is_void(const struct btf_type *t); 98 const struct btf_type *btf_type_skip_modifiers(const struct btf *btf, 100 const struct btf_type *btf_type_resolve_ptr(const struct btf *btf, 102 const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf, 104 const struct btf_type * 105 btf_resolve_size(const struct btf *btf, const struct btf_type *type, [all …]
|
| H A D | bpf.h | 35 struct btf_type; 93 const struct btf_type *key_type, 94 const struct btf_type *value_type); 262 const struct btf_type *key_type, 263 const struct btf_type *value_type); 472 const struct btf_type *t, int off, int size, 649 const struct btf_type *tgt_type; 820 const struct btf_type *attach_func_proto; 921 struct btf_type; 928 int (*check_member)(const struct btf_type *t, [all …]
|
| H A D | bpf_local_storage.h | 133 const struct btf_type *key_type, 134 const struct btf_type *value_type);
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | btf.h | 24 struct btf_type; 46 LIBBPF_API const struct btf_type *btf__type_by_id(const struct btf *btf, 178 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind() 183 static inline __u16 btf_vlen(const struct btf_type *t) in btf_vlen() 188 static inline bool btf_kflag(const struct btf_type *t) in btf_kflag() 193 static inline bool btf_is_void(const struct btf_type *t) in btf_is_void() 198 static inline bool btf_is_int(const struct btf_type *t) in btf_is_int() 203 static inline bool btf_is_ptr(const struct btf_type *t) in btf_is_ptr() 208 static inline bool btf_is_array(const struct btf_type *t) in btf_is_array() 213 static inline bool btf_is_struct(const struct btf_type *t) in btf_is_struct() [all …]
|
| H A D | btf.c | 28 static struct btf_type btf_void; 253 static int btf_type_size(const struct btf_type *t) in btf_type_size() 255 const int base_size = sizeof(struct btf_type); in btf_type_size() 288 static void btf_bswap_type_base(struct btf_type *t) in btf_bswap_type_base() 295 static int btf_bswap_type_rest(struct btf_type *t) in btf_bswap_type_rest() 374 while (next_type + sizeof(struct btf_type) <= end_type) { in btf_parse_type_sec() 413 static struct btf_type *btf_type_by_id(struct btf *btf, __u32 type_id) in btf_type_by_id() 421 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id() 430 const struct btf_type *t; in determine_ptr_size() 524 static bool btf_type_is_void(const struct btf_type *t) in btf_type_is_void() [all …]
|
| H A D | btf_dump.c | 271 const struct btf_type *t; in btf_dump_mark_referenced() 436 const struct btf_type *t; in btf_dump_order_type() 566 const struct btf_type *t); 569 const struct btf_type *t); 571 const struct btf_type *t, int lvl); 574 const struct btf_type *t); 576 const struct btf_type *t, int lvl); 579 const struct btf_type *t); 582 const struct btf_type *t, int lvl); 603 const struct btf_type *t = btf__type_by_id(d->btf, id); in btf_dump_is_blacklisted() [all …]
|
| H A D | libbpf.c | 76 static const struct btf_type * 293 const struct btf_type *type; 689 find_member_by_offset(const struct btf_type *t, __u32 bit_offset) in find_member_by_offset() 703 find_member_by_name(const struct btf *btf, const struct btf_type *t, in find_member_by_name() 723 const struct btf_type **type, __u32 *type_id, in find_struct_ops_kern_types() 724 const struct btf_type **vtype, __u32 *vtype_id, in find_struct_ops_kern_types() 727 const struct btf_type *kern_type, *kern_vtype; in find_struct_ops_kern_types() 791 const struct btf_type *type, *kern_type, *kern_vtype; in bpf_map__init_kern_struct_ops() 824 const struct btf_type *mtype, *kern_mtype; in bpf_map__init_kern_struct_ops() 939 const struct btf_type *type, *datasec; in bpf_object__init_struct_ops_maps() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | btf.c | 201 struct btf_type **types; 221 const struct btf_type *t; 277 static const char *btf_type_str(const struct btf_type *t) in btf_type_str() 355 const struct btf_type *type; 369 const struct btf_type *t, 374 const struct btf_type *struct_type, 376 const struct btf_type *member_type); 378 const struct btf_type *struct_type, 380 const struct btf_type *member_type); 382 const struct btf_type *t); [all …]
|
| H A D | bpf_struct_ops.c | 98 static const struct btf_type *module_type; 105 const struct btf_type *t; in bpf_struct_ops_init() 156 const struct btf_type *func_proto; in bpf_struct_ops_init() 278 const struct btf_type *t = st_map->st_ops->type; in bpf_struct_ops_map_put_progs() 289 static int check_zero_holes(const struct btf_type *t, void *data) in check_zero_holes() 293 const struct btf_type *mtype; in check_zero_holes() 322 const struct btf_type *t = st_ops->type; in bpf_struct_ops_map_update_elem() 368 const struct btf_type *mtype, *ptype; in bpf_struct_ops_map_update_elem() 561 const struct btf_type *t, *vt; in bpf_struct_ops_map_alloc()
|
| H A D | bpf_local_storage.c | 587 const struct btf_type *key_type, in bpf_local_storage_map_check_btf() 588 const struct btf_type *value_type) in bpf_local_storage_map_check_btf()
|
| H A D | lpm_trie.c | 725 const struct btf_type *key_type, in trie_check_btf() 726 const struct btf_type *value_type) in trie_check_btf()
|
| /OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/ |
| H A D | 0001-Fix-segfault-when-btf__type_by_id-returns-NULL.patch | 20 const struct btf_type *t = btf__type_by_id(btf, id); 30 const struct btf_type *type = btf__type_by_id(btf, type_id); 36 @@ -334,6 +339,8 @@ std::string BTF::type_of(const btf_type *type, const std::string &field) 39 const struct btf_type *type = btf__type_by_id(btf, m[i].type); 45 @@ -354,6 +361,8 @@ std::string BTF::type_of(const btf_type *type, const std::string &field) 54 @@ -387,7 +396,7 @@ static bool btf_type_is_modifier(const struct btf_type *t) 56 const struct btf_type *BTF::btf_type_skip_modifiers(const struct btf_type *t) 65 const struct btf_type *t = btf__type_by_id(btf, id); 84 const struct btf_type *t = btf__type_by_id(btf, id); 103 const struct btf_type *t = btf__type_by_id(btf, id); [all …]
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | btf_dumper.c | 28 const struct btf_type *func_proto, 29 const struct btf_type *func, int pos, int size); 32 const struct btf_type *func_proto, in dump_prog_id_as_func_ptr() 36 const struct btf_type *func_type; in dump_prog_id_as_func_ptr() 98 const struct btf_type *t, in btf_dumper_ptr() 102 const struct btf_type *ptr_type; in btf_dumper_ptr() 138 const struct btf_type *t, in btf_dumper_enum() 178 const struct btf_type *elem_type; in is_str_array() 214 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_array() 359 static int btf_dumper_int(const struct btf_type *t, __u8 bit_offset, in btf_dumper_int() [all …]
|
| H A D | gen.c | 97 const struct btf_type *sec, in codegen_datasec_def() 122 const struct btf_type *var = btf__type_by_id(btf, sec_var->type); in codegen_datasec_def() 198 const struct btf_type *t = btf__type_by_id(btf, i); in codegen_datasecs()
|
| H A D | struct_ops.c | 19 static const struct btf_type *map_info_type; 44 const struct btf_type *t; in get_kern_struct_ops_name() 356 const struct btf_type *struct_ops_type; in __do_dump()
|
| H A D | btf.c | 79 static const char *btf_func_linkage_str(const struct btf_type *t) in btf_func_linkage_str() 101 const struct btf_type *t) in dump_btf_type() 345 const struct btf_type *t; in dump_btf_raw()
|
| /OK3568_Linux_fs/kernel/Documentation/bpf/ |
| H A D | btf.rst | 93 struct btf_type { 118 ``name_off`` in ``struct btf_type`` specifies the offset in the string table. 124 ``struct btf_type`` encoding requirement: 131 ``btf_type`` is followed by a ``u32`` with the following bits arrangement:: 149 The ``btf_type.size * 8`` must be equal to or greater than ``BTF_INT_BITS()`` 176 ``struct btf_type`` encoding requirement: 183 No additional type data follow ``btf_type``. 188 ``struct btf_type`` encoding requirement: 195 ``btf_type`` is followed by one ``struct btf_array``:: 233 ``struct btf_type`` encoding requirement: [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/preload/iterators/ |
| H A D | iterators.bpf.c | 27 struct btf_type { struct 37 struct btf_type **types; argument 62 struct btf_type **types, *t; in get_name()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 28 static const struct btf_type *tcp_sock_type; 98 const struct btf_type *t, int off, in bpf_tcp_ca_btf_struct_access() 186 static int bpf_tcp_ca_init_member(const struct btf_type *t, in bpf_tcp_ca_init_member() 225 static int bpf_tcp_ca_check_member(const struct btf_type *t, in bpf_tcp_ca_check_member()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | btf.h | 31 struct btf_type { struct
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | btf.h | 31 struct btf_type { struct
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | btf.h | 31 struct btf_type { struct
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btf.h | 31 struct btf_type { struct
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_endian.c | 22 const struct btf_type *t; in test_btf_endian()
|
| H A D | resolve_btfids.c | 68 const struct btf_type *type; in BTF_ID_LIST_GLOBAL()
|