Lines Matching defs:vst
61 struct vmm_stat_type *vst = arg;
64 if (vst->desc == NULL)
67 if (vst->scope == VMM_STAT_SCOPE_INTEL && !vmm_is_intel())
70 if (vst->scope == VMM_STAT_SCOPE_AMD && !vmm_is_svm())
73 if (vst_num_elems + vst->nelems >= MAX_VMM_STAT_ELEMS) {
74 printf("Cannot accommodate vmm stat type \"%s\"!\n", vst->desc);
78 vst->index = vst_num_elems;
79 vst_num_elems += vst->nelems;
81 vsttab[vst_num_types++] = vst;
87 struct vmm_stat_type *vst;
96 vst = vsttab[i];
97 if (vst->func != NULL)
98 (*vst->func)(vm, vcpu, vst);
133 struct vmm_stat_type *vst;
136 vst = vsttab[i];
137 if (index >= vst->index && index < vst->index + vst->nelems) {
138 if (vst->nelems > 1) {
140 vst->desc, index - vst->index);
142 strlcpy(buf, vst->desc, bufsize);