Home
last modified time | relevance | path

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

/third_party/libbpf/src/
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()
1647 const struct btf_array *local_array = btf_array(local_t); in __bpf_core_types_match()
1648 const struct btf_array *targ_array = btf_array(targ_t); in __bpf_core_types_match()
Dbtf.c326 return base_size + sizeof(struct btf_array); in btf_type_size()
356 struct btf_array *a; in btf_bswap_type_rest()
390 a = btf_array(t); in btf_bswap_type_rest()
621 const struct btf_array *array; in btf__resolve_size()
652 array = btf_array(t); in btf__resolve_size()
694 return btf__align_of(btf, btf_array(t)->type); in btf__align_of()
2016 struct btf_array *a;
2025 sz = sizeof(struct btf_type) + sizeof(struct btf_array);
2034 a = btf_array(t);
3667 const struct btf_array *info = btf_array(t);
[all …]
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()
2329 const struct btf_array *array = btf_array(t); in btf_dump_type_data_check_zero()
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()
Dlinker.c1380 id1 = btf_array(t1)->type; in glob_sym_btf_matches()
1381 id2 = btf_array(t2)->type; in glob_sym_btf_matches()
Dlibbpf.c2223 const struct btf_array *arr_info;
2243 arr_info = btf_array(arr_t);
2432 if (!btf_is_array(t) || btf_array(t)->nelems) {
2437 t = skip_mods_and_typedefs(btf, btf_array(t)->type, NULL);
3967 if (btf_array(t)->nelems == 0)
3969 if (find_kcfg_type(btf, btf_array(t)->type, NULL) != KCFG_CHAR)
/third_party/libbpf/include/uapi/linux/
Dbtf.h111 struct btf_array { struct
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h37799 struct btf_array { struct