Lines Matching refs:btf_vlen
898 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_offset()
913 for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) { in find_member_by_name()
965 for (i = 0; i < btf_vlen(kern_vtype); i++, kern_data_member++) { in find_struct_ops_kern_types()
969 if (i == btf_vlen(kern_vtype)) { in find_struct_ops_kern_types()
1027 for (i = 0; i < btf_vlen(type); i++, member++) { in bpf_map__init_kern_struct_ops()
1167 for (i = 0; i < btf_vlen(datasec); i++, vsi++) { in init_struct_ops_maps()
1210 st_ops->progs = calloc(btf_vlen(type), sizeof(*st_ops->progs)); in init_struct_ops_maps()
1211 st_ops->kern_func_off = malloc(btf_vlen(type) * in init_struct_ops_maps()
1623 for (i = 0, n = btf_vlen(t); i < n; i++, vsi++) { in map_is_mmapable()
2208 vlen = btf_vlen(def_t); in parse_btf_map_def()
2654 vlen = btf_vlen(sec); in bpf_object__init_user_btf_maps()
2750 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2762 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2784 t->info = btf_type_info(btf_kind(t), btf_vlen(t), false); in bpf_object__sanitize_btf()
2798 vlen = btf_vlen(t); in bpf_object__sanitize_btf()
2914 __u32 size = 0, i, vars = btf_vlen(t); in btf_fixup_datasec()
3641 for (j = 0; j < btf_vlen(t); j++, vs++) { in find_extern_sec_btf_id()
3749 for (i = 0; i < btf_vlen(sec); i++, vs++) { in add_dummy_ksym_var()
3758 if (i == btf_vlen(sec)) in add_dummy_ksym_var()
3916 n = btf_vlen(sec); in bpf_object__collect_externs()
3940 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()
3972 n = btf_vlen(sec); in bpf_object__collect_externs()
6699 if (btf_vlen(def) == 0) in bpf_object__collect_map_relos()
6701 member = btf_members(def) + btf_vlen(def) - 1; in bpf_object__collect_map_relos()
6706 moff = btf_member_bit_offset(def, btf_vlen(def) - 1) / 8; in bpf_object__collect_map_relos()
7894 for (i = 0; i < btf_vlen(st_ops->type); i++) { in bpf_map_prepare_vdata()
9587 vlen = btf_vlen(datasec_type); in map_btf_datasec_resize()
13086 len = btf_vlen(map_type); in bpf_object__open_subskeleton()