Lines Matching refs:info_arr
3929 struct btf_field_info info_arr[BTF_FIELDS_MAX]; in btf_parse_fields() local
3934 ret = btf_find_field(btf, t, field_mask, info_arr, ARRAY_SIZE(info_arr)); in btf_parse_fields()
3953 field_type_size = btf_field_type_size(info_arr[i].type); in btf_parse_fields()
3954 if (info_arr[i].off + field_type_size > value_size) { in btf_parse_fields()
3955 WARN_ONCE(1, "verifier bug off %d size %d", info_arr[i].off, value_size); in btf_parse_fields()
3959 if (info_arr[i].off < next_off) { in btf_parse_fields()
3963 next_off = info_arr[i].off + field_type_size; in btf_parse_fields()
3965 rec->field_mask |= info_arr[i].type; in btf_parse_fields()
3966 rec->fields[i].offset = info_arr[i].off; in btf_parse_fields()
3967 rec->fields[i].type = info_arr[i].type; in btf_parse_fields()
3970 switch (info_arr[i].type) { in btf_parse_fields()
3994 ret = btf_parse_kptr(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()
3999 ret = btf_parse_list_head(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()
4004 ret = btf_parse_rb_root(btf, &rec->fields[i], &info_arr[i]); in btf_parse_fields()