Lines Matching refs:btf_vlen
913 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset()
928 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name()
980 for (i = 0; i < btf_vlen(kern_vtype); i++, kern_data_member++) { in find_struct_ops_kern_types()
984 if (i == btf_vlen(kern_vtype)) { in find_struct_ops_kern_types()
1042 for (i = 0; i < btf_vlen(type); i++, member++) { in bpf_map__init_kern_struct_ops()
1181 for (i = 0; i < btf_vlen(datasec); i++, vsi++) { in bpf_object__init_struct_ops_maps()
1223 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs)); in bpf_object__init_struct_ops_maps()
1224 st_ops->kern_func_off = malloc(btf_vlen(type) * in bpf_object__init_struct_ops_maps()
2144 vlen = btf_vlen(def_t); in parse_btf_map_def()
2590 vlen = btf_vlen(sec); in bpf_object__init_user_btf_maps()
2686 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2698 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2720 t->info = btf_type_info(btf_kind(t), btf_vlen(t), false); in bpf_object__sanitize_btf()
2734 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2849 __u32 size = 0, off = 0, i, vars = btf_vlen(t); in btf_fixup_datasec()
3546 for (j = 0; j < btf_vlen(t); j++, vs++) { in find_extern_sec_btf_id()
3654 for (i = 0; i < btf_vlen(sec); i++, vs++) { in add_dummy_ksym_var()
3663 if (i == btf_vlen(sec)) in add_dummy_ksym_var()
3812 n = btf_vlen(sec); in bpf_object__collect_externs()
3836 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()
3868 n = btf_vlen(sec); in bpf_object__collect_externs()
6525 if (btf_vlen(def) == 0) in bpf_object__collect_map_relos()
6527 member = btf_members(def) + btf_vlen(def) - 1; in bpf_object__collect_map_relos()
6532 moff = btf_member_bit_offset(def, btf_vlen(def) - 1) / 8; in bpf_object__collect_map_relos()
11420 for (i = 0; i < btf_vlen(st_ops->type); i++) { in bpf_map__attach_struct_ops()
12282 len = btf_vlen(map_type); in bpf_object__open_subskeleton()