Home
last modified time | relevance | path

Searched refs:btf_vlen (Results 1 – 7 of 7) sorted by relevance

/third_party/libbpf/src/
Drelo_core.c83 return acc->idx == btf_vlen(t) - 1; in is_flex_arr()
195 __u16 local_vlen = btf_vlen(local_type); in __bpf_core_types_are_compat()
196 __u16 targ_vlen = btf_vlen(targ_type); in __bpf_core_types_are_compat()
316 if (!btf_is_any_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
346 if (access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
505 n = btf_vlen(targ_type); in bpf_core_match_member()
597 for (i = 0; i < btf_vlen(targ_type); i++) { in bpf_core_spec_match()
1443 __u16 local_vlen = btf_vlen(local_t); in bpf_core_enums_match()
1444 __u16 targ_vlen = btf_vlen(targ_t); in bpf_core_enums_match()
1484 __u16 local_vlen = btf_vlen(local_t); in bpf_core_composites_match()
[all …]
Dbtf_dump.c319 vlen = btf_vlen(t); in btf_dump_mark_referenced()
528 vlen = btf_vlen(t); in btf_dump_order_type()
594 vlen = btf_vlen(t); in btf_dump_order_type()
797 __u16 vlen = btf_vlen(t); in btf_dump_emit_type()
819 __u16 n = btf_vlen(t); in btf_dump_emit_type()
841 vlen = btf_vlen(t); in btf_is_struct_packed()
972 __u16 vlen = btf_vlen(t); in btf_dump_emit_struct_def()
1121 __u16 vlen = btf_vlen(t); in btf_dump_emit_enum_def()
1538 __u16 vlen = btf_vlen(t); in btf_dump_emit_type_chain()
1670 if (btf_is_fwd(t) || (btf_is_enum(t) && btf_vlen(t) == 0)) { in btf_dump_resolve_name()
[all …]
Dbtf.c306 __u16 vlen = btf_vlen(t); in btf_type_size()
359 __u16 vlen = btf_vlen(t); in btf_bswap_type_rest()
698 __u16 vlen = btf_vlen(t); in btf__align_of()
1661 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, btf_kflag(t));
2170 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, is_bitfield || btf_kflag(t));
2280 t->info = btf_type_info(btf_kind(t), btf_vlen(t), true);
3550 vlen = btf_vlen(t1);
3568 vlen = btf_vlen(t1);
3596 return btf_is_any_enum(t) && btf_vlen(t) == 0;
3621 __u32 vlen = btf_vlen(t);
[all …]
Dlinker.c1414 if (btf_vlen(t1) != btf_vlen(t2)) { in glob_sym_btf_matches()
1416 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1420 n = btf_vlen(t1); in glob_sym_btf_matches()
1445 if (btf_vlen(t1) != btf_vlen(t2)) { in glob_sym_btf_matches()
1447 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1451 n = btf_vlen(t1); in glob_sym_btf_matches()
1680 for (j = 0, m = btf_vlen(t); j < m; j++, vi++) { in find_glob_sym_btf()
1766 for (i = 0, n = btf_vlen(dst_t); i < n; i++, src_p++, dst_p++) { in complete_extern_btf_info()
2190 for (j = 0, m = btf_vlen(t); j < m; j++, vi++) { in linker_fixup_btf()
2348 n = btf_vlen(t); in linker_append_btf()
Dlibbpf.c969 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset()
984 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name()
1036 for (i = 0; i < btf_vlen(kern_vtype); i++, kern_data_member++) { in find_struct_ops_kern_types()
1040 if (i == btf_vlen(kern_vtype)) { in find_struct_ops_kern_types()
1098 for (i = 0; i < btf_vlen(type); i++, member++) { in bpf_map__init_kern_struct_ops()
1237 for (i = 0; i < btf_vlen(datasec); i++, vsi++) { in bpf_object__init_struct_ops_maps()
1279 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs)); in bpf_object__init_struct_ops_maps()
1280 st_ops->kern_func_off = malloc(btf_vlen(type) * in bpf_object__init_struct_ops_maps()
1697 for (i = 0, n = btf_vlen(t); i < n; i++, vsi++) {
2292 vlen = btf_vlen(def_t);
[all …]
Dbtf.h325 static inline __u16 btf_vlen(const struct btf_type *t) in btf_vlen() function
Dlibbpf_internal.h224 return (enum btf_func_linkage)(int)btf_vlen(t); in btf_func_linkage()