Lines Matching refs:info_arr
3931 struct btf_field_info info_arr[BTF_FIELDS_MAX]; in btf_parse_fields() local
3936 ret = btf_find_field(btf, t, field_mask, info_arr, ARRAY_SIZE(info_arr)); in btf_parse_fields()
3955 field_type_size = btf_field_type_size(info_arr[i].type); in btf_parse_fields()
3956 if (info_arr[i].off + field_type_size > value_size) { in btf_parse_fields()
3957 WARN_ONCE(1, "verifier bug off %d size %d", info_arr[i].off, value_size); in btf_parse_fields()
3961 if (info_arr[i].off < next_off) { in btf_parse_fields()
3965 next_off = info_arr[i].off + field_type_size; in btf_parse_fields()
3967 rec->field_mask |= info_arr[i].type; in btf_parse_fields()
3968 rec->fields[i].offset = info_arr[i].off; in btf_parse_fields()
3969 rec->fields[i].type = info_arr[i].type; in btf_parse_fields()
3972 switch (info_arr[i].type) { in btf_parse_fields()
3997 ret = btf_parse_kptr(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()
4002 ret = btf_parse_list_head(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()
4007 ret = btf_parse_rb_root(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()