Searched refs:vst (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_stat.c | 59 if (vst->desc == NULL) in vmm_stat_register() 73 vst->index = vst_num_elems; in vmm_stat_register() 83 struct vmm_stat_type *vst; in vmm_stat_copy() local 105 vst = vsttab[i]; in vmm_stat_copy() 106 if (vst->func != NULL) in vmm_stat_copy() 107 (*vst->func)(vm, vcpu, vst); in vmm_stat_copy() 139 struct vmm_stat_type *vst; in vmm_stat_desc_copy() local 142 vst = vsttab[i]; in vmm_stat_desc_copy() 143 if (index >= vst->index && index < vst->index + vst->nelems) { in vmm_stat_desc_copy() 144 if (vst->nelems > 1) { in vmm_stat_desc_copy() [all …]
|
H A D | vmm_stat.h | 102 vmm_stat_array_incr(struct vm *vm, int vcpu, struct vmm_stat_type *vst, in vmm_stat_array_incr() argument 110 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_incr() 111 stats[vst->index + statidx] += x; in vmm_stat_array_incr() 116 vmm_stat_array_set(struct vm *vm, int vcpu, struct vmm_stat_type *vst, in vmm_stat_array_set() argument 124 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_set() 125 stats[vst->index + statidx] = val; in vmm_stat_array_set() 130 vmm_stat_incr(struct vm *vm, int vcpu, struct vmm_stat_type *vst, uint64_t x) in vmm_stat_incr() argument 134 vmm_stat_array_incr(vm, vcpu, vst, 0, x); in vmm_stat_incr() 139 vmm_stat_set(struct vm *vm, int vcpu, struct vmm_stat_type *vst, uint64_t val) in vmm_stat_set() argument 143 vmm_stat_array_set(vm, vcpu, vst, 0, val); in vmm_stat_set()
|