/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_btf.h | 75 #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)
|
D | btf_helpers.c | 204 t->type, btf_decl_tag(t)->component_idx); in fprintf_btf_type_raw()
|
D | test_loader.c | 406 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1) in parse_test_spec()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw.c | 755 u16 identifier, component_idx = 0; in mlx5_get_boot_img_component_index() local 760 err = mlx5_reg_mcqs_query(dev, out, component_idx); in mlx5_get_boot_img_component_index() 767 } while (!quit && ++component_idx); in mlx5_get_boot_img_component_index() 771 component_idx); in mlx5_get_boot_img_component_index() 775 return component_idx; in mlx5_get_boot_img_component_index()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | btf.h | 187 __s32 component_idx; member
|
/linux-6.12.1/include/uapi/linux/ |
D | btf.h | 187 __s32 component_idx; member
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 288 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.12.1/tools/lib/bpf/ |
D | libbpf_internal.h | 89 #define BTF_TYPE_DECL_TAG_ENC(value, type, component_idx) \ argument 90 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
|
D | btf.h | 242 int component_idx);
|
D | btf.c | 408 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest() 2857 int component_idx) in btf__add_decl_tag() argument 2862 if (!value || !value[0] || component_idx < -1) in btf__add_decl_tag() 2883 btf_decl_tag(t)->component_idx = component_idx; in btf__add_decl_tag()
|
D | libbpf.c | 6617 if (!btf_is_decl_tag(t) || btf_decl_tag(t)->component_idx != -1) in bpf_prog_assign_exc_cb() 6942 arg_idx = btf_decl_tag(t)->component_idx; in bpf_program_fixup_func_info()
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2_coresight.c | 2604 u32 component_idx = 0; in gaudi2_coresight_set_disabled_components() local 2618 u32 component_mask = 1 << component_idx; in gaudi2_coresight_set_disabled_components() 2620 if (component_idx >= unit_count) { in gaudi2_coresight_set_disabled_components() 2622 component_idx, unit_count); in gaudi2_coresight_set_disabled_components() 2641 &(binning_table[component_idx]); in gaudi2_coresight_set_disabled_components() 2664 component_idx++; in gaudi2_coresight_set_disabled_components()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | btf.c | 410 jsonw_int_field(w, "component_idx", tag->component_idx); in dump_btf_type() 412 printf(" type_id=%u component_idx=%d", t->type, tag->component_idx); in dump_btf_type() 484 if (btf_decl_tag(t)->component_idx != -1) in dump_btf_kfuncs()
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 489 __u32 component_idx; 494 For ``var`` or ``typedef`` type, ``btf_decl_tag.component_idx`` must be ``-1``. 497 ``btf_decl_tag.component_idx`` must be ``-1``. Otherwise, 499 a ``func`` argument, and ``btf_decl_tag.component_idx`` should be a
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 3389 if (btf_type_decl_tag(t)->component_idx != comp_idx) in btf_find_next_decl_tag() 4907 s32 component_idx; in btf_decl_tag_check_meta() local 4933 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_check_meta() 4934 if (component_idx < -1) { in btf_decl_tag_check_meta() 4951 s32 component_idx; in btf_decl_tag_resolve() local 4964 component_idx = btf_type_decl_tag(t)->component_idx; in btf_decl_tag_resolve() 4965 if (component_idx != -1) { in btf_decl_tag_resolve() 4979 if ((u32)component_idx >= vlen) { in btf_decl_tag_resolve() 4993 btf_type_decl_tag(t)->component_idx); in btf_decl_tag_log()
|