Searched refs:component_idx (Results 1 – 10 of 10) sorted by relevance
| /tools/testing/selftests/bpf/ |
| A D | test_btf.h | 75 #define BTF_DECL_ATTR_ENC(value, type, component_idx) \ argument 76 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 1, 0), type), (component_idx) 78 #define BTF_DECL_TAG_ENC(value, type, component_idx) \ argument 79 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
|
| A D | btf_helpers.c | 204 t->type, btf_decl_tag(t)->component_idx); in fprintf_btf_type_raw()
|
| A D | test_loader.c | 441 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1) in parse_test_spec()
|
| /tools/include/uapi/linux/ |
| A D | btf.h | 188 __s32 component_idx; member
|
| /tools/lib/bpf/ |
| A D | btf.h | 246 int component_idx); 248 int component_idx);
|
| A D | libbpf_internal.h | 90 #define BTF_TYPE_DECL_TAG_ENC(value, type, component_idx) \ argument 91 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
|
| A D | btf.c | 413 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest() 2933 int component_idx, int kflag) in btf_add_decl_tag() argument 2938 if (!value || !value[0] || component_idx < -1) in btf_add_decl_tag() 2959 btf_decl_tag(t)->component_idx = component_idx; in btf_add_decl_tag() 2975 int component_idx) in btf__add_decl_tag() argument 2977 return btf_add_decl_tag(btf, value, ref_type_id, component_idx, 0); in btf__add_decl_tag() 2992 int component_idx) in btf__add_decl_attr() argument 2994 return btf_add_decl_tag(btf, value, ref_type_id, component_idx, 1); in btf__add_decl_attr()
|
| A D | libbpf.c | 6686 if (!btf_is_decl_tag(t) || btf_decl_tag(t)->component_idx != -1) in bpf_prog_assign_exc_cb() 7011 arg_idx = btf_decl_tag(t)->component_idx; in bpf_program_fixup_func_info()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A 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()
|
| /tools/bpf/bpftool/ |
| A D | btf.c | 417 jsonw_int_field(w, "component_idx", tag->component_idx); in dump_btf_type() 419 printf(" type_id=%u component_idx=%d", t->type, tag->component_idx); in dump_btf_type() 531 if (btf_decl_tag(t)->component_idx != -1) in dump_btf_kfuncs()
|
Completed in 47 milliseconds