| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-btf.rst | 82 [1] PTR '(anon)' type_id=2 84 'pad' type_id=3 bits_offset=0 85 'sock' type_id=4 bits_offset=64 87 [4] PTR '(anon)' type_id=5 137 [1] PTR '(anon)' type_id=2 139 'a' type_id=3 bits_offset=0 140 'b' type_id=4 bits_offset=0 143 'const_int_field' type_id=5 bits_offset=0 144 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4 145 'arr_field' type_id=8 bits_offset=40 [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | resolve_btfids.c | 66 __resolve_symbol(struct btf *btf, int type_id) in BTF_ID_LIST_GLOBAL() 72 type = btf__type_by_id(btf, type_id); in BTF_ID_LIST_GLOBAL() 74 PRINT_FAIL("Failed to get type for ID %d\n", type_id); in BTF_ID_LIST_GLOBAL() 87 PRINT_FAIL("Failed to get name for BTF ID %d\n", type_id); in BTF_ID_LIST_GLOBAL() 92 test_symbols[i].id = type_id; in BTF_ID_LIST_GLOBAL() 101 int type_id; in resolve_symbols() local 111 for (type_id = 1; type_id <= nr; type_id++) { in resolve_symbols() 112 if (__resolve_symbol(btf, type_id)) in resolve_symbols()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/pwc/ |
| H A D | pwc-if.c | 778 int vendor_id, product_id, type_id; in usb_pwc_probe() local 805 type_id = 645; in usb_pwc_probe() 810 type_id = 646; in usb_pwc_probe() 815 type_id = 646; in usb_pwc_probe() 820 type_id = 675; in usb_pwc_probe() 825 type_id = 680; in usb_pwc_probe() 830 type_id = 690; in usb_pwc_probe() 835 type_id = 730; in usb_pwc_probe() 840 type_id = 740; in usb_pwc_probe() 845 type_id = 750; in usb_pwc_probe() [all …]
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | btf_dumper.c | 24 static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id, 71 func_type = btf__type_by_id(prog_btf, finfo->type_id); in dump_prog_id_as_func_ptr() 125 static int btf_dumper_modifier(const struct btf_dumper *d, __u32 type_id, in btf_dumper_modifier() argument 130 actual_type_id = btf__resolve_type(d->btf, type_id); in btf_dumper_modifier() 211 static int btf_dumper_array(const struct btf_dumper *d, __u32 type_id, in btf_dumper_array() argument 214 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_array() 429 static int btf_dumper_struct(const struct btf_dumper *d, __u32 type_id, in btf_dumper_struct() argument 439 t = btf__type_by_id(d->btf, type_id); in btf_dumper_struct() 477 static int btf_dumper_var(const struct btf_dumper *d, __u32 type_id, in btf_dumper_var() argument 480 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_var() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 182 int type_id[sizeof(pidff_effect_types)]; member 556 int type_id; in pidff_upload_effect() local 569 pidff->type_id[PID_CONSTANT]); in pidff_upload_effect() 588 type_id = PID_SQUARE; in pidff_upload_effect() 591 type_id = PID_TRIANGLE; in pidff_upload_effect() 594 type_id = PID_SINE; in pidff_upload_effect() 597 type_id = PID_SAW_UP; in pidff_upload_effect() 600 type_id = PID_SAW_DOWN; in pidff_upload_effect() 608 pidff->type_id[type_id]); in pidff_upload_effect() 626 pidff->type_id[PID_RAMP]); in pidff_upload_effect() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | btf.c | 177 #define BTF_TYPE_ID_VALID(type_id) ((type_id) <= BTF_MAX_TYPE) argument 222 u32 type_id; member 353 u32 type_id; member 384 u32 type_id, void *data, u8 bits_offsets, 392 const struct btf_type *t, u32 type_id); 670 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id() argument 672 if (type_id > btf->nr_types) in btf_type_by_id() 675 return btf->types[type_id]; in btf_type_by_id() 779 u32 id = show->state.type_id; in btf_show_name() 1129 u32 type_id, void *data) in btf_show_start_type() argument [all …]
|
| H A D | bpf_struct_ops.c | 102 s32 type_id, value_id, module_id; in bpf_struct_ops_init() local 141 type_id = btf_find_by_name_kind(btf, st_ops->name, in bpf_struct_ops_init() 143 if (type_id < 0) { in bpf_struct_ops_init() 148 t = btf_type_by_id(btf, type_id); in bpf_struct_ops_init() 189 st_ops->type_id = type_id; in bpf_struct_ops_init() 217 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find() argument 221 if (!type_id || !btf_vmlinux) in bpf_struct_ops_find() 225 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find() 427 prog->aux->attach_btf_id != st_ops->type_id || in bpf_struct_ops_map_update_elem()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | btf.c | 413 static struct btf_type *btf_type_by_id(struct btf *btf, __u32 type_id) in btf_type_by_id() argument 415 if (type_id == 0) in btf_type_by_id() 418 return btf->types_data + btf->type_offs[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() argument 423 if (type_id > btf->nr_types) in btf__type_by_id() 425 return btf_type_by_id((struct btf *)btf, type_id); in btf__type_by_id() 536 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size() argument 544 t = btf__type_by_id(btf, type_id); in btf__resolve_size() 563 type_id = t->type; in btf__resolve_size() 570 type_id = array->type; in btf__resolve_size() [all …]
|
| H A D | btf.h | 52 LIBBPF_API __s64 btf__resolve_size(const struct btf *btf, __u32 type_id); 53 LIBBPF_API int btf__resolve_type(const struct btf *btf, __u32 type_id); 118 LIBBPF_API int btf__add_func_param(struct btf *btf, const char *name, int type_id); 121 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
|
| H A D | libbpf.c | 309 __u32 type_id; member 398 __u32 type_id; member 723 const struct btf_type **type, __u32 *type_id, in find_struct_ops_kern_types() argument 772 *type_id = kern_type_id; in find_struct_ops_kern_types() 809 map->name, st_ops->type_id, kern_type_id, kern_vtype_id); in bpf_map__init_kern_struct_ops() 943 __s32 type_id, datasec_id; in bpf_object__init_struct_ops_maps() local 966 type_id = btf__resolve_type(obj->btf, vsi->type); in bpf_object__init_struct_ops_maps() 967 if (type_id < 0) { in bpf_object__init_struct_ops_maps() 973 type = btf__type_by_id(obj->btf, type_id); in bpf_object__init_struct_ops_maps() 1021 st_ops->type_id = type_id; in bpf_object__init_struct_ops_maps() [all …]
|
| H A D | libbpf_internal.h | 239 __u32 type_id; member 316 __u32 type_id; member
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 33 s32 type_id; in bpf_tcp_ca_init() local 35 type_id = btf_find_by_name_kind(btf, "sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init() 36 if (type_id < 0) in bpf_tcp_ca_init() 38 sock_id = type_id; in bpf_tcp_ca_init() 40 type_id = btf_find_by_name_kind(btf, "tcp_sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init() 41 if (type_id < 0) in bpf_tcp_ca_init() 43 tcp_sock_id = type_id; in bpf_tcp_ca_init()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/function/ |
| H A D | function_base.hpp | 198 if (*out_buffer.members.type.type == boost::typeindex::type_id<F>() in manage() 210 out_buffer.members.type.type = &boost::typeindex::type_id<F>().type_info(); in manage() 270 if (*out_buffer.members.type.type == boost::typeindex::type_id<Functor>()) in manage_ptr() 275 out_buffer.members.type.type = &boost::typeindex::type_id<Functor>().type_info(); in manage_ptr() 302 if (*out_buffer.members.type.type == boost::typeindex::type_id<Functor>()) in manage_small() 307 out_buffer.members.type.type = &boost::typeindex::type_id<Functor>().type_info(); in manage_small() 361 if (*out_buffer.members.type.type == boost::typeindex::type_id<Functor>()) in manager() 366 out_buffer.members.type.type = &boost::typeindex::type_id<Functor>().type_info(); in manager() 401 out_buffer.members.type.type = &boost::typeindex::type_id<functor_type>().type_info(); in manage() 470 if (*out_buffer.members.type.type == boost::typeindex::type_id<Functor>()) in manager() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | btf.h | 49 u32 *type_id, 69 void btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj, 71 int btf_type_seq_show_flags(const struct btf *btf, u32 type_id, void *obj, 87 int btf_type_snprintf_show(const struct btf *btf, u32 type_id, void *obj, 209 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id); 215 u32 type_id) in btf_type_by_id() argument
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/rc/ |
| H A D | rc_data_impl.cpp | 198 RK_S32 type_id = frm_status.is_intra ? RC_FRM_TYPE_I : RC_FRM_TYPE_P; in rc_data_group_put_node() local 207 list_add_tail(&head->type, &indexes->type[type_id]); in rc_data_group_put_node() 208 indexes->type_cnt[type_id]++; in rc_data_group_put_node() 212 list_add_tail(&head->tid, &indexes->tid[type_id]); in rc_data_group_put_node() 213 indexes->tid_cnt[type_id]++; in rc_data_group_put_node() 244 RK_S32 type_id = frm_status.is_intra ? RC_FRM_TYPE_I : RC_FRM_TYPE_P; in rc_data_group_put_node() local 247 indexes->type_cnt[type_id]--; in rc_data_group_put_node()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx88/ |
| H A D | cx88-mpeg.c | 507 if (d->type_id == btype) in cx8802_get_driver() 522 core->active_type_id != drv->type_id) in cx8802_request_acquire() 525 if (drv->type_id == CX88_MPEG_DVB) { in cx8802_request_acquire() 543 core->active_type_id = drv->type_id; in cx8802_request_acquire() 559 if (drv->type_id == CX88_MPEG_DVB) { in cx8802_request_release() 580 if ((drv->type_id != CX88_MPEG_DVB) && in cx8802_check_driver() 581 (drv->type_id != CX88_MPEG_BLACKBIRD)) in cx8802_check_driver() 604 drv->type_id == CX88_MPEG_DVB ? "dvb" : "blackbird", in cx8802_register_driver() 662 drv->type_id == CX88_MPEG_DVB ? "dvb" : "blackbird", in cx8802_unregister_driver() 678 if (d->type_id != drv->type_id) in cx8802_unregister_driver()
|
| /OK3568_Linux_fs/kernel/tools/bpf/resolve_btfids/ |
| H A D | main.c | 478 int err, type_id; in symbols_resolve() local 496 for (type_id = 1; type_id <= nr; type_id++) { in symbols_resolve() 503 type = btf__type_by_id(btf, type_id); in symbols_resolve() 506 type_id); in symbols_resolve() 528 type_id); in symbols_resolve() 534 id->id = type_id; in symbols_resolve()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/ |
| H A D | type_index.hpp | 211 inline type_index type_id() BOOST_NOEXCEPT { in type_id() function 212 return type_index::type_id<T>(); in type_id()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | netif_receive_skb.c | 67 _ptr.type_id = bpf_core_type_id_kernel(_type); \ 68 if (_ptr.type_id <= 0) { \ 112 p.type_id = bpf_core_type_id_kernel(struct sk_buff); in BPF_PROG()
|
| H A D | btf_ptr.h | 18 __u32 type_id; member
|
| H A D | bpf_iter_task_btf.c | 25 ptr.type_id = bpf_core_type_id_kernel(struct task_struct); in dump_task_struct()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/type_index/ |
| H A D | ctti_type_index.hpp | 135 BOOST_CXX14_CONSTEXPR inline static ctti_type_index type_id() BOOST_NOEXCEPT; 164 BOOST_CXX14_CONSTEXPR inline ctti_type_index ctti_type_index::type_id() BOOST_NOEXCEPT { in type_id() function in boost::typeindex::ctti_type_index
|
| H A D | stl_type_index.hpp | 107 inline static stl_type_index type_id() BOOST_NOEXCEPT; 230 inline stl_type_index stl_type_index::type_id() BOOST_NOEXCEPT { in type_id() function in boost::typeindex::stl_type_index
|
| /OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc/ |
| H A D | 0001-Vendor-just-enough-extra-headers-to-allow-libbpf-to-.patch | 73 + * - type_id - BTF type ID of the "root" (containing) entity of a relocatable 100 + * type_id for all relocs in this example will capture BTF type id of 116 + __u32 type_id;
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | bearer.c | 95 if (media_info_array[i]->type_id == type) in media_find_id() 449 b->bcast_addr.media_id = b->media->type_id; in tipc_enable_l2_media() 820 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer() 827 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer() 1119 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_bearer_set() 1179 if (media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_media() 1314 if (m->type_id != TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_media_set()
|