Home
last modified time | relevance | path

Searched refs:component_idx (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_btf.h75 #define BTF_DECL_TAG_ENC(value, type, component_idx) \ argument
76 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
A Dtest_loader.c76 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1) in parse_test_spec()
A Dbtf_helpers.c204 t->type, btf_decl_tag(t)->component_idx); in fprintf_btf_type_raw()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dfw.c762 u16 identifier, component_idx = 0; in mlx5_get_boot_img_component_index() local
767 err = mlx5_reg_mcqs_query(dev, out, component_idx); in mlx5_get_boot_img_component_index()
774 } while (!quit && ++component_idx); in mlx5_get_boot_img_component_index()
778 component_idx); in mlx5_get_boot_img_component_index()
782 return component_idx; in mlx5_get_boot_img_component_index()
/linux-6.3-rc2/include/uapi/linux/
A Dbtf.h187 __s32 component_idx; member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbtf.h187 __s32 component_idx; member
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf_internal.h73 #define BTF_TYPE_DECL_TAG_ENC(value, type, component_idx) \ argument
74 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
A Dbtf.h220 int component_idx);
A Dbtf.c405 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest()
2618 int component_idx) in btf__add_decl_tag() argument
2623 if (!value || !value[0] || component_idx < -1) in btf__add_decl_tag()
2644 btf_decl_tag(t)->component_idx = component_idx; in btf__add_decl_tag()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbtf_write.c288 ASSERT_EQ(btf_decl_tag(t)->component_idx, -1, "tag_component_idx"); in gen_btf()
298 ASSERT_EQ(btf_decl_tag(t)->component_idx, 1, "tag_component_idx"); in gen_btf()
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi2/
A Dgaudi2_coresight.c2586 u32 component_idx = 0; in gaudi2_coresight_set_disabled_components() local
2600 u32 component_mask = 1 << component_idx; in gaudi2_coresight_set_disabled_components()
2602 if (component_idx >= unit_count) { in gaudi2_coresight_set_disabled_components()
2604 component_idx, unit_count); in gaudi2_coresight_set_disabled_components()
2623 &(binning_table[component_idx]); in gaudi2_coresight_set_disabled_components()
2646 component_idx++; in gaudi2_coresight_set_disabled_components()
/linux-6.3-rc2/tools/bpf/bpftool/
A Dbtf.c400 jsonw_int_field(w, "component_idx", tag->component_idx); in dump_btf_type()
402 printf(" type_id=%u component_idx=%d", t->type, tag->component_idx); in dump_btf_type()
/linux-6.3-rc2/Documentation/bpf/
A Dbtf.rst492 __u32 component_idx;
497 For ``var`` or ``typedef`` type, ``btf_decl_tag.component_idx`` must be ``-1``.
500 ``btf_decl_tag.component_idx`` must be ``-1``. Otherwise,
502 a ``func`` argument, and ``btf_decl_tag.component_idx`` should be a
/linux-6.3-rc2/kernel/bpf/
A Dbtf.c3318 btf_type_decl_tag(t)->component_idx != comp_idx) in btf_find_decl_tag_value()
4725 s32 component_idx; in btf_decl_tag_check_meta() local
4751 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_check_meta()
4752 if (component_idx < -1) { in btf_decl_tag_check_meta()
4769 s32 component_idx; in btf_decl_tag_resolve() local
4782 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_resolve()
4783 if (component_idx != -1) { in btf_decl_tag_resolve()
4797 if ((u32)component_idx >= vlen) { in btf_decl_tag_resolve()
4811 btf_type_decl_tag(t)->component_idx); in btf_decl_tag_log()

Completed in 46 milliseconds