Home
last modified time | relevance | path

Searched refs:btf_array (Results 1 – 25 of 64) sorted by relevance

123

/aosp_15_r20/external/libbpf/src/
H A Drelo_core.c73 const struct btf_array *arr) in is_flex_arr()
189 local_id = btf_array(local_type)->type; in __bpf_core_types_are_compat()
190 targ_id = btf_array(targ_type)->type; in __bpf_core_types_are_compat()
366 const struct btf_array *a = btf_array(t); in bpf_core_parse_spec()
457 local_id = btf_array(local_type)->type; in bpf_core_fields_are_compat()
458 targ_id = btf_array(targ_type)->type; in bpf_core_fields_are_compat()
642 const struct btf_array *a; in bpf_core_spec_match()
648 a = btf_array(targ_type); in bpf_core_spec_match()
1644 const struct btf_array *local_array = btf_array(local_t); in __bpf_core_types_match()
1645 const struct btf_array *targ_array = btf_array(targ_t); in __bpf_core_types_match()
H A Dbtf.c311 return base_size + sizeof(struct btf_array); in btf_type_size()
341 struct btf_array *a; in btf_bswap_type_rest()
375 a = btf_array(t); in btf_bswap_type_rest()
505 const struct btf_array *a = btf_array(t); in btf_validate_type()
765 const struct btf_array *array; in btf__resolve_size()
796 array = btf_array(t); in btf__resolve_size()
838 return btf__align_of(btf, btf_array(t)->type); in btf__align_of()
2074 struct btf_array *a; in btf__add_array()
2083 sz = sizeof(struct btf_type) + sizeof(struct btf_array); in btf__add_array()
2092 a = btf_array(t); in btf__add_array()
[all …]
H A Dbtf_dump.c342 const struct btf_array *a = btf_array(t); in btf_dump_mark_referenced()
513 return btf_dump_order_type(d, btf_array(t)->type, false); in btf_dump_order_type()
762 btf_dump_emit_type(d, btf_array(t)->type, cont_id); in btf_dump_emit_type()
1326 id = btf_array(t)->type; in btf_dump_emit_type_decl()
1499 const struct btf_array *a = btf_array(t); in btf_dump_emit_type_chain()
2029 const struct btf_array *array = btf_array(t); in btf_dump_array_data()
2345 const struct btf_array *array = btf_array(t); in btf_dump_type_data_check_zero()
H A Dbtf.h479 static inline struct btf_array *btf_array(const struct btf_type *t) in btf_array() function
481 return (struct btf_array *)(t + 1); in btf_array()
/aosp_15_r20/external/bpftool/src/
H A Dbtf_dumper.c211 static bool is_str_array(const struct btf *btf, const struct btf_array *arr, in is_str_array()
251 struct btf_array *arr = (struct btf_array *)(t + 1); in btf_dumper_array()
623 const struct btf_array *array; in __btf_dumper_type_only()
654 array = (struct btf_array *)(t + 1); in __btf_dumper_type_only()
H A Dgen.c1988 struct btf_array *array; in btfgen_mark_type()
2024 array = btf_array(btf_type); in btfgen_mark_type()
2062 struct btf_array *array; in btfgen_record_field_relo()
2097 array = btf_array(btf_type); in btfgen_record_field_relo()
2169 struct btf_array *array; in btfgen_mark_type_match()
2171 array = btf_array(btf_type); in btfgen_mark_type_match()
/aosp_15_r20/out/soong/.intermediates/external/libbpf/libbpf_headers/gen/bpf/
Dbtf.h479 static inline struct btf_array *btf_array(const struct btf_type *t) in btf_array() function
481 return (struct btf_array *)(t + 1); in btf_array()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); in gen_btf()
93 ASSERT_EQ(btf_array(t)->type, 2, "array_elem_type"); in gen_btf()
94 ASSERT_EQ(btf_array(t)->nelems, 10, "array_nelems"); in gen_btf()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/
H A Dbtf_helpers.c118 const struct btf_array *arr = btf_array(t); in fprintf_btf_type_raw()
/aosp_15_r20/prebuilts/vndk/v31/arm/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v33/x86/include/bionic/libc/kernel/uapi/linux/
Dbtf.h81 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h81 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v31/x86/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v33/arm/include/bionic/libc/kernel/uapi/linux/
Dbtf.h81 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v32/x86/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v32/arm/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h76 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/bionic/libc/kernel/uapi/linux/
Dbtf.h81 struct btf_array { struct
/aosp_15_r20/prebuilts/build-tools/sysroots/aarch64-unknown-linux-musl/include/linux/
H A Dbtf.h70 struct btf_array { struct
/aosp_15_r20/external/bpftool/include/uapi/linux/
H A Dbtf.h111 struct btf_array { struct
/aosp_15_r20/prebuilts/runtime/mainline/runtime/sdk/android/x86_64/include/bionic/libc/kernel/uapi/linux/
H A Dbtf.h70 struct btf_array { struct
/aosp_15_r20/prebuilts/vndk/v34/x86/include/bionic/libc/kernel/uapi/linux/
Dbtf.h82 struct btf_array { struct

123