Lines Matching refs:voi
91 struct voi { struct
119 struct voi vois[]; /* Array indexed by [voi_id]. */
152 typedef int (*stats_v1_blob_itercb_t)(struct statsblobv1 *sb, struct voi *v,
209 _Static_assert(sizeof(struct voi) == 8, "statsblobv1 voi ABI mismatch");
1226 struct voi *voi; local
1269 sizeof(struct voi);
1319 voi = &tpl_sb->vois[voi_id];
1321 if (voi->id < 0) {
1323 voi->id = voi_id;
1324 voi->dtype = voi_dtype;
1325 voi->stats_off = tpl_sb->stats_off;
1327 voi->flags |= VOI_REQSTATE;
1343 voi->voistatmaxid = newvoistatmaxid;
1346 if (voi->flags & VOI_REQSTATE) {
1348 tmpstat = BLOB_OFFSET(tpl_sb, voi->stats_off);
1358 tmpstat = BLOB_OFFSET(tpl_sb, voi->stats_off +
1423 struct voi *v;
1487 struct voi *tmpvoi;
1491 KASSERT(newvoibytes % sizeof(struct voi) == 0,
1496 error = ((newvoibytes % sizeof(struct voi) == 0) &&
1587 struct voi *v;
2036 stats_v1_itercb_tostr_freeform(struct statsblobv1 *sb, struct voi *v,
2097 stats_v1_itercb_tostr_json(struct statsblobv1 *sb, struct voi *v, struct voistat *vs,
2207 stats_v1_itercb_tostr(struct statsblobv1 *sb, struct voi *v, struct voistat *vs,
2259 stats_v1_itercb_visit(struct statsblobv1 *sb, struct voi *v,
2300 stats_v1_icb_reset_voistat(struct statsblobv1 *sb, struct voi *v __unused,
3526 struct voi *v;