Home
last modified time | relevance | path

Searched refs:btf_array (Results 1 - 7 of 7) sorted by relevance

/third_party/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_arra in __bpf_core_types_match()
[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 *arra in btf_dump_type_data_check_zero()
[all...]
H A Dbtf.c315 return base_size + sizeof(struct btf_array); in btf_type_size()
345 struct btf_array *a; in btf_bswap_type_rest()
379 a = btf_array(t); in btf_bswap_type_rest()
509 const struct btf_array *a = btf_array(t); in btf_validate_type()
769 const struct btf_array *array; in btf__resolve_size()
800 array = btf_array(t); in btf__resolve_size()
842 return btf__align_of(btf, btf_array(t)->type); in btf__align_of()
2165 struct btf_array *a;
2174 sz = sizeof(struct btf_type) + sizeof(struct btf_array);
[all...]
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()
H A Dlinker.c1392 id1 = btf_array(t1)->type; in glob_sym_btf_matches()
1393 id2 = btf_array(t2)->type; in glob_sym_btf_matches()
H A Dlibbpf.c2236 const struct btf_array *arr_info;
2256 arr_info = btf_array(arr_t);
2445 if (!btf_is_array(t) || btf_array(t)->nelems) {
2450 t = skip_mods_and_typedefs(btf, btf_array(t)->type, NULL);
4061 if (btf_array(t)->nelems == 0)
4063 if (find_kcfg_type(btf, btf_array(t)->type, NULL) != KCFG_CHAR)
10025 const struct btf_array *array;
10061 array = btf_array(array_type);
/third_party/libbpf/include/uapi/linux/
H A Dbtf.h110 /* BTF_KIND_ARRAY is followed by one "struct btf_array" */
111 struct btf_array { struct

Completed in 39 milliseconds