Lines Matching refs:vst
59 struct vmm_stat_type *vst = arg;
62 if (vst->desc == NULL)
65 if (vst->scope == VMM_STAT_SCOPE_INTEL && !vmm_is_intel())
68 if (vst->scope == VMM_STAT_SCOPE_AMD && !vmm_is_amd())
71 if (vst_num_elems + vst->nelems >= MAX_VMM_STAT_ELEMS) {
72 printf("Cannot accomodate vmm stat type \"%s\"!\n", vst->desc);
76 vst->index = vst_num_elems;
77 vst_num_elems += vst->nelems;
79 vsttab[vst_num_types++] = vst;
85 struct vmm_stat_type *vst;
94 vst = vsttab[i];
95 if (vst->func != NULL)
96 (*vst->func)(vm, vcpu, vst);
131 struct vmm_stat_type *vst;
134 vst = vsttab[i];
135 if (index >= vst->index && index < vst->index + vst->nelems) {
136 if (vst->nelems > 1) {
138 vst->desc, index - vst->index);
140 strlcpy(buf, vst->desc, bufsize);