Home
last modified time | relevance | path

Searched refs:BTF_KIND_ARRAY (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/
Dbtf_helpers.c13 [BTF_KIND_ARRAY] = "ARRAY",
117 case BTF_KIND_ARRAY: { in fprintf_btf_type_raw()
Dtest_btf.h27 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ARRAY, 0, 0), 0), \
/Linux-v6.6/tools/include/uapi/linux/
Dbtf.h63 BTF_KIND_ARRAY = 3, /* Array */ enumerator
/Linux-v6.6/include/uapi/linux/
Dbtf.h63 BTF_KIND_ARRAY = 3, /* Array */ enumerator
/Linux-v6.6/include/linux/
Dbtf.h311 return btf_kind(t) == BTF_KIND_ARRAY; in btf_is_array()
381 return BTF_INFO_KIND(t->info) == BTF_KIND_ARRAY; in btf_type_is_array()
/Linux-v6.6/tools/lib/bpf/
Dbtf_dump.c341 case BTF_KIND_ARRAY: { in btf_dump_mark_referenced()
512 case BTF_KIND_ARRAY: in btf_dump_order_type()
761 case BTF_KIND_ARRAY: in btf_dump_emit_type()
1325 case BTF_KIND_ARRAY: in btf_dump_emit_type_decl()
1498 case BTF_KIND_ARRAY: { in btf_dump_emit_type_chain()
2344 case BTF_KIND_ARRAY: { in btf_dump_type_data_check_zero()
2468 case BTF_KIND_ARRAY: in btf_dump_dump_type_data()
Dbtf.c310 case BTF_KIND_ARRAY: in btf_type_size()
374 case BTF_KIND_ARRAY: in btf_bswap_type_rest()
636 case BTF_KIND_ARRAY: in btf__resolve_size()
678 case BTF_KIND_ARRAY: in btf__align_of()
1918 t->info = btf_type_info(BTF_KIND_ARRAY, 0, 0); in btf__add_array()
3719 case BTF_KIND_ARRAY: in btf_dedup_prep()
3758 case BTF_KIND_ARRAY: in btf_dedup_prim_type()
4116 case BTF_KIND_ARRAY: { in btf_dedup_is_equiv()
4441 case BTF_KIND_ARRAY: { in btf_dedup_ref_type()
4840 case BTF_KIND_ARRAY: { in btf_type_visit_type_ids()
Drelo_core.c188 case BTF_KIND_ARRAY: in __bpf_core_types_are_compat()
456 case BTF_KIND_ARRAY: in bpf_core_fields_are_compat()
1643 case BTF_KIND_ARRAY: { in __bpf_core_types_match()
Dbtf.h352 return btf_kind(t) == BTF_KIND_ARRAY; in btf_is_array()
Dlinker.c1390 case BTF_KIND_ARRAY: in glob_sym_btf_matches()
Dlibbpf.c2100 case BTF_KIND_ARRAY: return "array"; in __btf_kind_str()
3684 case BTF_KIND_ARRAY: in find_kcfg_type()
/Linux-v6.6/tools/bpf/bpftool/
Dbtf_dumper.c567 case BTF_KIND_ARRAY: in btf_dumper_do_type()
653 case BTF_KIND_ARRAY: in __btf_dumper_type_only()
Dbtf.c27 [BTF_KIND_ARRAY] = "ARRAY",
148 case BTF_KIND_ARRAY: { in dump_btf_type()
Dgen.c1765 case BTF_KIND_ARRAY: in btfgen_mark_type()
1838 case BTF_KIND_ARRAY: in btfgen_record_field_relo()
1910 case BTF_KIND_ARRAY: { in btfgen_mark_type_match()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c91 ASSERT_EQ(btf_kind(t), BTF_KIND_ARRAY, "array_kind"); in gen_btf()
Dbtf.c1889 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ARRAY, 0, 0), 1),
2140 BTF_INFO_ENC(BTF_KIND_ARRAY, 0, 0), 0), /* [2] */
2910 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_ARRAY, 1, 0), 0), /* [2] */
7976 case BTF_KIND_ARRAY: in btf_type_size()
/Linux-v6.6/Documentation/bpf/
Dbtf.rst74 #define BTF_KIND_ARRAY 3 /* Array */
189 2.2.3 BTF_KIND_ARRAY
195 * ``info.kind``: BTF_KIND_ARRAY
/Linux-v6.6/kernel/bpf/
Dbtf.c317 [BTF_KIND_ARRAY] = "ARRAY",
1003 case BTF_KIND_ARRAY: in btf_show_name()
1004 kinds |= BTF_KIND_BIT(BTF_KIND_ARRAY); in btf_show_name()
1040 if (!(kinds & (BTF_KIND_BIT(BTF_KIND_ARRAY)))) in btf_show_name()
1909 case BTF_KIND_ARRAY: in __btf_resolve_size()
4926 [BTF_KIND_ARRAY] = &array_ops,
/Linux-v6.6/kernel/trace/
Dtrace_probe.c338 if (BTF_INFO_KIND(type->info) != BTF_KIND_ARRAY) in btf_type_is_char_array()