Searched refs:component_idx (Results 1 – 12 of 12) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
A D | test_btf.h | 72 #define BTF_DECL_TAG_ENC(value, type, component_idx) \ argument 73 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
|
A D | btf_helpers.c | 183 t->type, btf_decl_tag(t)->component_idx); in fprintf_btf_type_raw()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fw.c | 741 u16 identifier, component_idx = 0; in mlx5_get_boot_img_component_index() local 746 err = mlx5_reg_mcqs_query(dev, out, component_idx); in mlx5_get_boot_img_component_index() 753 } while (!quit && ++component_idx); in mlx5_get_boot_img_component_index() 757 component_idx); in mlx5_get_boot_img_component_index() 761 return component_idx; in mlx5_get_boot_img_component_index()
|
/linux/tools/include/uapi/linux/ |
A D | btf.h | 185 __s32 component_idx; member
|
/linux/include/uapi/linux/ |
A D | btf.h | 185 __s32 component_idx; member
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | btf_write.c | 287 ASSERT_EQ(btf_decl_tag(t)->component_idx, -1, "tag_component_idx"); in gen_btf() 297 ASSERT_EQ(btf_decl_tag(t)->component_idx, 1, "tag_component_idx"); in gen_btf()
|
/linux/tools/lib/bpf/ |
A D | libbpf_internal.h | 74 #define BTF_TYPE_DECL_TAG_ENC(value, type, component_idx) \ argument 75 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
|
A D | btf.h | 245 int component_idx);
|
A D | btf.c | 393 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest() 2503 int component_idx) in btf__add_decl_tag() argument 2508 if (!value || !value[0] || component_idx < -1) in btf__add_decl_tag() 2529 btf_decl_tag(t)->component_idx = component_idx; in btf__add_decl_tag()
|
/linux/tools/bpf/bpftool/ |
A D | btf.c | 352 jsonw_int_field(w, "component_idx", tag->component_idx); in dump_btf_type() 354 printf(" type_id=%u component_idx=%d", t->type, tag->component_idx); in dump_btf_type()
|
/linux/kernel/bpf/ |
A D | btf.c | 3829 s32 component_idx; in btf_decl_tag_check_meta() local 3855 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_check_meta() 3856 if (component_idx < -1) { in btf_decl_tag_check_meta() 3873 s32 component_idx; in btf_decl_tag_resolve() local 3886 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_resolve() 3887 if (component_idx != -1) { in btf_decl_tag_resolve() 3901 if ((u32)component_idx >= vlen) { in btf_decl_tag_resolve() 3915 btf_type_decl_tag(t)->component_idx); in btf_decl_tag_log()
|
/linux/Documentation/bpf/ |
A D | btf.rst | 482 __u32 component_idx; 487 For ``var`` or ``typedef`` type, ``btf_decl_tag.component_idx`` must be ``-1``. 490 ``btf_decl_tag.component_idx`` must be ``-1``. Otherwise, 492 a ``func`` argument, and ``btf_decl_tag.component_idx`` should be a
|
Completed in 56 milliseconds